Search
Other Conditional Content questions
Forum

show articles in category blog view based on location

Joe's Avatar Joe
Hi,

I'm trying to selectively show articles in a category blog view based on the user's location.
Based on what I've read, if I added the conditional content syntax to the template's php code, it would not work, but I just wanted to confirm this.

Thanks
Peter van Westen's Avatar Peter van Westen ADMIN
Sorry for the late reply.

You can put the {show} / {hide} tags pretty much anywhere that will end up in your final HTML output.
So you should be able to use the tags in template files too.
Did you try?

When using it in PHP files, you will - of course - need to echo out the tags to the output.
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription