VirtueMart Forum

VirtueMart General => About VirtueMart - not for support posts => Topic started by: maxance on December 07, 2005, 13:21:37 PM

Title: How to make a real demo shop server like on virtuemart.net ?
Post by: maxance on December 07, 2005, 13:21:37 PM
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
Title: Re: How to make a real demo shop server like on vi
Post by: Soeren on December 07, 2005, 21:30:34 PM
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
Title: Re: How to make a real demo shop server like on virtuemart.net ?
Post by: maxance on December 08, 2005, 12:21:37 PM
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 !