OS Property support center

How to save Agent registration data in db???

More
10 years 11 months ago #30218 by syed
Can u show me how store agent registration data in database.in that how to get agent_id in listing.php page to sore in #__osrs_agent table.
please show me process of storing agent registration.

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #30226 by Mr. Dam
Hi,
When user register to become agent, there are 2 cases
1. If user is Joomla user (already registered and logged in before), the system will get user_id and add new record (agent) to table #__osrs_agents
2. If user is non-registered user, the system will create new Joomla user, and then, it gets user_id adn add new agent.
The agent store function is in file components > com_osproperty > classes > agent.php
Thanks
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan