× 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

Wrong behaviour in text field

More
4 years 4 months ago #5281 by Cippa
Wrong behaviour in text field was created by Cippa
Hi all.

I have noticed from some days that the text written in a text box is not displaying properly in the catalog view, like in the following image

Attachment wrong.JPG not found



When I type it in the joomla editor page, and then reopen the record, it looks correct, as in this image:

Attachment right.JPG not found



I don't remember if this happened after a joomla update or not.
The free version of the joodb installed is the 3.9.5

I have not changed anything in the configuration of the DB nor the joodb extension.

I have also tried to copy it in another table's text field, but the glitch is still there.

Does anyone know the reason of this behaviour?

Thank you for your help.

This message has attachments images.
Please log in or register to see it.

Please Log in to join the conversation.

More
4 years 4 months ago #5282 by Dirk
Replied by Dirk on topic Wrong behaviour in text field
It seems to be a CSS Problem!

JooDB generates a Definition list for the Fields in a Table.

Look in your Template!
There should be something like
<dl>
....
<dt>Storie Note</dt>
<dd>{joodb field|storie_note}</dd>
...
</dl>

Remove this field from the list and try
<h4>Storie Note</h4>
<div>{joodb field|storie_note}</div>
instead!

You could also try tor copy /media/joodb/css/ to your template CSS folder and remove or change the definition list css statements.

Please Log in to join the conversation.

More
4 years 4 months ago #5285 by Cippa
Replied by Cippa on topic Wrong behaviour in text field
Hi Dirk,

you were right. I just edited the Single-Entry template according to your suggestion, but I used this tag:

<dd><div>{joodb field|Storie_Note}</div></dd>

This way the layout is more nice looking, and all the fields are aligned.

Thank you so much for you rquick reply.

Have a nice week end.

Please Log in to join the conversation.

Moderators: Dirkjoest