- Posts: 2
COMMUNITY FORUM
number of items to dislpay to mobile devices
- kostas
- Topic Author
- Offline
- New Member
Less
More
10 years 6 months ago #126028
by kostas
number of items to dislpay to mobile devices was created by kostas
Hello,
Just wondering if there is a way to limit the number of k2 items to be displayed in category view for mobile devices so that the website will be lighter and run faster in this devices.
For example if a website has 60 k2 articles in its homepage, how can i limit the number of items to 20 when someone visit this website from his mobile phone.
Sorry for my English and thnks in advance.
Just wondering if there is a way to limit the number of k2 items to be displayed in category view for mobile devices so that the website will be lighter and run faster in this devices.
For example if a website has 60 k2 articles in its homepage, how can i limit the number of items to 20 when someone visit this website from his mobile phone.
Sorry for my English and thnks in advance.
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
10 years 6 months ago #126029
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Re: number of items to dislpay to mobile devices
Hi. The answer is that you can't. This is currently the problem of most CMSs regarding mobile content. A solution would be to load the page via ajax so the request would be different depending on client. This probably can also be done using PHP and a system plugin but this would require to turn of caching , which is not a good thing.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- kostas
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
10 years 6 months ago #126030
by kostas
Replied by kostas on topic Re: number of items to dislpay to mobile devices
Thnks for the reply Lefteris. I appreciate the informations you provide as i was strungling with this problem for a while now. I decided to create a subdomain for mobile users with less items in paganation and use htaccess to detect mobile users and redirect them to that subdomain.
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
10 years 6 months ago #126031
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Re: number of items to dislpay to mobile devices
Yes this is a solution. But is not good from SEO perspective. Google will detect duplicate URLs for the same content.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.