Jump to content

How to setup custom menu links for order form?


neobug103

Recommended Posts

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}
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated