Jump to content

Question please


arabtouch

Recommended Posts

Hello all!

 

I'm now developing a design for my site, I have integrated it with whmcs and need your help in only one thing!!

 

In the navbar I want only to show the place where I'm in not all the directories.

 

For example when I try to submit a new ticket, it shows:

 

You are here: Home > Clients Area > Support > Create Ticket
I want it to be:

 

You are here: Create Ticket
Without ((( Home > Clients Area > Support > )))

 

Is there any solution to this?

 

Thank you 8)8)

Link to comment
Share on other sites

I think it's an all or nothing proposition, but perhaps someone else has a trick that would work. If you want to eliminate the breadcrumb nav completely, you can do as follows:

 

Open your templates directory (default or portal, depending on your template choice) and locate the following code, deleting the part marked in red text:

 

<p><span class="heading">{$pagetitle}</span>[color="Red"]<br />
{$LANG.globalyouarehere}: {$breadcrumbnav}[/color]</p>

Link to comment
Share on other sites

Actually, you can create this on your own, rather than using the breadcrumb option.

 

You can just do this:

You are here: <a href="{$smarty.server.PHP_SELF}">{$pagetitle}</a>

 

Of course if you're going to use "You are here," you can either create a $LANG option for it in any/all language files, that way if you have customers that rely on changing their language, it'll change for them as well (rather than staying in english..)

Link to comment
Share on other sites

I think it's an all or nothing proposition, but perhaps someone else has a trick that would work. If you want to eliminate the breadcrumb nav completely, you can do as follows:

 

Open your templates directory (default or portal, depending on your template choice) and locate the following code, deleting the part marked in red text:

 

<p><span class="heading">{$pagetitle}</span>[color=Red]<br />
{$LANG.globalyouarehere}: {$breadcrumbnav}[/color]</p>

 

Thank you for your reply, But I need it :lol:

 

Actually, you can create this on your own, rather than using the breadcrumb option.

 

You can just do this:

You are here: <a href="{$smarty.server.PHP_SELF}">{$pagetitle}</a>

Of course if you're going to use "You are here," you can either create a $LANG option for it in any/all language files, that way if you have customers that rely on changing their language, it'll change for them as well (rather than staying in english..)

 

Worked, thank you and I really appreciate your help :oops::oops:

Link to comment
Share on other sites

Arabtouch, just as a little reminder, if you do base it off of pagetitle, any pages that are using the ?action= will still display the original page's title. (eg: My Hosting Packages - it's clientarea.php?action=hosting, and it will still display Client ARea.)

 

If you use that in the header.tpl file, that's the only option you have. Otherwise for one of my templates, I went ahead and added the breadcrumb option into every .tpl file; Some of them use $pagetitle, while some of them you can just use the individual header included in the .tpl file.

 

So if you just include the breadcrumb in clientareahosting.tpl, you would use it like so:

  You are here: <a href="{$smarty.server.PHP_SELF}">{$LANG.clientareanavhosting</a>

 

Using {$LANG.clientareanavhosting will output My Hosting Packages. Again, this is something that you will have to have in EACH .tpl file and NOT in the header file.

Link to comment
Share on other sites

Otherwise for one of my templates, I went ahead and added the breadcrumb option into every .tpl file; Some of them use $pagetitle, while some of them you can just use the individual header included in the .tpl file.

 

Oof, you must have fun during upgrades!

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