Hello,
for the registered users i've made a form to submit articles. At the same time it sends an email to the administrator.
So far so good. All works fine. My only problem is that the articles dont show html. (<br /> and <p>)
The Email looks correctly.
Any idea what to do?
- Tobi
for the registered users i've made a form to submit articles. At the same time it sends an email to the administrator.
So far so good. All works fine. My only problem is that the articles dont show html. (<br /> and <p>)
The Email looks correctly.
Any idea what to do?
- Tobi
Hi tobi,
Is the HTML saved in the database? You may need to debug to find out exactly where it is being removed.
Bob
Is the HTML saved in the database? You may need to debug to find out exactly where it is being removed.
Bob
Hi Bob, thx for reply
yes data is saved.
Heres my code:
yes data is saved.
Heres my code:
Array
(
[autor] => Test User
[titel] => Test
[text] => This is a test message!
This text comes after a break.
[senden] => Send
[a4a825de94d464e4e16b6849da53d1ea] => 1
[chronoform] => News
[event] => submit
[format] => html
[Itemid] => 265
[option] => com_chronoforms
[view] => form
[chronoform_data] => Array
(
[cf_uid] => 69f809ee8250cd289f4133afaf9cfb98
[cf_created] => 2011-11-02 16:50:27
[cf_ipaddress] => ###.###.###.###
[cf_user_id] => 63
[autor] => Test User
[titel] => Test
[text] => This is a test message!
This text comes after a break.
[senden] => Send
[a4a825de94d464e4e16b6849da53d1ea] => 1
[chronoform] => News
[event] => submit
[format] => html
[Itemid] => 265
[option] => com_chronoforms
[view] => form
[cf_id] => 4
)
[chronoform_data_cf_id] => 4
[created_by] => 63
[created] => 2011-11-02 16:50:27
[catid] => 63
[sectionid] => 0
[state] => 1
[title] => Test
[fulltext] =>
[introtext] => This is a test message!
This text comes after a break.
[created_by_alias] => Test User
[alias] => test
[id] =>
[Article] => Array
(
[cf_uid] => 25cf7fe4247aac23ad0e441f191c7708
[cf_created] => 2011-11-02 16:50:27
[cf_ipaddress] => ###.###.###.###
[cf_user_id] => 63
[autor] => Test User
[titel] => Test
[text] => This is a test message!
This text comes after a break.
[senden] => Send
[a4a825de94d464e4e16b6849da53d1ea] => 1
[chronoform] => News
[event] => submit
[format] => html
[Itemid] => 265
[option] => com_chronoforms
[view] => form
[chronoform_data] => Array
(
[cf_uid] => 69f809ee8250cd289f4133afaf9cfb98
[cf_created] => 2011-11-02 16:50:27
[cf_ipaddress] => ###.###.###.###
[cf_user_id] => 63
[autor] => Test User
[titel] => Test
[text] => This is a test message!
This text comes after a break.
[senden] => Send
[a4a825de94d464e4e16b6849da53d1ea] => 1
[chronoform] => News
[event] => submit
[format] => html
[Itemid] => 265
[option] => com_chronoforms
[view] => form
[cf_id] => 4
)
[chronoform_data_cf_id] => 4
[created_by] => 63
[created] => 2011-11-02 16:50:27
[catid] => 63
[sectionid] => 0
[state] => 1
[title] => Test
[fulltext] =>
[introtext] => This is a test message!
This text comes after a break.
[created_by_alias] => Test User
[alias] => test
[id] => 225
)
[article_id] => 225
)
Hi tobisagt,
The debug info doesn't tell us anything very useful here. Please use PHPMyAdmin to check exactly what is being saved in the database.
Bob
The debug info doesn't tell us anything very useful here. Please use PHPMyAdmin to check exactly what is being saved in the database.
Bob
Hi tobisagt,
Hmmm I still can't tell much :-(
Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.
Bob
Hmmm I still can't tell much :-(
Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.
Bob
Hi tobisagt,
It all looks Ok here - see the images below: the form, the database entry and the article.
Bob
[attachment=2]07-11-2011 12-28-35.png[/attachment]
[attachment=1]07-11-2011 12-29-29.png[/attachment]
[attachment=0]07-11-2011 12-31-53.png[/attachment]
It all looks Ok here - see the images below: the form, the database entry and the article.
Bob
[attachment=2]07-11-2011 12-28-35.png[/attachment]
[attachment=1]07-11-2011 12-29-29.png[/attachment]
[attachment=0]07-11-2011 12-31-53.png[/attachment]
Hi Bob,
ok, that was an misunderstanding, sry for that! ๐ถ
I know he writes html if i write it in the textarea.
But what i want is, if i press the enter button it should insert a <br /> tag.
My user dont know anything about HTML, so its necessary.
ok, that was an misunderstanding, sry for that! ๐ถ
I know he writes html if i write it in the textarea.
But what i want is, if i press the enter button it should insert a <br /> tag.
My user dont know anything about HTML, so its necessary.
This topic is locked and no more replies can be posted.
