Hi to all , i have some problem to create a custom control panel
first of all i explain what i create
1 : i create myy own form list
- text box
- text box
- file upload
- captcha code
- submit button
on the event i configure so :
ON LOAD
- show html
- custom code ( for get the user id )
( <?php
$user =& JFactory::getUser();
$form->data['user_id'] = $user->id;
?>
- load captcha
ON SUBMIT
- Upload file
- DB SAVE
- Email
- Redirect user
evry things work fine , now my question is , how can i create a new page for display that information only to the user logged in with his right username and passwors ??
for example i log in with PIPPO that have user id 600
i would like to display all information that i get and save in the DB chronoforms_data but only the information about my USER .
i mean evry user can ONLY see his data information
Thanks a lot
first of all i explain what i create
1 : i create myy own form list
- text box
- text box
- file upload
- captcha code
- submit button
on the event i configure so :
ON LOAD
- show html
- custom code ( for get the user id )
( <?php
$user =& JFactory::getUser();
$form->data['user_id'] = $user->id;
?>
- load captcha
ON SUBMIT
- Upload file
- DB SAVE
- Redirect user
evry things work fine , now my question is , how can i create a new page for display that information only to the user logged in with his right username and passwors ??
for example i log in with PIPPO that have user id 600
i would like to display all information that i get and save in the DB chronoforms_data but only the information about my USER .
i mean evry user can ONLY see his data information
Thanks a lot
Hi coppo82,
Please see this FAQ which will tell you how to get info about the current user.
You can then use the User ID with a DB Load Record action to get the current user's record back from the database table.
Bob
Please see this FAQ which will tell you how to get info about the current user.
You can then use the User ID with a DB Load Record action to get the current user's record back from the database table.
Bob
Thanks for the answer, i look the FAQ like you told me but it doesn't work :-( there is not a support team that i can pay and maybe they can help me ???
thanks :-)
thanks :-)
Hi coppo82,
Well, there's Max and me and maybe someone else if you try the Professional Paid Services forum, but mostly there's just the two of us.
Bob
Well, there's Max and me and maybe someone else if you try the Professional Paid Services forum, but mostly there's just the two of us.
Bob
ok thanks , this week i will go in holiday i will contact you when i come back .
please told me which on i have to buy here http://www.chronoengine.com/subscriptions/purchase-a-subscription.html for get your support. i just need in one domain .
thanks.
Andrea.
please told me which on i have to buy here http://www.chronoengine.com/subscriptions/purchase-a-subscription.html for get your support. i just need in one domain .
thanks.
Andrea.
Hi Andrea,
You don't need to buy a subscription to get support; you do if you want to remove the tag line under the forms.
Bob
You don't need to buy a subscription to get support; you do if you want to remove the tag line under the forms.
Bob
ok then i would like both way , support + remove the ads . please tell me how we can go on .
thanks a lot
Andrea.
thanks a lot
Andrea.
This topic is locked and no more replies can be posted.
