Custom form + custom control panel

coppo82 20 Feb, 2013
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
GreyHead 20 Feb, 2013
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
coppo82 07 Mar, 2013
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 :-)
GreyHead 07 Mar, 2013
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
GreyHead 08 Mar, 2013
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
coppo82 19 Mar, 2013
ok then i would like both way , support + remove the ads . please tell me how we can go on .

thanks a lot

Andrea.
GreyHead 19 Mar, 2013
Hi Andrea,

To remove the strap-line you can buy a subscription (click the Subscriptions menu above).

To get help, ask a question here or contact Max or me directly.

Bob
This topic is locked and no more replies can be posted.