Closed (fixed)
Project:
Zero Point
Version:
6.x-1.3
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Jun 2009 at 02:56 UTC
Updated:
1 Oct 2015 at 00:47 UTC
Jump to comment: Most recent
Comments
Comment #1
florian commentedYou have to modify something in page.tpl.php. Look for this line:
... and change it into:
Comment #2
florian commentedComment #4
mlines commentedHi - thanks very much for a great theme,
I'd like to customize the footer links. Instead of primary or secondary menus, I'd like my "custom-footer" to display there. I tried this to no avail:
<?php if (isset($custom-footer)) { ?><?php print theme('links', $custom-footer, array('class' =>'links', 'id' => 'navlist2')) ?><?php } ?>Comment #5
florian commentedI don't understand what do you want to customize. ... a custom "third" menu links?
Comment #6
mlines commentedSorry for being unclear. I want to have links in the footer menu that are different from those in the primary and secondary menus.
My thought was to create a new menu, and then ask Zero Point to use it in the footer position, but it is entirely possible that I am missing a more elegant solution...
Comment #7
florian commentedI think a more elegant solution in oder to be able to update the theme's code is to hide bottom links by adding this line to /_custom/custom-style.css:
Then create a new block with your links and place it to the "Bottom content" region. To have the same look, just create the links as follow, and don't forget to have full html imput for that block:
Comment #8
mlines commentedThanks for taking time with this. Your solution is working. I correct a typo you made:
This line:
<ul class="links" id="navlist2">Should read
<ul class="links" id="navlist1">Comment #9
exactlyhow commentedThe simplest way to work with the footer menu is to open and edit the page.tpl.php file, scroll down to line 271 or so, and change the html embedded in the php. It's just smple anchors. No biggie!
Comment #10
florian commentedNope, use only custom-style.css and don't touch page.tpl.php. This will let you upgrade the theme in the future.
Comment #11
jonboy18 commentedPerfect solution. thanks Florian
Comment #12
gajanannehul commentedhi
im having same problem my page.tpl file dosen't have such lines....
this is my code i change my menu but its not applied on all pages..
echo '
Home | Books | Authors | About us | Contact
'.
'Copyright © 2011 '.$site_name.'. All Rights Reserved.
';
Comment #13
florian commentedThis was fixed in newer versions.