| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Replacing static page headings with images | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
Hi, is it possible to replace the static page titles with an image instead?
I presume this might be quite difficult because the static page pulls the heading from the title that you give the static page. Many thanks in advance.
__________________
X-Cart Gold Version 4.3.2 |
|||||||
|
#2
|
|||||||||
|
|||||||||
|
You will have to edit dialog.tpl and put an if statement for {$title}
{if $main ne "pages"}{$title}{/if} then just insert image in the static page body You may also need to edit skin1/cusotmer/main/pages.tpl - there is a h1 tag with the title
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||||||||
|
#3
|
|||||||
|
|||||||
|
Many thanks for your help Steve. I only want to use an image heading on some of the static pages, is that possible?
__________________
X-Cart Gold Version 4.3.2 |
|||||||
|
#4
|
|||||||||
|
|||||||||
|
Use {$page_data.pageid eq "xxx"} to restrict to individual pages
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||||||||
|
#5
|
|||||||
|
|||||||
|
Thanks very much Steve, that's exactly what I wanted! I'll give it a try and let you know how I get on.
__________________
X-Cart Gold Version 4.3.2 |
|||||||
![]() |
|
| Thread Tools | Search this Thread |
|
|
|
|
|||
|
X-Cart forums © 2001-2020
|
|||