Database Question
Permalink
I have installed a C5 website for a customer. They also want another site for mobile devices. I added a folder named "mobile" in the root, and installed a second C5 website running the mobile_phone theme. I then went and added a redirect for mobile devices in the .htaccess file of the main site. Works great!! Go to the main site with a mobile device and it auto directs in a split second to the mobile site....
HERE IS MY PROBLEM... How can I make both sites use the same login info for users? I don't want my the customers of my customer to have to register twice to use two sites that are connected.
Have been up all night installing sites. Hope my lack of sleep hasn't garbled this plea for help.....
HERE IS MY PROBLEM... How can I make both sites use the same login info for users? I don't want my the customers of my customer to have to register twice to use two sites that are connected.
Have been up all night installing sites. Hope my lack of sleep hasn't garbled this plea for help.....
OMG! Thank you for the speedy reply. This place rocks as hard as this CMS!! If I use that add on you speak of...what is the name?
If it didn't distort the theme, and some content things didn't go haywire...just maybe. If an add-on could do the trick, I would be tickled s***less!
If it didn't distort the theme, and some content things didn't go haywire...just maybe. If an add-on could do the trick, I would be tickled s***less!
Mobile Theme Switcher by the guys at Concrete5
http://www.concrete5.org/marketplace/addons/mobile-theme-switcher/...
http://www.concrete5.org/marketplace/addons/mobile-theme-switcher/...
Yes, if it was only as easy as using only 1 site. My family curse apparently won't allow THAT. Ha haa. Look like I am going to have to do the event and job thingy you spoke of. Tried that add-on....no dice, am already using that theme on second site. Really do need 2 sites...one (the mobile)is to be used by customers in the field...Soooo, now on to research the other solution. Thanks again for your speedy reply and knowledgeable help.
PS
Would that on_user_add event thingy be in /on register.php?
PS
Would that on_user_add event thingy be in /on register.php?
You need to look up events and how to hook into them in the documentation.
Hope that helps
Hope that helps
I hope it does...thanks again.
If you really must use two sites you'll need to catch the on_user_add event on one site and call a job on the other site, which you'll need to script to add the user with the same credentials on the other site. Sounds like a single site with the theme switching add-on would be better.