neobug103 Posted June 25, 2010 Share Posted June 25, 2010 I would like to install my own links for the order form, I need to create each link manually for what I want to do but I'm not quite sure how to do that, currently here is the code that creates the current menu: {foreach key=num item=productgroup from=$productgroups} {if $gid eq $productgroup.gid} {$productgroup.name} | {else} <a href="{$smarty.server.PHP_SELF}?gid={$productgroup.gid}">{$productgroup.name}</a> | {/if} {/foreach} Can somebody advise me on the code I would use to have my own links, where I manually input the product ID number and/or name to get it to work. (Yes I could just forget this and manually create the links, but I want it to make the link of the page they are currently on bold and unclickable as it currently is with the code above. This code might help more, it is a custom link inserted for the register domains link, but I'm not sure how to substitude the variables with variables to display hosting categories instead: {if $registerdomainenabled}{if $domain neq "register"}<a href="{$smarty.server.PHP_SELF}?a=add&domain=register">{$LANG.registerdomain}</a>{else}<strong>{$LANG.registerdomain}</strong>{/if} |{/if} 0 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.