Forums
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Maybe try
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?page=$1 [NC,L]
Ok, can you write that into what I posted, because I have a feeling I’m missing something…
Actually, ya know what that last change you made to the mod_rewrite fixed it…
You Rock CrocoDillon! lol Thanks soo much! Now, I just need to figure out the active navigation link part…
That throws off a crap load of parsing errors… :(
Should be able to use jQuery to set Active Navigation, but so far everything I try is only highlighting the ‘home’ link.
For the parse errors I’d need to see the whole file where you create the menu.
Nice catch about the $page variable Ben :)
I have tried what is shown here:
https://css-tricks.com/snippets/jquery/add-active-navigation-class-based-on-url/
However, in my case it is not working…
The menu is simply this in html:
Chris used to have something on here showing a way to do this with jQuery by link id, but I can’t find the shit.
Because you don’t have the / that’s in the jQuery selector. I’d prefer a php solution over a js one though.
I found his version before and modified it and it worked, but I lost all my files due to a electrical crash of my backup server…
The menu can’t be simple html, else you wouldn’t get parse errors.
Yeah. I tried the above php method, but it didn’t do anything. It just cause some php perrors. I can try it again…