Hi!
I have a tag called #PubsPageLink# that contains an href link, but I want the #title# tag to use that same variable, as well.
Obviously, using... <a href='http://#PubsPageLink#'>#title#</a> ...is too simplistic an approach. But what would be an effective way to grab that href variable and apply it to separate tag?
#PubsPageLink# is currently setup to output a text link that reads "Read More..."
<cftry>
<CFQUERY NAME="Pubs" datasource="Library" maxRows="4">
SELECT citation, title, journalName, PubsPageLink,
Year(FROM_UNIXTIME(Pubs.datePublishedConfirmed)) AS Date
FROM Pubs
ORDER Pubs.DatePublishedConfirmed DESC
</cfquery>
<cfoutput query="Pubs">
<cfif #citation# is not "">
<strong>#title#</strong> | #PubsPageLink#<em>#journalName#</em> #date#
<br><br>
</cfif></cfoutput>
<cfcatch></cfcatch>
</cftry>