I`m using the sliding doors tenique for my menus and would like to use them using wayfinder they are just horizontal menus with images (
http://alistapart.com/articles/slidingdoors2/)
Could wayfinder be used for this? It needs id rather than class for styles
<div id="header">
<ul>
<li id="nav-home"><a href="#">Home</a>
</li>
<li id="nav-news"><a href="#">News</a>
</li>
<li id="nav-products"><a href="#">Products</a>
</li>
<li id="nav-about"><a href="#">About</a>
</li>
<li id="nav-contact"><a href="#">Contact</a>
</li>
</ul>
</div>
-
MODX Staff
- 12,272 Posts
Very simply so. Wayfinder can pretty much build any kind of CSS menu you can imagine.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
thanks I`m reading the docs now, I cant find how to apply the id’s in the instructions its all about classes?
Can you do id’s rather than class?
ah I found the id, just need to change the name of my old styles and it should work.
One other thing I`m getting this after my menu code
(
[code_name] => rev 1005<br /> [version] => 0.9<br /> [small_version] => 2<br /> [patch_level] => 1<br /> [full_appname] => MODx 0.9.2.1 (rev 1005)<br />)<br /><br />Why is this? any ideas?
-
MODX Staff
- 12,272 Posts
Are you running the stock Wayfinder code, or did you modify it?
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
I just downloaded the latest version and installed it.
my call is [[Wayfinder? &startId=`0`&removeNewLines=`1` &rowIdPrefix=`nav-` ]]
I dont use caching could that be the problem?
I installed the update on its own, should I have installed the 1.0 package then the update, becuase I removed it and installed the 1 version and its working now.
straty,
I accidentally left in some testing code, I have fixed the version in the repository.
cool, i`ll download it again, cheers.