How do i get the article title as subject

snow crash 19 Nov, 2008
hi,
i searched the forum but didn`t find a sollution.

i tried this as a hidden field
<input type="hidden" name="title" value="<?php echo $row->title; ?>" />

and made a dynamic subject with the fieldname above in it
but nothing shows in the email subject.
rest of the email content works fine

thx for any help

cheers
sven
Max_admin 19 Nov, 2008
Hi sven,

when you view the page source, can you see the subject in the hidden field data ? try with a text field to be able to see it first!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
snow crash 20 Nov, 2008
hi max,
when i view the source code the value is emty.

my form code
<tr>
<td>
<input type="hidden" name="title" value="<?php echo $row->title; ?>">
</td>

<td>
<input class="cf_inputbox" maxlength="150" size="30" id="title2" name="title2" value="<?php echo $row->title; ?>" type="text">
</td>
  </tr>


source code
 <tr>
    <td>
    <input type="hidden" name="title" value=""></td>

    <td>
    <input class="cf_inputbox" maxlength="150" size="30" id="title2" name="title2" value="" type="text">
</td>
  </tr>

do i need some code in the onsubmit before email box?

cheers
sven
Max_admin 21 Nov, 2008
Hi Sven,

Well, I gave this a reasonable amount of tests since yesterday and due to the way the current plugin runs this will be impossible, I did this code with another Chronoforms plugin which shows the form at the end of the article by default, let me know if you are interested in this one!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
snow crash 28 Nov, 2008
hi max,
this would be nice. is it possible to select an specific section or catgorie to show the form in?
right now the form is shown in a java script slide ( JCH Tabs & Slide plugin). it would be great if i could still place it there.

this way it looks in the editor

{slide= Anfrage:}

{chronocontact}objektanfrage{/chronocontact}
{/slide} 


cheers
sven
Max_admin 28 Nov, 2008
Hi Sven

the other plugin shows the form by default at the bottom of the article and you select which sections/categories/articles will have the form, is this a one you need ? let me know!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
markcrobinson 25 Sep, 2009
I would be interested in this plugin. Which one is it?

thnx
GreyHead 25 Sep, 2009
Hi markcrobinson,

I guess this was something that Max experimented with but never published. You could ask him through the 'Contact Us' form here.

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