The displayPrintFriendly tag does not cater for sympolic links
The following is doing the trick
farcry_core\tags\navajo\displayPrinterFriendly.cfm
<!--- grab the object we are displaying --->
<cftry>
<q4:contentobjectget objectid="#url.ObjectID#" r_stobject="stObj">
<CFCATCH type="Any">
<cflocation url="" addtoken="No">
<!--- TODO:
log this error if it occurs
or perhaps provide URL 404 type error for user
--->
<cfabort>
</CFCATCH>
</cftry>
<!--- AJM: check to see if it is a symbolic link --->
<cfif isDefined("stObj.EXTERNALLINK") AND len(trim(stObj.EXTERNALLINK))>
<cftry>
<q4:contentobjectget objectid="#stObj.EXTERNALLINK#" r_stobject="stObj">
<CFCATCH type="Any">
<cflocation url="" addtoken="No">
<!--- TODO:
log this error if it occurs
or perhaps provide URL 404 type error for user
--->
<cfabort>
</CFCATCH>
</cftry>
</cfif>
---
You are currently subscribed to farcry-dev as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/
