Forums

javascript or php code for autopublic

marcobottone 26 Jun, 2007
I love this component..But I have a questions..I can use a javascript or php code for autopublic the forms like article in my content/section?????????
If are yes, you give me a code please...I am not a progammator...:laugh:
GreyHead 27 Jun, 2007
Hi marco,

Either use the mambot to put the form in an 'ordinary' content page; or use the form link to show the form page on a menu.

The form link shows up on the Forms manager from v2.1 on and looks like
index.php?option=com_chronocontact&chronoformname=test_form


replace 'test_form' with the name of your form and create a URL link using the Joomla Menu Manager.

Bob
Max_admin 27 Jun, 2007
hi,

I guess Marco needs the form results to be stored as a content item ?

if yes then you will need some PHP code on the onsubmit code box to insert it in the content table in the database!!

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
marcobottone 27 Jun, 2007
yes I need to archive the result like a contnet if are possible in atomatic mode and in specific category/section....I don't know the PhP language, you can hel me for the code to insert in php box???
thank's Marco:)
Max_admin 27 Jun, 2007
Marco,

Thats not as easy as you think since I must look at the content table and arrange my fields with the table fields, Iam very busy nowadays, may be you can make some efforts and we will be glad to look at your code and tell possible fixes!!

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.