How to make a real demo shop server like on virtuemart.net ?

Started by maxance, December 07, 2005, 13:21:37 PM

Previous topic - Next topic

maxance

Hi,

I just check the demo page of virtuemart.net and when i log with the demo account on the admin backend, i arrive directly on the virtuemart component page, without possibility to interact with other joomla components or jommla configuration site. I would like to make a demo on my site too with a such user, so that people can view the product in demonstration mode only (no modification really taken into account). How is it possible to configure Joomla admin backend or Virtuemart backend,  to get directly on the virtuemart component home page, instead of the joomla classic admin page, and how restrict demo user only to virtuemart component ?

Thanks for your support

Soeren

It can't be configured.
You must modify the files

/administrator/index2.php and
/administrator/index3.php

to redirect the user to "option=com_virtuemart".

That's not as easy as just configuring.

ciao, Soeren
The future of eCommerce: VirtueMart & Joomla!
http://virtuemart.net

maxance

Ok thanks Soeren,

Could you explain me more precisely what the php code diff you inserted in administrator/index.php...
test of user and redirection code ?
I am not a php expert.

Thanks for your support.
And congratulation for your work !