9 years ago
Topic

Hi all,

I would like to add html to a field via the typo HTML plugin. For instance 

<div class="myclass_a"><span>$cck->getValue('my_field');</span></div>

I need for instance the <span> tag around my field in the source code to give me more design options. Would this be the right way to achieve this?

tnx :)

Jaap

Get a VIP membership
9 years ago
1
Level 1

Hi,

Yes, just remove the ';' and it should do the trick.

Have you tried and get some errors or unexpected behavior ?

Olivier 

9 years ago
0
Level 2

Hi Olivier,

That was indeed the problem. So easy to solve.. I guess it was late that night.

thanks!

Get a Book for SEBLOD