![]() |
Restore Page Width of Admin Pages
Hi,
I have amended my customer homepage to 760 pixels wide (via the rectangle_top.tpl) which is exactly as I wanted however it has also changed my admin pages to 760 pixels wide. My question is is it possible to restore my admin pages to 100% whilst keeping the customer pages at 760 pixels? :-k Any help would be greatly appreciated. |
Yep, just edit the head_admin.tpl and single/home.tpl and you should be able to get the width exactly how you want it.
|
i take it you adjusted rectangle_top rather then the home.tpl
use a bit of smarty to tell where you are Code:
{if $usertype eq "C"} |
Wow
Thanks guys that worked wonderfully :lol: Just to confirm in my own mind regarding these usertypes $usertype eq "C" - I am assuming this refers to 'customers' and is the default setting for anyone who has not logged in or is currenlty logged in but does not have 'wholesale' privileges $usertype eq "B" - I am assuming that this is 'Business' ( I may be wildly wrong on this but this is all I can think of starting with a 'B') :wink: Finally is there any other usertypes out there that I should be aware of? Thanks again guys for all of your help |
you may need to add the usertype = b too then if you use wholesale
c = customer b = wholesale p = admin |
I tried "P" and it messed up the front end. C worked fine however.
The specific code I used for "rectangle_top.tpl" was this... in case anybody wanted it: Code:
<table align="center" border="0" cellpadding="0" cellspacing="0" {if $usertype eq "C"} width="{$width|default:"708"}" {else} width="{$width|default:"100%"}" {/if}> |
All times are GMT -8. The time now is 11:53 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.