Avatar

Ryan Griffith

  • Total activity 346
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 6
  • Subscriptions 179

Activity overview

Latest activity by Ryan Griffith
  • Avatar

    Ryan Griffith commented,

    OK, so that narrows it down to the abbreviation. Are you using this version of that macro? Try the following when you have a moment and let me know if anything changes: #set ( $content = $_Serializ...

  • Avatar

    Ryan Griffith commented,

    Ah, so back to square one there. What happens if you temporarily remove the #abbreviateHtmlString call? #set ( $content = $data.getChild("content") )<div>${_SerializerTool.serialize...

  • Avatar

    Ryan Griffith commented,

    Hi Emily, Try removing the usage of the Escape Tool and let us know if that helps: <div>${content.trim()}</div> 

  • Avatar

    Ryan Griffith commented,

    Hey Igor, Similar to updating Files using SOAP Web Services, you would pass the base64_coded file data into the data property when creating/updating the File. You can read an existing File for an e...

  • Avatar

    Ryan Griffith commented,

    You won't be able to accomplish this using a single Velocity Format unless you are using a single Page region to output the entire Page's content. Instead, I highly recommend applying an XSLT Forma...

  • Avatar

    Ryan Griffith commented,

    Hey Steve, Are you referring to the  createdOn property or a Structured Data field called created-on? If the former, you can adjust your Query API to use the following: #set ( $query = $query.sortB...

  • Avatar

    Ryan Griffith commented,

    Hey Steve, It looks like you are mixing Cascade API objects with the XPath Tool, which is mean for XML Elements (i.e. objects present when using an Index Block). Additionally, it appears you may be...

  • Avatar

    Ryan Griffith commented,

    Hey Joseph, The issue you were running into is that $_XPathTool.selectNodes will give you an array of elements where as $_XPathTool.selectSingleNode will return a single element. Use the later when...

  • Avatar

    Ryan Griffith commented,

    Hey Matt, The value passed into the getStructuredDataNode/getStructuredDataNodes methods would be based on the group and/or field identifier specified within the Data Definition. If you want to acc...

  • Avatar

    Ryan Griffith commented,

    Hey Joseph, If you just want to output the first occurrence, the simplest solution would be to loop over those items, check to see if the title exists within a lookup table and output it if not alr...