Link to a page with a pagelist and topic filter system, pre filtered!
Permalink
Hi,
I wondered if it was possible to link to a page where you have a topic filter system and a page list, like here:http://grafomantestsite3.be/nieuws...
What if i want to link for example: 'look at the articles about 'vastgoedrecht'. So now the link goes tohttp://grafomantestsite3.be/nieuws... BUT with the topic filter active on 'vastgoedrecht' instead of 'alles'.
I know you can go to 'http://grafomantestsite3.be/nieuws/topic/9/vastgoedrecht' but that only loads the articles about 'vastgoedrecht'.. So no other articles are viewable on this page.
Sorry for the complicated explanation...
Any Help?
Grafoman
I wondered if it was possible to link to a page where you have a topic filter system and a page list, like here:http://grafomantestsite3.be/nieuws...
What if i want to link for example: 'look at the articles about 'vastgoedrecht'. So now the link goes tohttp://grafomantestsite3.be/nieuws... BUT with the topic filter active on 'vastgoedrecht' instead of 'alles'.
I know you can go to 'http://grafomantestsite3.be/nieuws/topic/9/vastgoedrecht' but that only loads the articles about 'vastgoedrecht'.. So no other articles are viewable on this page.
Sorry for the complicated explanation...
Any Help?
Grafoman
I think you would have to override the topic_list controller to add this functionality. Or maybe add some javascript to the view.
Any idea how to get started?
I believe you could add something like this to your view.php (or custom template)
And then set your links on the other page as
<script type="text/javascript"> $(document).ready(function(){ if(window.location.hash) { var hash = window.location.hash; $('a[data-group="'+hash+'"]').click(); } }); </script>
And then set your links on the other page as
http://grafomantestsite3.be/nieuws#vastgoedrecht