home > support > solution library > login
Adding a login to your website
Making it possible to login to TourCMS from your own website (rather than coming via the main login screens). Ideal if you are using the main supplier side of TourCMS in a multi-supplier environment (and want to control the login process) or if you want to add an agent login to your own website
Looking for the main login screens?
Supplier login and
TourCMS Marketplace agent login
Main login (Supplier side)
Parameter | Notes |
account | Account name (Max 30). You could pre-set this in your form and provide it as a hidden field |
username | Username (Max 12) |
password | Password (Max 12) |
return_url | URL for page (on your website) where the user is redirected back to when they logout (NON Mandatory). When the user is redirected back the paramater message is set to a message (e.g. you have logged out successfully) |
Submit the form to
https://admin.tourcms.com/admin/login_new.php as a POST
e.g. this HTML
... creates this (working) form....
TourCMS Marketplace login (Agent side)
Parameter | Notes |
username | Email address (Max 200) |
password | Password (Max 12) |
return_url | URL for page (on your website) where the user is redirected back to when they logout (NON Mandatory). When the user is redirected back the paramater message is set to a message (e.g. you have logged out successfully) |
Submit the form to
https://admin.tourcms.com/partner/login_new.php as a POST
e.g. this HTML
... creates this (working) form....
You may also like to, in Configuration & Setup (of your TourCMS account), state where you have put your agent login form. Then when TourCMS sends notifications to your agents the system will tell them to login via your website rather than via the main TourCMS agent login.