21492 Posts in 5783 Topics by 2621 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 176 Views |
-
$sort skipped 2

3 November 2011 at 10:37am
Hello,
I have got some simple lines of code:
<% control Menu(1) %>
<li class="$LinkingMode $Sort"><a href="$Link" title="Go to the "{$Title}" page">$MenuTitle</a></li>
<% end_control %>Since every link should have another background I added $Sort to get more control through CSS. But the $Sort variable skipped "2".
For example:root
-home
-news
-media
-contact$sort returns:
home: 1
news: 3
media: 4
contact: 5I remember there was another link between home and news, which I deleted. I think that might be the problem. Is there a way to fix it ? I need another fixed classname.
Thanks in advance!
| 176 Views | ||
|
Page:
1
|
Go to Top |

