vidmarc Posted July 16, 2015 Share Posted July 16, 2015 Can anybody help? Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 16, 2015 Share Posted July 16, 2015 Yes. Quote Link to comment Share on other sites More sharing options...
vidmarc Posted July 16, 2015 Author Share Posted July 16, 2015 Which template do I need to modify? Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 16, 2015 Share Posted July 16, 2015 Look at the templates box.navigation.php and element.navigation_tree.php.Navigation has the overall series of links and this is the best place to add a hard-coded link.Navigation_tree is used as many times as necessary to build the drop-downs or fly-outs of sub-categories. Quote Link to comment Share on other sites More sharing options...
vidmarc Posted July 17, 2015 Author Share Posted July 17, 2015 box.navigation.php<div class="box box-navgation box-categories"> <div class="wrapper"> <h3>{$LANG.navigation.title}</h3> <div class="content"> <nav> <ul class="clearfix"> <li><a href="{$STORE_URL}/index.php" title="{$LANG.navigation.homepage}">{$LANG.navigation.homepage}</a></li> {$NAVIGATION_TREE} {if $CTRL_CERTIFICATES && !$CATALOGUE_MODE} <li><a href="{$URL.certificates}" title="{$LANG.navigation.giftcerts}">{$LANG.navigation.giftcerts}</a></li> {/if} {if $CTRL_SALE} <li><a href="{$URL.saleitems}" title="{$LANG.navigation.saleitems}">{$LANG.navigation.saleitems}</a></li> {/if} </ul> </nav> </div><!-- /.content --> </div><!-- /.wrapper --> </div><!-- /.box --> element.navigation_tree.php <li class="{if isset($BRANCH.children)}node{/if}"> <a href="{$BRANCH.url}" title="{$BRANCH.name}">{$BRANCH.name}</a> {if isset($BRANCH.children)} <ul> <li class="title mega-menu-remove"><a href="{$BRANCH.url}" title="{$BRANCH.name}">{$BRANCH.name}</a></li> {$BRANCH.children} </ul> {/if} </li> I can't see anything obvious in either of those. Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 17, 2015 Share Posted July 17, 2015 In box.navigation.php, the Main Menu code below is a simplified rendition:<ul class="clearfix"> <li><a href="Link_to_HomePage">HomePage</a></li> {Links to Categories} <li><a href="Link_to_GiftCerts">Gift Certs</a></li> <li><a href="Link_to_SaleItems">Sale Items</a></li> </ul>Make more of: <li><a href="Link_to_Wherever">Wherever</a></li> for whatever link(s) you need.Because you are editing a template, you may need to clear the skin cache (admin, Maintenance, Rebuild tab). Quote Link to comment Share on other sites More sharing options...
vidmarc Posted July 18, 2015 Author Share Posted July 18, 2015 Thank you, new menu link works perfectly now. :-) Quote Link to comment Share on other sites More sharing options...
Cyberart Posted August 6, 2015 Share Posted August 6, 2015 Look at the templates box.navigation.php and element.navigation_tree.php.Navigation has the overall series of links and this is the best place to add a hard-coded link.Navigation_tree is used as many times as necessary to build the drop-downs or fly-outs of sub-categories.I can't find 2 that file, help me more detail.... thanks Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted August 6, 2015 Share Posted August 6, 2015 (edited) This thread is about Blueprint, which is NOT a Foundation skin. Look in /public_html/your store/skins/foundation/templates. If you still need help, please start a new thread with your question. Edited August 6, 2015 by Dirty Butter Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.