U.S. flag An official website of the United States government
  1. Home
  2. About FDA
  3. About This Website
  4. Drupal Test Link page
  1. About FDA

Drupal Test Link page

Drupal Test Link page

Links to sections (Prior SS version):

ssNodeLink("nodeId" , "siteId")
ssNodeLink("nodeId")

Links to content (Prior SS version):
ssLink("dDocName" , "targetSiteId")
ssLink("dDocName")
ssLink("dDocName" , "targetNodeId" , "targetSiteId")

ssLink('dDocName')

Links to sections:

wcmUrl('nodelink','nodeId')
wcmUrl('nodelink','nodeId','siteId')

Links to content:

wcmUrl('link','dDocName')--]
wcmUrl('link','dDocName','nodeId')
wcmUrl('link','dDocName",'nodeId','siteId')

We also created some custom url patterns for downloads and external links.
Downloads (These resolved similarly to ssLink with the addition of "/downloads" at the front of the URL:
ssDownload('dDocName')
ssDownload('dDocName','nodeId')
ssDownload('dDocName','nodeId','siteId')
 

External Links ( pulled the URL to display from the metadata item referenced):
sExternalLink('dDocName)disclaimer icon
 

 Additional Resources Icon

Links to weblayout static resources; for example, images:

wcmUrl('resource','dDocName')

/ucm/groups/public/documents/adacct/mydocname.jpg

 

ssWeblayoutUrl('groups/fdagov-public/documents/image/ucm113123.gif')