plainblack.com
Username Password
search
Bookmark and Share

ParentPageURL

How do I make it a link where it links back to itself?

Eventually I would like to modify this module to be strictly ParentPage(<home assetId>,<property>); where property can be title, url, etc.

For now, on my server I have created a copy of ParentPageTitle.pm and renamed to ParentPageURL.pm.  Go through the same process to add to your configuration.  If you edit the module so anywhere you see $asset->get('title') change to $asset->get('url').

You can then link like:

<a href="^ParentPageURL('..');">^ParentPageTitle('...');</a>

--
Lenny Leblanc

System RequirementsPlease be advised: this contribution was tested with something older than WebGUI 7.5. When this contribution was uploaded there was no field for the author to fill out regarding it's requirements.
Comments
DownloadParentPageURL.pm ParentPageURL.pm
LinksNo Support Offered
Statistics Downloads: 461
Views: 2550
Rating: 0
Updated: 12/6/2007
Keywords macros
NavigationBack to the Bazaar
© 2018 Plain Black Corporation | All Rights Reserved