Thread: Static pages
View Single Post
  #6  
Old 06-09-2009, 09:50 AM
 
autobulbs autobulbs is offline
 

Advanced Member
  
Join Date: Feb 2007
Location: Southampton, UK
Posts: 68
 

Default Re: Static pages

With webmaster mode, you need to hover over the name of the various .tpl files in the popup window and it will be highlighted with a red border in the the main page. It is probably the best way of locating which file displays what.

In pages.tpl find where it says:

Code:
{include file="dialog.tpl" title=$page_data.title content=$smarty.capture.dialog extra='width="100%"'}

and change it to something like:

Code:
{include file="dialog.tpl" title=$page_data.title content=$smarty.capture.dialog extra='width="100%"' cellpadding="10"}

and in dialog.tpl find this:

Code:
<tr><td class="DialogBorder"><table cellspacing="1" class="DialogBox">

and change it to this:

Code:
<tr><td class="DialogBorder"><table cellspacing="1" cellpadding="{$cellpadding|default:"5"}" class="DialogBox">
__________________
Autobulbs Direct Ltd
X-Cart Version: 4.2.2
eWay Designs - Custom X-Cart Templates / CMS Websites / Bespoke web applications
Reply With Quote