Forums

how to use cf to make articles

lennart 22 Aug, 2009
I want my visitors to be able to write or publish articles on my website. I am talking about visitors without specific Joomla-knowledge. But I don't like to use "Article Submission Layout": to complicated for my users. And I want to customize html: create the right layout right away. Likewise customized emails are being created by chronoforms, I would like to let chronoforms create articles.

Is there an example of how to do this? I have seen the pdf's, so I know it should be possible. But if there is a more detailed example somewhere...

Thanks!
GreyHead 22 Aug, 2009
Hi lennart,

Use the Submit Content form that you can download from the Downloads area here. There are several conversations about it in the forums here.

Bob
lennart 22 Aug, 2009
Hi Bob,

:oops: Right, submitcontent.cfbak ... how could I miss it!??? 😶

I will give it a try! Thanks a lot!
lennart 25 Aug, 2009
Tried that! Nice, but not really what I want.

Now I am trying to make a form that sends me html. The html I can easily insert into to an article. My form asks for a name.
This is a small part of my email template now:
<table class="adres-therapeut" border="0">
<tbody>
<tr>
<td class="praktijknaam">{naam}</td>
</tr>
</tbody>
</table>

(I left out the rest of the form to make this readable. This example should be enough to make my point)

What I want to come out is:
<table class="adres-therapeut" border="0">
<tbody>
<tr>
<td class="praktijknaam">Johnson</td>
</tr>
</tbody>
</table>


:( But what really comes out now is just:
<table cellpadding="0">
<tr>
<td><p>Johnson</p></td>
</tr>
</table>


All css classes en stuff like that: gone! How can i keep the css-details, how can I become exactly the html mail in my inbox? Is there a trick???

Thanks!
GreyHead 25 Aug, 2009
Hi lennart,

Nothing in ChronoForms will change your email template . . . but the HTML editor might. Have you turned it off?

Bob
lennart 04 Sep, 2009
How to turn what html-editor off???

For the moment I found this solution:

[table class="adres-therapeut" border="0">
[tbody>
[tr>
[td class="praktijknaam">Johnson[/td>
[/tr>
[/tbody>
[/table>

That's what I receive now. No html-editor changes code it can't read. I let dreamweaver search for every [ en change it into < and I have my html.
GreyHead 05 Sep, 2009
Hi lennart,

The Email template editor is a so-called "rich editor" it strips out some htlm and css code when you save the template. You can turn this off and use a plain textarea instead if you want to enter extra code or php. The editr is turned on and off in the Email Setup Properties box.

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