Quote:
Originally Posted by PhilJ
Does this work?
Code:
{if $main eq "pages" and $page_data.pageid eq "3"}id="current"{/if}
The mod does cater for static pages, it's explained in install.txt
|
Yeah baby! You rock!!
I read through install.txt again, but I missed this...
I may have a very old version, Phil... My copy of Speedbar was from when you were selling it (not the free version). All I have in my install.txt is:
Quote:
When adding a static page to the speedbar, ensure the 'POS.' value for both speedbar AND static page, are the same value (order position).
eg.
About Us Speedbar Link - Sort Position 10
About Us Static Page - Sort Position 10
|
My issue is that I am not using the speedbar "automatic" fucntions -- and I am hard coding each link, so this does not apply. If I use the automatic code, I lose some flexibility (and CDSEO breaks) - so to keep my URLs that CDSEO makes for me, I chose to hard code the links. AND I like the flexibility. I gladly accept the responsibility that comes with hard-coding links.
THANK YOU for coming up with this solution!
PS -- how did you know this smarty var ($page_data.pageid eq) ? How could I have found this for myself? Thanks!
Jeremy