MyShortlist Pagination
- Ivan
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
3 years 8 months ago #1
by Ivan
MyShortlist Pagination was created by Ivan
Здравствуйте! Подскажите, пожалуйста, как сделать нормальную пагинацию в Вашем компоненте? При добавлении большого количества материалов в избранное, это становится проблемой, без нормальной пагинации.
Please Log in or Create an account to join the conversation.
- Christopher Mavros
- Offline
- Administrator
3 years 8 months ago #2
by Christopher Mavros
Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!
Replied by Christopher Mavros on topic MyShortlist Pagination
Hello Ivan and thank you for posting on our forum!
You can find the option to create pagination in the module options, in the View Options tab.
The "Favorite Items Per Page" option is zero (0) by default. You can set it to 5 or 10, and you will have only 5 or 10 items in each page.
Thanks again!
You can find the option to create pagination in the module options, in the View Options tab.
The "Favorite Items Per Page" option is zero (0) by default. You can set it to 5 or 10, and you will have only 5 or 10 items in each page.
Thanks again!
Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!
Please Log in or Create an account to join the conversation.
- Ivan
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
3 years 8 months ago - 3 years 8 months ago #3
by Ivan
Replied by Ivan on topic MyShortlist Pagination
Спасибо. Но это не пагинация, а имитация пагинации. Если пользователь, например, добавляет более 500 материалов в избранное, то при загрузке такой страницы возникают проблемы не только с нагрузкой на сервер, но и сам браузер начинает виснуть от такого массива информации. Нужно разбить страницу с избранными материалами нормальной пагинацией (такой как реализована стандартная пагинация в Joomla), которая будит выводить, например, по 20 материалов на страницу. Можно ли такое реализовать быстрыми правками в коде?
Last edit: 3 years 8 months ago by Ivan.
Please Log in or Create an account to join the conversation.
- Christopher Mavros
- Offline
- Administrator
3 years 8 months ago #4
by Christopher Mavros
Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!
Replied by Christopher Mavros on topic MyShortlist Pagination
I must admit that I haven't tried MyShortlist with that many items in a single list. Usually the favorites of a person wouldn't go beyond 50 or 100, because then the list itself wouldn't too much of a "shortlist" isn't that right?
However, I am very interested to see what have you done and why you need so many items.
Can you please send me an email at mavrosxristoforos@gmail.com with the URL of your site, so that I can see the problem?
Then I'll let you know what we can do.
However, I am very interested to see what have you done and why you need so many items.
Can you please send me an email at mavrosxristoforos@gmail.com with the URL of your site, so that I can see the problem?
Then I'll let you know what we can do.
Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!
Please Log in or Create an account to join the conversation.
- Ivan
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
3 years 8 months ago #5
by Ivan
Replied by Ivan on topic MyShortlist Pagination
У меня кулинарный сайт с рецептами. Пользователи добавляют понравившиеся рецепты в избранное. Списки избранного получаются большими. Ваш компонент прекрасно подходит для этой задачи. Но мне нужна нормальная пагинация. Например - site.com/favorites/1, site.com/favorites/2, site.com/favorites/3... Можно ли сделать такую пагинацию? Спасибо!
Please Log in or Create an account to join the conversation.
- Christopher Mavros
- Offline
- Administrator
3 years 8 months ago #6
by Christopher Mavros
Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!
Replied by Christopher Mavros on topic MyShortlist Pagination
At the moment, we have no option to limit the list loading, so that users can easily access all of their favorites without re-loading the page.
Moreover, MyShortlist allows the creation of multiple lists, so that's why we haven't heard of a user having more than ~100 favorites before.
If you want, we could possibly implement this feature as a customization for you. For more details, please contact me at mavrosxristoforos@gmail.com.
Thanks again.
P.S.: If you have the technical know-how, you can also try to implement it yourself by creating a template override of the files
modules/mod_myshortlist/tmpl/default_list.php and modules/mod_myshortlist/tmpl/default_pagination.php
Moreover, MyShortlist allows the creation of multiple lists, so that's why we haven't heard of a user having more than ~100 favorites before.
If you want, we could possibly implement this feature as a customization for you. For more details, please contact me at mavrosxristoforos@gmail.com.
Thanks again.
P.S.: If you have the technical know-how, you can also try to implement it yourself by creating a template override of the files
modules/mod_myshortlist/tmpl/default_list.php and modules/mod_myshortlist/tmpl/default_pagination.php
Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!
Please Log in or Create an account to join the conversation.
Moderators: Christopher Mavros
- Home
- Support
- Forums
- Extension Forums
- General Mavrosxristoforos.com Forum
- MyShortlist Pagination