Thread tagged as: Question, Forum

Regions Formatting

Hi again,

Is it possible to have a region that will display both plain text and html?

I have a region setup to show notifications at the top of a page. Mainly it will be plain text I enter in the admin section but I might need to include links every now and then such as <a href="contact.php">Contact Us</a> but this just appears as plain text.

Thanks again. Conor

Conor Harkins

Conor Harkins 0 points

  • 4 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

What does your template look like?

<div align="center" class="<perch:content id="class" type="text" label="Class" required="true"/>">
    <perch:content id="Alert" type="textarea" label="Alert Text" required="true"/>
Hussein Al Hammad

Hussein Al Hammad 105 points
Registered Developer

Hello Conor,

You can add html="true" to allow HTML formatting

<perch:content id="Alert" type="textarea" label="Alert Text" html="true" required="true"/>

Awesome! Thanks Hussein!