Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Strange problem with tags in CMS templates code


Reply


3 Posts   1352 Views

Avatar
Digital-Punk.co.uk

Community Member, 51 Posts

27 January 2008 at 2:26am

Hi,

I would like to make small changes in CMS templates. For example I would like to change CMS top menu style. In "CMSTopMenu.ss" is:

<ul id="MainMenu">
<% control MainMenu %>
   <li class="$LinkingMode" id="Menu-$Code"><a href="$Link">$Title</a></li>
<% end_control %>
</ul>

Then I try to change it into:

<ul id="MainMenu">
<% control MainMenu %>
   <li class="$LinkingMode" id="Menu-$Code"><a href="$Link"><span>$Title</span></a></li>
<% end_control %>
</ul>

<span> tags are not recognised in CMS. And then is more funny - I deleted all code within <ul> and menu is still visible! Maybe I should change code somwhere else?

Avatar
Sean

Forum Moderator, 922 Posts

27 January 2008 at 2:47am

Have you tried adding ?flush=1 to the end of the URL? Depending on the type of template, it might need a refresh of the templates before the changes will come through.

Cheers,
Sean

Avatar
Digital-Punk.co.uk

Community Member, 51 Posts

27 January 2008 at 2:52am

Thank You!