| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
#1
|
|||||||||
|
|||||||||
![]() Can I include the same header on my store pages that i use throughout the site? If yes, how? I was ble to find file called rectangle_top_cust.tpl that sort of serves as the header. I'd like to have the same header though.
__________________
Thanks. X-Cart Gold 4.0.14 on Linux |
|||||||||
#2
|
|||||||
|
|||||||
![]() head.tpl
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||||
|
|||||||||
![]() Is that skin1/head.tpl ?
Seems like a whole lot of code there...
__________________
Thanks. X-Cart Gold 4.0.14 on Linux |
|||||||||
#4
|
|||||||
|
|||||||
![]() Yes. And yes, there is a lot up there by default (tabs, search bar, language selection, etc). Depending on your design, you can nuke quite a bit of that.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||||
|
|||||||||
![]() Well, all i want is to include my header that I use throughout.
Can I just go nuclear and replace all with something like: Code:
__________________
Thanks. X-Cart Gold 4.0.14 on Linux |
|||||||||
#6
|
|||||||
|
|||||||
![]() Well I wouldn't include a php file no. Use a .tpl file. If you want to get rid of everything in head.tpl, go for it and replace it with whatever content you want. There isn't anything up there that is essential to the operation of the store...you can include the search, language selection and printable link elsewhere. You can always restore it from skin1_orignal later if you want.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||||
|
|||||||||
![]() Why won't you recommend including .php file. I just put the way I wanted it and it works just fine.
I used to have store (with Miva) that I had to keep separate header code. I hated it - always forgot to update it thoughout. I just tweaked my header and make it SSl compatible. Do I need to keep this: {* $Id: head.tpl,v 1.40.2.3 2004/11/19 06:40:15 max Exp $ *} Is it sort of like a comment?
__________________
Thanks. X-Cart Gold 4.0.14 on Linux |
|||||||||
#8
|
|||||||
|
|||||||
![]() Oh you mean including the php file IN head.tpl...yes, that would work fine. No, you don't need to keep that comment.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#9
|
|||||||||
|
|||||||||
![]() I've got search integrated into my header. I do not believe into searching store appart from my site
![]()
__________________
Thanks. X-Cart Gold 4.0.14 on Linux |
|||||||||
#10
|
|||||||||
|
|||||||||
![]() Oh, yes, I keep .tpl files, just call in my php.
__________________
Thanks. X-Cart Gold 4.0.14 on Linux |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|