Announcement

Collapse
No announcement yet.

ASCII Character Encoding on Variable

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    ASCII Character Encoding on Variable

    Hi,

    I am trying to interlink sections however when matching the Section URL's one variable shows it different to the other as follows:

    1. P%5fAll%2dOut%2dPlay%2dGatehouse%2dWooden%2dPlayhouse%2ehtml

    2. P_All-Out-Play-Gatehouse-Wooden-Playhouse.html

    Is there anyway to force the variable to either show it as ASCII Characters or as standard text?

    My goal is as follows:
    Code:
    <actinic:block type="EntireSectionList" >
    <actinic:block if="%3cactinic%3avariable%20name%3d%22SectionPageName%22%20%2f%3e%20%3d%3d%20%3cactinic%3avariable%20name%3d%22FragmentLinkedItemID%22%20%2f%3e" >
    	<actinic:variable name="SectionPageName" />
    </actinic:block>
    </actinic:block>
    Basically its displaying all the sections then saying if the section URL is the same as the fragments linked item URL then display that items page name.

    Thanks,
    Simon
    www.simonstaton.co.uk

    #2
    SOLVED Just clicked on the second variable and encoded it as a url
    www.simonstaton.co.uk

    Comment

    Working...
    X