PDA

View Full Version : Linking back to my main site from Support Area



jswilko
09-28-06, 10:27 AM
Hi

I do not have my whmcs integrated into my website template yet as I am not 100% happy with the look of my site.

Is there a way to have a link back to my main site from the client Support Area. I know they could use the back button but I would prefer a link in the top corner saying "Back to main site"

Cheers
John

chrishaley
09-28-06, 11:39 AM
You should just be able to add the hyperlink to one of the template files, like the header.tpl if you want it on all pages or just the homepage.tpl if you want it only on the Client Area homepage.

Joel
09-28-06, 01:16 PM
What he said ^^^. Go with the template change.

wehostem
10-22-06, 10:37 PM
Example of a header home button.

On line 14:


<td><table id="topnavbar"><tr><td id="navbar></td><td id="navbar">{$LANG.globalsystemname} (index.php)</td><td id="navbar">{$LANG.clientareatitle} (clientarea.php)</td><td id="navbar">{$LANG.announcementstitle} (announcements.php)</td><td id="navbar">{$LANG.knowledgebasetitle} (knowledgebase.php)</td><td id="navbar">{$LANG.supportticketspagetitle} (supporttickets.php)</td><td id="navbar">{$LANG.downloadstitle} (downloads.php)</td>{if $loggedin}<td id="navbar">{$LANG.logouttitle} (logout.php)</td>{/if}</tr></table></td>


Add this to that line (line 14):

Home (../index.php)
Of course ../index.php would link to what ever your home page is.


So it looks like this:


<td><table id="topnavbar"><tr><td id="navbar">Home (../index.php)</td><td id="navbar">{$LANG.globalsystemname} (index.php)</td><td id="navbar">{$LANG.clientareatitle} (clientarea.php)</td><td id="navbar">{$LANG.announcementstitle} (announcements.php)</td><td id="navbar">{$LANG.knowledgebasetitle} (knowledgebase.php)</td><td id="navbar">{$LANG.supportticketspagetitle} (supporttickets.php)</td><td id="navbar">{$LANG.downloadstitle} (downloads.php)</td>{if $loggedin}<td id="navbar">{$LANG.logouttitle} (logout.php)</td>{/if}</tr></table></td>