Jump to content

get page syntax help


pwner99

Recommended Posts

I'm trying to customize my navbar and would like to include the url of the current page, but I'm having a problem. The navbar is just supposed to say what page you're on, and the link to that url but the $get.page function just links to mydomain.com/whmcs not mydomain.com/whmcs/knowledgebase.php or anything like that. Here's the code:

 

<div class="left"><a href="index.php">Portal Home</a> > <a href="{$get.page}">{$pagetitle}</a></div>

 

So what it does is:

 

Portal Home > Knowledgbase (or whatever page I'm on)

 

which is good but it does not hyperlink the current page correctly (just links to the whmcs dir). I've tried again and again, but nothing seems to work, I keep thinking it might be something in my .htaccess file or the way I'm chmoding my tpl files (chmod 600) but could it be that?

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