arabtouch Posted January 27, 2008 Share Posted January 27, 2008 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) 0 Quote Link to comment Share on other sites More sharing options...
uberhost Posted January 27, 2008 Share Posted January 27, 2008 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> 0 Quote Link to comment Share on other sites More sharing options...
Jordan Posted January 27, 2008 Share Posted January 27, 2008 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..) 0 Quote Link to comment Share on other sites More sharing options...
arabtouch Posted January 27, 2008 Author Share Posted January 27, 2008 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 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: 0 Quote Link to comment Share on other sites More sharing options...
uberhost Posted January 27, 2008 Share Posted January 27, 2008 Thank you for your reply, But I need it That's what SHE said. 0 Quote Link to comment Share on other sites More sharing options...
Jordan Posted January 27, 2008 Share Posted January 27, 2008 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. 0 Quote Link to comment Share on other sites More sharing options...
arabtouch Posted January 27, 2008 Author Share Posted January 27, 2008 I'm using it in header.tpl file so, it will appear on all pages. Please check my site, I have removed the Firewall to know your comment Thank you again for your help http://www.arabtouch.com/system/ Still under construction 0 Quote Link to comment Share on other sites More sharing options...
Nick Posted January 28, 2008 Share Posted January 28, 2008 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! 0 Quote Link to comment Share on other sites More sharing options...
chickendippers Posted January 28, 2008 Share Posted January 28, 2008 I've done the same, it's not much hassle because Matt provides such great changelogs. 0 Quote Link to comment Share on other sites More sharing options...
Jordan Posted January 29, 2008 Share Posted January 29, 2008 Oof, you must have fun during upgrades! It is a daunting feeling whenever he has new additions/revisions to the template files, because it's just extra work in general, but it's honestly not that bad. 0 Quote Link to comment Share on other sites More sharing options...
uberhost Posted January 29, 2008 Share Posted January 29, 2008 I've done the same, it's not much hassle because Matt provides such great changelogs. Indeed he does (thanks, Matt!). 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.