![]() |
Replacing static page headings with images
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. |
Re: Replacing static page headings with images
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 |
Re: Replacing static page headings with images
Many thanks for your help Steve. I only want to use an image heading on some of the static pages, is that possible?
|
Re: Replacing static page headings with images
Use {$page_data.pageid eq "xxx"} to restrict to individual pages
|
Re: Replacing static page headings with images
Thanks very much Steve, that's exactly what I wanted! I'll give it a try and let you know how I get on.
|
All times are GMT -8. The time now is 07:20 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.