Hi,
I’ve got a couple of issues with my site and they are..
1. The styling has disappeared twice now in teh last week. I can’t figure out why it’s happening. I have not made any changes to the CSS references in the templates...has this happened to anyone before?
2. My menu items are the wrong way round. I’ve altered the numbering and have checked with a static copy html and it works and displays ok but when i’m using Modx the menu displays backwards.
The code i’m using is:
PLACED IN TEMPLATE:
<ul id="tabs">
[!Ditto? &documents=`24,25,26,27,28` &tpl=`tabsmenu` &total=`5` &display=`5`!]
</ul>
CHUNK:
<li><a class="[+classes+]" id="link[+id+]" href="[+link+]" title="[+title+]"><em>[+pagetitle+]</em><span><h2>[+longtitle+]</h2>[+content+]</span></a></li>
Any help appreciated.
Thanks
www.9thwave.co.uk
WEB | DESIGN | PRINT
For the order you could try ordering them.
[!Ditto? &documents=`24,25,26,27,28` &tpl=`tabsmenu` &total=`5` &display=`5`&sortDir=`ASC`!]
OR
[!Ditto? &documents=`24,25,26,27,28` &tpl=`tabsmenu` &total=`5` &display=`5`&sortDir=`DESC`!]
Is there a reason you’re using Ditto rather than Wayfinder to show your menu?
Wayfinder will generate your menu automatically from the directory structure of the site and will display the items in the order of their menu index settings. Your menu will always be up to date with no hand-coding of IDs.