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
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
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.😉
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
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 bob,
when we use JFactory::getUser it will call the login user....
when i want to call data from other user in the manager page....
does i need to user session? it will pop out current login user in the name field...
example;
login into manager->view details->status for approval
in the status for approval...i want this to pop up..
Name : xxx(Requested user name will pop up not the login person) <-- for this i had use
Age : XXX
Status : Accept / Deny
how can i recall it...the name of requested person and other field to be 'trigger'.
when we use JFactory::getUser it will call the login user....
when i want to call data from other user in the manager page....
does i need to user session? it will pop out current login user in the name field...
example;
login into manager->view details->status for approval
in the status for approval...i want this to pop up..
Name : xxx(Requested user name will pop up not the login person) <-- for this i had use
<?php
$user = JFactory::getUser();
$Name = $user->name;
?>
and recall it by<?php echo $Name ?>Age : XXX
Status : Accept / Deny
how can i recall it...the name of requested person and other field to be 'trigger'.
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
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
Thank you bob.
But in the code u given
how can i manage to recall another data?
But in the code u given
$user_xx =& JFactory::getUser(99);how can i manage to recall another data?
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
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.
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.
This topic is locked and no more replies can be posted.
