Page 1 of 1

How to disable page element on certain articles

Posted: Tue Oct 11, 2016 8:02 am
by yakusa
Hi all!
I want to make a 100% clean bootstrap template for Joomla 1.5 (i know i know but it runs as intranet application so it's safe - i dont want to mess with this ;) ) and wonder how to disable template element (div) on certain article pages (not associated to selected category/section ID). I want to hardcode it directly in template.

THANKS! :)

Re: How to disable page element on certain articles

Posted: Tue Oct 11, 2016 8:20 am
by yakusa
Something like is possible?

{if article->category-id != 2 && 3}Do something{else}Do something else{/if}