-
Notifications
You must be signed in to change notification settings - Fork 25
How to override footer links on per page basis #160
Comments
I'm a bit confused what you mean by "in the footer to current file to blank so that it would not be underlined or linked" As for front page links, you can control them in |
For example on the production site, the footer in the Contact page does http://m.berkeley.edu/contact/ Linking to the current page is considered bad for usability. -Sara On 8/31/2012 4:54 PM, Eric Bollens wrote:
Sara Leavitt, Electronic Communications Specialist |
To change this, you'd need to override the class |
Untested, but if you know the URL you want to remove from the footer (but leave the associated text intact), I think you'd do something like this prior to rendering the footer:
I'm pretty sure that, or something very close to that, should work. Like I said, untested, sorry. But calling |
Hi Rich, Thanks for the hint! The "unset" messed up the for loop in public function &remove_link( $title ) { On 8/31/12 6:23 PM, Trott wrote:
|
Closing this issue as this system has long since been deprecated. |
Hi,
In MWF 1.2 I set the link in the footer to current file to blank so that it would not be underlined or linked. This is done for usability.
$footer->set_contact('', '');
echo $footer->render();
but this no longer works because all of the footer links are in one array (private $_footer_link_urls) whereas before they we separate (private $_contact_url = '/contact';) so, how can I get this functionality back?
-Sara
The text was updated successfully, but these errors were encountered: