×
If you expect answers you should describe your problem and give as much information's as possible. (SQL-Structure, Template Code, Joomla Version ...) Please read this before posting: joodb.feenders.de/support.html
HTML-Tags in field
- biugiu
- Topic Author
- Offline
Less
More
- Posts: 2
- Thank you received: 0
6 years 6 months ago #4882
by biugiu
HTML-Tags in field was created by biugiu
I have a db-entry with <br/> -tags. . The value in the db is correct with the <br/> -Tags but when i display the data with {joodb fieldname} the value is returned as string without the html tags. How can I get the value with the html tags?
Thanks for your help
Thanks for your help
Please Log in to join the conversation.
- Dirk
-
- Offline
Less
More
- Posts: 1222
- Thank you received: 226
6 years 6 months ago #4883
by Dirk
Joodb does not change the output of text or varchar fields. Only if they are urls or emails.
Can you tell us what kind data this field is? (VARCHAR,TEXT,BLOB)
Btw: use {joodb field|fieldname} ... {joodb fieldname} might be a function!
Replied by Dirk on topic HTML-Tags in field
biugiu wrote: I have a db-entry with <br/> -tags. . The value in the db is correct with the <br/> -Tags but when i display the data with {joodb fieldname} the value is returned as string without the html tags. How can I get the value with the html tags?
Joodb does not change the output of text or varchar fields. Only if they are urls or emails.
Can you tell us what kind data this field is? (VARCHAR,TEXT,BLOB)
Btw: use {joodb field|fieldname} ... {joodb fieldname} might be a function!
Please Log in to join the conversation.
- rogercreagh
- Offline
Less
More
- Posts: 10
- Thank you received: 1
6 years 6 months ago #4884
by rogercreagh
Replied by rogercreagh on topic HTML-Tags in field
I have the same problem. Any field with html tags in it (for example a description field with formatting) initially displays the html correctly but if you edit the item you see the html tags in the field but when you save it they are stripped out.
In my case this is a VARCHAR(2000) field.
So how can we stop the joodb form save routine stripping out html tags when writing to the database?
Related to that is there a way to have a the edit form display a text area for a field rather than a simple text box. And better yet is there a way to have an rtf editor (eg tinymce, the system editor) for a field?
In my case this is a VARCHAR(2000) field.
So how can we stop the joodb form save routine stripping out html tags when writing to the database?
Related to that is there a way to have a the edit form display a text area for a field rather than a simple text box. And better yet is there a way to have an rtf editor (eg tinymce, the system editor) for a field?
Please Log in to join the conversation.
- jcollsabc
- Offline
Less
More
- Posts: 39
- Thank you received: 3
6 years 6 months ago #4893
by jcollsabc
Replied by jcollsabc on topic HTML-Tags in field
I vaguely recall having a similar problem which I fixed by disabling the Text editor for this component. Try turning off your editor (set to none) and then see if the issue occurs. In my case JCEeditor was not playing nicely with JooDB and so I used the JCE settings to disable its use for JooDB.
Hope this helps.
Hope this helps.
The following user(s) said Thank You: Dirk
Please Log in to join the conversation.
Moderators: Dirk, joest