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

How to embed labels/modules into another Site?

 
Reply
   X-Cart forums > Forum archive > Using X-Cart in my project > Need advice
 
Thread Tools
  #1  
Old 03-26-2012, 06:50 AM
 
designguru designguru is offline
 

X-Adept
  
Join Date: Dec 2010
Posts: 418
 

Default How to embed labels/modules into another Site?

There's another website on the same server. I want to add the same footer as in the store. How can I use the language labels (so when I update a label, it updates on all sites) and the newsletter form on another php site?

As mentioned the website is just in another folder.

Many thanks!
__________________
X-Cart Pro 4.6.2 with many modules
X-CART Pro 4.4.1
Reply With Quote
  #2  
Old 03-26-2012, 07:20 AM
 
balinor balinor is offline
 

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

Default Re: How to embed labels/modules into another Site?

You can't unless they are using the same database.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote

The following user thanks balinor for this useful post:
sixfigure (03-26-2012)
  #3  
Old 03-26-2012, 08:07 AM
 
designguru designguru is offline
 

X-Adept
  
Join Date: Dec 2010
Posts: 418
 

Default Re: How to embed labels/modules into another Site?

Hm, I could reinstall the website and attach it to the same database and then it should work with the usual tags?
__________________
X-Cart Pro 4.6.2 with many modules
X-CART Pro 4.4.1
Reply With Quote
  #4  
Old 03-26-2012, 08:46 AM
 
balinor balinor is offline
 

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

Default Re: How to embed labels/modules into another Site?

You can't run an X-Cart store on two domains.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 03-26-2012, 10:19 AM
 
designguru designguru is offline
 

X-Adept
  
Join Date: Dec 2010
Posts: 418
 

Default Re: How to embed labels/modules into another Site?

No, the other site is a wordpress site. I would like to use some labels (numbers of products etc) from the store there.
__________________
X-Cart Pro 4.6.2 with many modules
X-CART Pro 4.4.1
Reply With Quote
  #6  
Old 03-26-2012, 10:23 AM
 
balinor balinor is offline
 

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

Default Re: How to embed labels/modules into another Site?

Ah, you would need to integrate Smarty into the WordPress template system in order to call Smarty language variables. Afraid I can't help you with that
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote

The following user thanks balinor for this useful post:
sixfigure (03-26-2012)
  #7  
Old 03-26-2012, 11:12 AM
 
designguru designguru is offline
 

X-Adept
  
Join Date: Dec 2010
Posts: 418
 

Default Re: How to embed labels/modules into another Site?

Too bad. Thanks anyway.
__________________
X-Cart Pro 4.6.2 with many modules
X-CART Pro 4.4.1
Reply With Quote
  #8  
Old 06-06-2012, 03:28 PM
 
ScrapOrchard ScrapOrchard is offline
 

eXpert
  
Join Date: Mar 2008
Posts: 243
 

Default Re: How to embed labels/modules into another Site?

Not sure it helps.. but there is a Smarty plugin for Wordpress: http://wordpress.org/extend/plugins/smarty-for-wordpress/
__________________
www.scraporchard.com
X-Cart Pro Version 4.5.5

Altered Cart: One Page Checkout, OnSale, Buy Together, Download Expander, Smart Search, Shop by Filters
Gahela: Gahela Support System
The xCart Store: xBanners, xAccess, xMenus
Reply With Quote

The following user thanks ScrapOrchard for this useful post:
sixfigure (10-24-2012)
  #9  
Old 06-07-2012, 06:51 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: How to embed labels/modules into another Site?

Even better than just the footer, consider simply containing Wordpress inside X-cart. http://mods.x-cart.com/WordPress-in-X-Cart.html

It only makes sense to present the same header, same navigation menus and everything, rather than effectively having two different sites. If Wordpress is housed inside XC, you only have one skin to maintain and update.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote

The following user thanks totaltec for this useful post:
sixfigure (10-24-2012)
  #10  
Old 10-24-2012, 03:17 AM
 
designguru designguru is offline
 

X-Adept
  
Join Date: Dec 2010
Posts: 418
 

Default Re: How to embed labels/modules into another Site?

Quote:
Originally Posted by ScrapOrchard
Not sure it helps.. but there is a Smarty plugin for Wordpress: http://wordpress.org/extend/plugins/smarty-for-wordpress/

Great. Would it be possible to post complete products to a wordpress page with this plugin? I guess it would still need a lot of custom coding.
__________________
X-Cart Pro 4.6.2 with many modules
X-CART Pro 4.4.1
Reply With Quote
Reply
   X-Cart forums > Forum archive > Using X-Cart in my project > Need advice


Thread Tools

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 10:39 AM.

   

 
X-Cart forums © 2001-2020