How to change "Message in Top Line"

More
11 years 11 months ago #29419 by susanagarduno1
Hello,

In Template Manager > Hot Arquitecture > Template Layout parameters there is a parameter: Message in Top Line.

My boss want it would be a link. How could I convert this message that I put here "Ética - Compromiso Social - Responsabilidad" into a link?

My URL: cfd2.gvamundial.com.mx/prueba2/

Best Regards

Susana

Please Log in to join the conversation.

More
11 years 11 months ago #29423 by ivan.milic
Open templateDetails.xml , locate that parameter definition and and to that xml element this attribute :

filter="raw"

then try putting html markup with a tag instead of just text

Please Log in to join the conversation.

More
11 years 11 months ago #29449 by susanagarduno1
Sorry I couldn't find out how to insert <a> tag in the code.

I gess the code is this:

<field name="templateMessage" filter="raw" type="text" default="Your Message Here" label="TPL_HOT_ARCHITECTURE_LABEL_MESSAGE" description="TPL_HOT_ARCHITECTURE_DESC_MESSAGE" />

I inserted the filter="raw" but I didn't find the way to insert the link.

Could you please give me an example?

Susana

Please Log in to join the conversation.

More
11 years 11 months ago #29456 by ivan.milic
In parameter text box like this

<a href="your url...">link title</a>

Please Log in to join the conversation.

More
11 years 11 months ago - 11 years 11 months ago #29536 by susanagarduno1
I put the <a href="your url...">link title</a> in the template and it is already a link instead of just text.

But it is blue. What should I do in order the link would be white?

my url: cfd2.gvamundial.com.mx/prueba2/

Thanks

Susana
Last edit: 11 years 11 months ago by susanagarduno1. Reason: adding url

Please Log in to join the conversation.

More
11 years 11 months ago #29544 by ivan.milic
<a style="color:white;text-decoration:none;" href="your url...">link title</a>

Please Log in to join the conversation.

Time to create page: 0.167 seconds
Powered by Kunena Forum