
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] problems with the [if] Statement
Am Montag, 29. Oktober 2001 09:23 schrieben Sie:
> Jonas Hoffmann <ruby@joelh.de> writes:
> > Hi !
> >
> > I have problems with the if Statement.
> >
> > I have some products in the products.txt with some empty fields like this
> > : sku description price image category display
> > beschreibung einheit saeure restzucker alkohol jahrgang
> > auszeichnung lage 36 Rondo Tafelwein trocken 0,75 Ltr.
> > 11.00 Rotwein
> >
> > Now i want to let some fields empty in my flypage if there are no values
> > in the products table, here is what i try but it doesnt work :(
> >
> >
> > [if item-restzucker eq ""]
> > <td class="TabHeadEinzel">[item-field restzucker] g/Ltr.</td>
> > [/if]
>
> Try:
> [if-item-field restzucker]
> <td class="TabHeadEinzel">[item-field restzucker] g/Ltr.</td>
> [/if-item-field]
>
> which is very well documented.
>
> Ciao
> Racke
But this does not work.
[if-item-field restzucker] is not accepted and [if item-field restzucker] is
accepted by the interchange Server but it does not work
[/if-item-field] is not accepted by the Interchange Server.
Is an empty field like "" or is it like a NULL in a DB field ? And how can i
test NULL in a if Statement ?
i know the documentation but there is nothing to find about item's.
Perhaps its my bad english bu i must say that the docs and manuals are not
really good for my taste. It could be because my i'm not good in PERL but i
think interchange is for people without PERLknowlege.
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users