English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?

Getting site_id while in Virtuemart
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Getting site_id while in Virtuemart
#5244
Getting site_id while in Virtuemart 14 Years, 3 Months ago Karma: 0
Hello,

I'm using last JMS with VirtueMart 1.1.5 (and Joomla 1.5.20)

I have 3 websites sharing the same database (master).
The categories have an attribute defining one or more web sites to which they belong.

How can I retrieve the "site_id" in order to compare the attributes and assign if ok category X" to ShopA and/or shopB and/or shopC ?

Thank you in advance.

T.
themis94
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#5245
Re: Getting site_id while in Virtuemart 14 Years, 3 Months ago Karma: 54
Different solutions.
If this is in PHP, you can use the MULTISITES_ID define value that contain the site_id.

If this is in a description, articles, you can also use the plugin Multisites ID that you can download at
www.jms2win.com/free-download/doc_downlo...multisites-id-plugin
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#5249
Re: Getting site_id while in Virtuemart 14 Years, 3 Months ago Karma: 0
Hello,

MULTISITES_ID is perfect for what I need

Thank you, this was so easy finally

bye

T.
themis94
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla