Keywords in keyword modifier


(Mitch Kerry) #1

Hi all

 

I've never got the hang of this.

 

Say I want a link to show differently depending on an asset metadata value..with the href of the link another metadata value.

Something like this:

 

%asset_metadata_value.att^contains:no: <a href="%asset_metadata_value2.att1%">link</a> (or if not 'no') <a  ref="%asset_metadata_value2.att2%">link</a>

 

How do I escape out the href keywords to display correctly?

 

Appresh any help.

 

M

 


(Mitch Kerry) #2

Here's the solution

 

<a href="%asset_metadata_value.attt^replace_keywords:contains:no:{asset_metadata_value2.att1}">Link 1</a>:{asset_metadata_webinar.value2.att2}">Link 2</a>%

 

Thanks Pono

 

M


(Anthony Ponomarenko) #3

:)