Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Is it possible to have something eq nothing?

Quote Reply
Is it possible to have something eq nothing?
I'm attempting to show something on the details page of the individual links.

I have something like <%if textdeck eq ''%>No Text Deck submitted by <$LinkOwner%><%else%><%Plugins::ULTRAGlobals::NL_2_BR($textdeck)%><br><br><%endif%>

When I build the links pages, I get:
A fatal error has occured:
Illegal modulus zero at .....
Is there a way of doing what I'm attempting to do, which is basically if the textdeck field in the database is empty, then write on the page, "No Text Deck submitted by LinkOwner, otherwise print the textdeck field to the detailed page.

Thanks,

Just as a guess, I probably am trying to do something backwards or rather working in the negative when I should be working in the positive but have no idea how to switch that around.
Subject Author Views Date
Thread Is it possible to have something eq nothing? Westin 3379 Apr 26, 2009, 7:43 PM
Post Re: [Westin] Is it possible to have something eq nothing?
Andy 3226 Apr 26, 2009, 11:36 PM
Post Re: [Westin] Is it possible to have something eq nothing?
Wychwood 3234 Apr 27, 2009, 2:25 AM