First of all, I'd like to salute chronoENGINE for making this great component.
Beign a flash developer, my way of making forms before was to make standalone forms in flash with a custom form submission code that i'd stick on the joomla page and on the server. My Borg colleagues agree this is inefficient.🙄
I have fooled around with the component and I am highly impressed with its features and functionality.What i'm trying to figure out now is how to add a logged in user's USERNAME or EMAIL to my forms so when i recieve the form data, I can match it up to the right user and follow up with them e.t.c.
The example I found on this forum are for Joomla 1.5, however I still use Joomla 1.0 and these code snippets wont work for me.
How do I go about doing this in Joomla 1.0 ?
Please dont respond by asking me to search the forum. I have and I couldnt find what I was looking for.
regards,
webfaCe
Beign a flash developer, my way of making forms before was to make standalone forms in flash with a custom form submission code that i'd stick on the joomla page and on the server. My Borg colleagues agree this is inefficient.🙄
I have fooled around with the component and I am highly impressed with its features and functionality.What i'm trying to figure out now is how to add a logged in user's USERNAME or EMAIL to my forms so when i recieve the form data, I can match it up to the right user and follow up with them e.t.c.
The example I found on this forum are for Joomla 1.5, however I still use Joomla 1.0 and these code snippets wont work for me.
How do I go about doing this in Joomla 1.0 ?
Please dont respond by asking me to search the forum. I have and I couldnt find what I was looking for.
regards,
webfaCe
welcome to chronoengine, this post :
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=5&t=11176#p14068
replace the first line of code there by :
it will work!
Regards
Max
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=5&t=11176#p14068
replace the first line of code there by :
global $my;
it will work!
Regards
Max
ok great that works in displaying the name above my form. So then if i drop those vars in hidden form fields, chronoforms should send it along with the rest of the form data. The theory is solid. Lets test er out.arrow-right
brb
webfaCe
brb
webfaCe
Tried it out. Worked like a charm. Exactly what I wanted.
Thanks Max
For others here is the code I used
webfaCe
Thanks Max
For others here is the code I used
<?php
global $my;
?>
Name: <?php echo $my->name; ?><br />
Email: <?php echo $my->email; ?>
<input name="Username" type="hidden" value="<?php echo $my->name; ?>" />
<input name="Useremail" type="hidden" value="<?php echo $my->email; ?>" />
webfaCe
great!
This topic is locked and no more replies can be posted.