8 years ago
1
Topic

Hi,

I have a list and search that outputs 500+ articles. I'm using the 'load more' button to break this into groups of 12 at a time.

My first question is this - when an article is clicked, it goes to the article content page. When I click back, the position in the list is lost and only the first few articles are listed again.

Is there a way to remember the view from the last page?

To try and overcome this I have installed Regular labs 'modals' plugin to generate a popup when an article is clicked. This allows me to close the modal box and return to the list.

However, when I click the 'load more' button, seblod lists the next lot of articles beneath but the code within the html typography is rendered as text and not processed by the plugin. I'm seeing {modal /index.php/my-site/my-article-12345} my text link {/modal} , instead of it actually being processed by the plugin.

Is there something else that needs to be called when the load more button is clicked?

thanks

Get a VIP membership
4229 Posts
Kadministrator
8 years ago
0
Level 1

To be able to go back to previous page you will need to implement joomla pagination (not load more using ajax), loadmore loads articles on the same page so there is nothing to go back to.

For the codes you are seeing, try turning on Prepare Content in the search type Configuration tab.

Get a VIP membership