PDA

View Full Version : How do i change the top of the template


muraduk
06-09-07, 12:34
Hi i want to change the top of the template

all i have at present is a white bar along the top, and a 'Shop Window' image on the left hand side..

i know how to cahnge and edit the image, but how can i put a colour full banner where all the white is...

Hope some one can assist in this..

Thanks in advance...

Murad

The Ferryman
09-09-07, 12:24
Murad

Edit the page_header.tpl file in the elements folder of your chosen template.

Regards

Bruce

syanide
26-10-07, 00:53
i got a weird problem. I have modified the page header.tpl to show a custom header and that worked fine at first. But since I have modified it and changed the images but they will no show up as though the origional ones ahve been cached somewhere?? :confused:

syanide
26-10-07, 01:06
i got a weird problem. I have modified the page header.tpl to show a custom header and that worked fine at first. But since I have modified it and changed the images but they will no show up as though the origional ones ahve been cached somewhere?? :confused:

doh.... i just needed to remove the files from the 'template_c' directory... all sorted now

cheekywallet
24-01-08, 12:58
When I go into page_header.tpl file in the elements folder of the template i am using i see reference to #siteTitle#

Where is the value for site title stored so i can change it? Been going round in circles trying to change it all day. feel like an idiot as i can;t remember where it is.

Bud
24-01-08, 14:07
I think the file you're after is:

\includes\smarty\configs\config.inc

Hope that helps.

Bud
24-01-08, 14:28
In case this is of any use to anyone I've found a good little freebie tool for tracking things down in folders/files and also replace en masse if necessary:

http://www.rjlsoftware.com/software/utility/search/

cheekywallet
24-01-08, 15:04
thanks bud, it was doing my head in. i looked everywhere but config folder.

cheekywallet
24-01-08, 17:12
Just wonder if anyone knows how to fix the link that the logo points to. i have my custom logo and it links back to the index.php of the shop, but i want it to link back to my main site home page. currently it points to http://mydomain.com/shop/, but i want it to point to http://mydomain.com. i changed the //define('HOME_URL', 'http://www.mydomain.com/'); within global.inc.php, but doesn't appear to have worked.

Bud
24-01-08, 18:44
If I have understood you correctly:


i changed the //define('HOME_URL', 'http://www.mydomain.com/'); within global.inc.php

Change this back to as it was otherwise it will mess things up.

Then in:

\templates\...\elements\page_header.tpl

You should see:

<a href="{$P_INDEX}" title="Return to {#siteTitle#} home page">

Simply change the ="{$P_INDEX}" bit to ="'http://www.mydomain.com"

That should do it...

cheekywallet
25-01-08, 13:04
Thanks Bud that worked a treat.