|
#1
|
|||
|
|||
|
Conditional tags
Maybe this belongs under "Templates" and not under "Help"...
I would like to know how to use template-tags in conditions. E.g.: Check whether a tag (previous thumbnail or IPTCfield or anything) contains any data, if so, do one thing, if not do another thing. How can I do this? I'm using Pixelpost v.1.5beta under FreeBSD with PHP/Apache. |
|
#2
|
||||
|
||||
|
you can do this all in an addon. for example, i use the following script just for my comment popup:
PHP Code:
__________________
Affordable Website Design in North Wales |
|
#3
|
||||
|
||||
|
by the way. looking at that that has to be the worst written piece of php in the whole world! hehe.
__________________
Affordable Website Design in North Wales |
|
#4
|
|||
|
|||
|
Thanks!
And I did SO hope that wouldn't be the solution... It means I have to write a lot of add-ons :-) Well, I'd better get on with it. |
| Post Reply |
| Thread Tools | |
|
|