[SOLVED]Help detect News Detail template on content page
Posted: Fri Sep 12, 2014 9:23 pm
I am using CMSMS 1.11.4
I currently have a {news} tag set on my content home page, which also has content on there.
When My user clicks to read more, it appears that the detailed template for news (along with the detailed content), loads into the home page, which is fine. But is there a conditional statement I can place on my home page that does the following...
if news details exist...
hide the default home page content
else
show home page default content
I know I can do this with jquery (classes and Id's), but I was curious if there was a smarty way for me to do this in the cmsms system.
thanks!
I currently have a {news} tag set on my content home page, which also has content on there.
When My user clicks to read more, it appears that the detailed template for news (along with the detailed content), loads into the home page, which is fine. But is there a conditional statement I can place on my home page that does the following...
if news details exist...
hide the default home page content
else
show home page default content
I know I can do this with jquery (classes and Id's), but I was curious if there was a smarty way for me to do this in the cmsms system.
thanks!