Hello all
I have used this method before but for some reason I cannot get it to work with EE. I will explain bit by bit and hopefully someone can offer some help.
In the header I would add this:
<?php
//Set up nav strings
$news = $proj = $excel = $who = $care = $cont = “”;
?>
On the Projects page, I would add this at the top of the page but after the header:
<?php $proj = “thisPage”; ?>
In the link on the navigation, I would add:
<a class=”<?php echo $proj ?>”>Projects</a>
Weirdly, EE simply states that an undeclared variable exists in the href. This works fine on a ‘traditional’ php site, but not here…any ideas?
Failing that can anyone point me towards any EE documentation on hadnling button states?
Many thanks
Spen