Forums

Section Category for a Custom Form/Table

dolphinnose 02 Apr, 2009
Hi, I have created a custom form which is backed by a custom table (ie., not the jos_content) I have created. Everything works great! (Did I mention how cool and functional the ChronoForms is?)
However,how can I attach a section/categoty to it so that Joomla can display it under appropirate section/category (and thus I can enable to chronocommenting below each of the record that was created using chronoforms and displayed using chrono connectivity)

Thanks
GreyHead 02 Apr, 2009
Hi dolpinnose,

Sorry, I imagine that it is possible but I have no idea how to do it, maybe Max or BenBlee might be able to suggest something.

Bob
Max_admin 03 Apr, 2009
Hi dolphinnose,

Joomla can display it under appropirate section/category



this means that the record must be a content article in the content table, correct ?

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
dolphinnose 03 Apr, 2009
Hi Max,
Thanks for the reply. But I was hoping the content to not go into jos_content but in my own table. I figured it may not be possible as joomla looks at jos_content. I will have several such custom tables and cannot prolly change joomla to look at each of them (I am not even sure if Joomla lets me do it and even if it does it will be inefficient). For now, what I have done is, upon onSumbit(after email sent - I have another question in that regards) I append all the data field values to form "fulltext" and write to jos content and use the joomla to display it instead of chronoconnectivity (Originally using chrono connectivity). I had to do this so that I could enable the wonderful chronocommenting enabled for every database record created via chronoforms. (what i understoold was chronocommenting works per section/category/article level, wrong?).

Now the question:
If I enabled the email to no and still want my php code be called after form is submitted, where do i put the code?
Thanks
Subbu
dolphinnose 03 Apr, 2009
That is, I will be writing to both the joomla table and my custom table (In hope of implementing a better search against the fields instead of full text search). Not sure worth the effort to write to a different table.
Max_admin 04 Apr, 2009
Hi Subbu,

Now the question:
If I enabled the email to no and still want my php code be called after form is submitted, where do i put the code?



The onsubmit after email code will always run, regardless of the email status, but the before email one will only run if the emails are enabled! however, in RC4 you can force the before email code to run anyway through 2 PHP lines! if this is necessary!

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.