| 
 | ||||||||||
|  | Shopping cart software Solutions for online shops and malls | |||||||||
|  |  |  | ||||||||
| X-Cart Home |  FAQ |  Forum rules |  Calendar |  User manuals |  Login | 
|  | 
| Replacing static page headings with images | |||
|  |  | ||
|  | Thread Tools | Search this Thread | 
| 
			 
			#1  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  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. 
				__________________ X-Cart Gold Version 4.3.2 | |||||||
| 
			 
			#2  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|  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 
				__________________ Steve Stoyanov CFLSystems.com Web Development | |||||||||
| 
 | |||||||||
| 
			 
			#3  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  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? 
				__________________ X-Cart Gold Version 4.3.2 | |||||||
| 
			 
			#4  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|  Re: Replacing static page headings with images Use {$page_data.pageid eq "xxx"} to restrict to individual pages 
				__________________ Steve Stoyanov CFLSystems.com Web Development | |||||||||
| 
 | |||||||||
| 
			 
			#5  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  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. 
				__________________ X-Cart Gold Version 4.3.2 | |||||||
|  | |||
| 
X-Cart forums © 2001-2020
 | |||