Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Trying to use X-cart head.tpl in PhpBB overall_header.tpl

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-21-2005, 06:53 PM
 
DRONE DRONE is offline
 

Advanced Member
  
Join Date: Dec 2005
Location: Brighton, UK
Posts: 30
 

Default Trying to use X-cart head.tpl in PhpBB overall_header.tpl

Hi guys, Im just to get to grips with intergration with our forum section and wondered if anyone knows if forums header.tpl could be replaced with x-cart head.tpl

URL Here: http://clubrepublic.net/forums/
__________________
DRONE

X-Cart Gold v4.0.17
Reply With Quote
  #2  
Old 12-22-2005, 03:40 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

I think you'll have to modify the forum templates themselves. Cutting and pasting the X-Cart head template isn't going to do you any good.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 12-22-2005, 04:07 AM
 
DRONE DRONE is offline
 

Advanced Member
  
Join Date: Dec 2005
Location: Brighton, UK
Posts: 30
 

Default

Yeah Im aware that pasting in wont be enough to get it to work, I left the code up as an example of what I would like to do.

I havent a clue which code needs to move to the phpbb templates, does anyone have experience of integrating headers with phpbb?

I have managed to load head.tpl into phpbb header when playing around, but the dynamic data didnt work.

Any help or hints at all would be great.
__________________
DRONE

X-Cart Gold v4.0.17
Reply With Quote
  #4  
Old 12-22-2005, 04:09 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Like I said...you can't use X-Cart code in phpbb...you need to edit it independently. The two have nothing to do with eachother other than possibly using the same graphics.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 12-22-2005, 04:13 AM
 
DRONE DRONE is offline
 

Advanced Member
  
Join Date: Dec 2005
Location: Brighton, UK
Posts: 30
 

Default

What do you mean by these files have to be edited indepentently?

Any chance of more details?
__________________
DRONE

X-Cart Gold v4.0.17
Reply With Quote
  #6  
Old 12-22-2005, 04:15 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Yes, that's what I'm saying. Head.tpl uses smarty to call variables that are tied to X-Cart. Once you leave the x-cart system, they don't work anymore. Therefore, you need to edit the phpbb templates independently of X-cart. They can look the same, but you will need to edit them seperately.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 12-22-2005, 06:54 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Simple solution, view the source of your X-Cart page making note of where the header code is that you want to copy, using the already generated HTML file in phpBB's head template will work just the same as theres no smarty variables or anything to interrupt, its all basic html.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:57 AM.

   

 
X-Cart forums © 2001-2020