Hiding component on other pages

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Oct 04, 2012 10:12 am
Reply with quote
Report this post
Hi,

How can I hide mainbody/component on other pages? Just a module, in mainbody position, without component. :idea: :?:
User avatar
Senior Boarder

GK User
Thu Oct 04, 2012 10:14 am
Reply with quote
Report this post
The only way is to make it by suffixes for pages. In template setting you will find option to set suffix for pages - you need to add some suffix like .noMainbody and then create some additional CSS:

Code: Select all
.noMainbody #gkMainbody {display: none !important}
User avatar
Platinum Boarder


cron