how can i make a manager approval page?
when user submit data...
it will go to the manager page to be approve...
can i use cf or cc?
or any other extension?
or any suggestion..plz
Hi elyash7,
You can do it with ChronoForms and ChronoConnectivity.
In the form table include a 'status' column and set it to 'unapproved' when the form is first saved.
Use ChronoConnectivity to show managers a list of 'unapproved' posts and add a 'View Details' link to a form that shows the full details and had 'approve' and 'disapprove' submit buttons on it. When this form is saved update the status according to the Submit button used.
Bob
hye bob,
thank you for the idea.
Just wanna ask when the manager view details it link to chronoconnectivity and view the unapproved request. but for the manager to submit approve or unapproved does it relate with {edit_record}.
can u brief more details on it?
Thank you for reply. Really appreciate it.😉
Hi elyash7,
I wouldn't use {edit_record} - I'd just build a link directly to an approval form but the idea is the same.
Bob
Hi elyash7,
You can also use the code with a User ID e.g. $user_xx =& JFactory::getUser(99);
So if you know the User ID you can get all of their info with this method.
Bob
Hi elyash7,
The '99' is the user id here - it could be any number. You presumably have got it from the Approval link in some way.
Usually you save the record data including the User ID and a unique random string identifier in a database table; add the unique identifer to the URL you show or send to the Manager; then use it to recover the saved record from the database.
Bob
hye bob,
what u said before i get it until you mention about " add the unique identifer to the URL you show or send to the Manager......then use it to recover the saved record from the database."
it quiet seem i'm confuse here....
sory,your word might be complicated as im not quite good in english.
Thank you for your help.
Hi elyash7 ,
Please sit down with a pencil and paper and work out the flow of forms and links until you have it clear.
Bob