Hi,
Guys please let me know how I can hide a div ( related menu) on only the home page but to appear on all inner page..My home page requires only 2 columns but inner page requires 3 columns..Many thanx
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hi,
Guys please let me know how I can hide a div ( related menu) on only the home page but to appear on all inner page..My home page requires only 2 columns but inner page requires 3 columns..Many thanx
<% if URLSegment == home %>
On the homepage
<% else %>
Not on the homepage
<% end_if %>