Thanks WallPhone I did see this in themes/menu.php... while (list($Key, $Tab) = each($this->Tabs)) {
echo '<li'.$this->TabClass($this->CurrentTab, $Tab['Value']).'>
<a href="'.$Tab['Url'].'" '.$Tab['Attributes'].'>'.$Tab['Text'].'</a></li>';} I thought there was a more expanded bit somewhere that was more human-readable. I can usually hack PHP to achieve my needs but this is too complex for me. Like a dog with a bone, I'll bury it soon.
Comments
Or I suppose you could add an class or ID attribute to it and style the tab with CSS.
while (list($Key, $Tab) = each($this->Tabs)) { echo '<li'.$this->TabClass($this->CurrentTab, $Tab['Value']).'> <a href="'.$Tab['Url'].'" '.$Tab['Attributes'].'>'.$Tab['Text'].'</a></li>';}
I thought there was a more expanded bit somewhere that was more human-readable.
I can usually hack PHP to achieve my needs but this is too complex for me.
Like a dog with a bone, I'll bury it soon.
Posted: Friday, 23 March 2007 at 3:39PM (AEDT)
while (list($Key, $Tab) = each($this->Tabs)) { echo '<li'.$this->TabClass($this->CurrentTab, $Tab['Value']).' id="icon-'.$Tab['Text'].'"> <a href="'.$Tab['Url'].'" '.$Tab['Attributes'].'>'.$Tab['Text'].'</a></li>'; }
then u can add the icons using css
#icon-Discussions {}
#icon-Categories {}
etc
It even hides the account icon
Not as neatly as your suggestion I'm sure but it seems to work, now to test it in exploder!
I will however try and work out your suggestion, it's probably more efficient than my hack.
Posted: Friday, 23 March 2007 at 5:41PM (AEDT)
How did you get that front page set-up? is it an extension that I'm not aware of?
Posted: Friday, 23 March 2007 at 6:57PM (AEDT)