5 years ago
Topic

Hello!

I do a search and can not find some help to this questions.

I would like to know if there is a way to add some styles into a textarea field, i need add some customizations like bold text and link tags for some words:

< b >< /b> 

< a >< /a>

Examples

• I am a text bold, into a seblod textarea field  

•  It is a good book to read!


In my test I add style codes but all code was wiped out from the fields textarea, and text field too. I would like a solution guys!

Thanks so much!

Get a Book for SEBLOD
1283 Posts
Bucklash
5 years ago
5
Level 1

4229 Posts
Kadministrator
5 years ago
4
Level 2

textarea should respect filtering settings set in Joomla and Seblod config, so they depend on the group you user belongs to.

5 years ago
3
Level 3

Thanks for reply Klass,

I am trying add html in Form admin, into administration joomla, so I use Super User, Admin to add html into textarea field, but after save, all code is wiped out from the field. turn clean of codes.

I was go to joomla configutarion in text filter, and can confirm that Super user has no filter. And I add no filter to Public user too. I test again, and not work yet. html code is still wiped out. I go to seblod option, and can see that in "Forbidden Extensions in Archive/Content Files" is set to "none"

4229 Posts
Kadministrator
5 years ago
2
Level 4

Hi,

there is also a FIlter setting in the textarea field configuration, set that to No.

5 years ago
0
Level 5

Great Klass. Work Perfectly!

Thanks so much for help!

5 years ago
0
Level 5

Klass i found some obstacle here. Please, is possible to fix?

I need add several links in seblod fields, Was perfect several fields. work nice. BUT in field "Select Multiple" is one o can NOT add links. the link are being "cut" 

Exemple:

Into Select Field, i choose MULTIPLE

In 3 options i add:

DOG

CAT

BIRD

I add a link for each option, exemple:

< a href="/page.com/dog">DOG< / a>

< a href="/page.com/cat">CAT< / a>

< a href="/page.com/bird">BIRD< / a>

Ok, it is save perfect, and the code remains ok. BUT when it is plublish on site, options desapear, bring only it:

< a href

< a href

< a href

All rest of html desapear. BUt if you go to set the fiel select it is all perfect! the code is there complety correct!

OK! the simbol =  (EQUAL ) is being cause of this problem, becouse the field reconize that a Equal simbol from  h r e f = " " is the value for that option! So I ask you, there is a way to fix it dear!

NOTE: I have to add some spaces in this message to editor do not transform in links.

Thanks for all your help.

5 years ago
1
Level 1

Morning Klass!

There is a solution to this quention about select field not publish html codes correctly?

i ll be very grateful

Thanks!

4229 Posts
Kadministrator
5 years ago
0
Level 2

Links inside select are against the html specification and will not work. Your only option is to have target url in custom property and add some javascript that will react to the selection and redirect to the url specified in the property.

Get a VIP membership