but it is not working... the module content is not showing on the right column of the cms category 2 page at all ...
attached 2 screenshoot to better explain my need .....
Someone know the reason why the module content is called correctly on a cms page and not on the related cms category pages?
Thanks in advance for your help ...
Question
ariom
Hi to all,
i use to conditionally display a right column block module (html box by EmotionLoop) depending on the cms page i am with this code
{if $page_name == 'cms' && $smarty.get.id_cms} {if in_array($id_cms, array(4,13,14,18,19,20,22))} {$content|escape:nofilter} {/if} {/if}
This is working fine for the cms pages ...
The problem i'm digging around is that if i am on the related cms category page the right column show nothing, but i need it, so i try with this code:
{if $page_name == 'cms' && $smarty.get.id_cms_category} {if in_array($id_cms_category, array(2))} {$content|escape:nofilter} {/if} {/if}
but it is not working... the module content is not showing on the right column of the cms category 2 page at all ...
attached 2 screenshoot to better explain my need .....
Someone know the reason why the module content is called correctly on a cms page and not on the related cms category pages?
Thanks in advance for your help ...
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now