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

Include wordpress header and footer php

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-17-2011, 06:42 AM
 
fyjpm fyjpm is offline
 

Member
  
Join Date: Feb 2006
Posts: 21
 

Default Include wordpress header and footer php

Has anyone been able to include the header and footer php files of wordpress into an xcart installation? We were able to do this with other web applications however when I include the proper files xcart takes me back to install.php.

Is there an additional step required to allow this?

If anyone has did this before help would be appreciated.

Example code:

{php}
ob_start();
include('/blog/wp-load.php');
include('/blog/header.php');
ob_end_clean();
{/php}
__________________
John Molino
888VoIP
www.888voip.com

Heavily modified:
4.1.9
4.3 <- launch date Feb 1, 2010
4.4.3
Reply With Quote
  #2  
Old 07-05-2011, 11:09 AM
 
nickff nickff is offline
 

Senior Member
  
Join Date: Aug 2010
Posts: 132
 

Default Re: Include wordpress header and footer php

Here's a great tutorial on the subject:

http://www.arscommunity.com/wiki/articles/x-cart-wordpress-integration#Examples
__________________
nick hoag
looking forward to the future
http://thefutureforward.com
xcart versions 4.2.x, 4.3.x, 4.4.x
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 12:33 PM.

   

 
X-Cart forums © 2001-2020