0

I'm using the blogPosts component from the Rainlab Blog plugin to provide a list of posts on the front page of a website.

We need to be able to switch category on the fly.

When the filter category is entered statically the filter works fine. The question is how to set this dynamically, ideally without a page refresh

Thanks for any tips

Cloudworks
  • 129
  • 7
  • what you mean by page refresh ? you want to add category values in your dropdown dynamically ? If yes then check this out http://stackoverflow.com/questions/41392323/octobercms-call-another-plugins-data-in-current-plugins-dropdown – Mittul At TechnoBrave May 02 '17 at 12:39
  • Thanks Mittul! Here's what we want to happen. * There a blog post list on the front page of the site * The blog post list component allows setting of a filter category * We want to set the filter category of the **blogPosts** component by clicking on a button * It would be best if that didn't involve a page refresh Any tips very welcome. Thanks for your comment – Cloudworks May 02 '17 at 21:40
  • You can use javascript or jquery for that in plugin. – Mittul At TechnoBrave May 03 '17 at 04:49
  • Cool thanks for the tip. Will try that – Cloudworks May 03 '17 at 05:19

0 Answers0