Give a monkey a keyboard and enough time and he'll write code.... somehow I fixed it.
i will leave it here so other may need it as I did....
I needed to pass data from one field into a link if there was data, if not, just use an image.
<% my $string; %>
<% if (!$EVENT->{details}->{ticketwebid} ){ %>
<% $string = "<img src=\"notix.gif\">"; %>
<% } else { %>
<% $string = "<a href=\"http://www.someticketsite.com/user/?region=nc&query=detail&event=$EVENT->{details}->{ticketwebid}&interface=blaablaa\"><img src=\"yesticket.gif\"></a>"; %>
<% } %>
<% print $string; %>
Basically I have a custom feild call ticketwebid.
If there is no entry for it, display the notix.gif.
If there is a entry, paste it in the string for the link and use the yesticket.gif.
This will be used in the Month view and the Event View.
[This message has been edited by Alvy (edited July 20, 2003).]
[This message has been edited by Alvy (edited July 20, 2003).]