[Koha] Help needed in Template
Nitesh Rijal
rijal.it at gmail.com
Sun Aug 8 20:45:25 NZST 2010
Dear all..
I have a problem while making conditional display in template.
I have a variable called fulltext. When I write <!-- TMPL_VAR
NAME="fulltext" -->, it gets displayed in the output. Its value is either
TRUE or FALSE.
Now what I want to do is, show or hide a block of code on the basis of this
variable. If it is TRUE then show a link and if it is FALSE then hide a
link.
How am I supposed to do this??
What should the <!-- TMPL_IF --> block and <!-- TMPL_ELSE --> block look
like???
Please Help.
--
Nitesh Rijal
BE IT
rijal.it at gmail.com
http://niteshrijal.com.np
http://facebook.com/openrijal
http://twitter.com/openrijal
+9779841458173
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20100808/352de50d/attachment.htm
More information about the Koha
mailing list