Viewing 5 replies - 1 through 5 (of 5 total)
  • stuffen17

    (@stuffen17)

    Try this:

    [event]#_ATT{DESTINATION_URL}[/event]

    Placeholder only seem to work like this when using within content…

    caimin_nwl

    (@caimin_nwl)

    Depending on where you’re using that code, you may or not need to put the placeholder between shortcode tags. Can you tell us where you’re using it?

    Thread Starter foto3

    (@foto3)

    I am using it on the Single location page format area. Complete code is:

    <div style="float:right; margin:0px 0px 15px 15px;">#_LOCATIONMAP</div>
    <p>
            <strong>Location</strong><br/>
            #_LOCATIONNAME<br/><br/>
    	<strong>Address</strong><br/>
    	#_LOCATIONADDRESS<br/>
    	#_LOCATIONTOWN<br/>
    	#_LOCATIONSTATE<br/>
    	#_LOCATIONREGION<br/>
    	#_LOCATIONPOSTCODE<br/>
    	#_LOCATIONCOUNTRY<br/>
    </p>
     <strong>Website: </strong>
    <a href="http://#_ATT{DESTINATION_URL}” target="_blank">#_ATT{DESTINATION_URL}</a>
    
    <br style="clear:both" />
    #_LOCATIONNOTES
    
    <h3>Upcoming Events</h3>
    <p>#_LOCATIONNEXTEVENTS</p>
    caimin_nwl

    (@caimin_nwl)

    It should work like that. Is that capitalization and spelling correct?

    Thread Starter foto3

    (@foto3)

    Ok, after giving up I finally read the CUSTOM EVENT AND LOCATION FIELDS documentation again and under Location Attributes it says:
    They have a different placeholder, instead of #_ATT use #_LATT.

    The answer was using #_LATT instead of #_ATT.

    Everything is fine now.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Displaying custom field’ is closed to new replies.