[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[Fwd: [if file [value ...]]]
****** message to minivend-users from Thomas Walter <tw@mail.itreff.de> ******
Sorry, my mail-server crashed a few seconds ago while I was trying to
send the following message (so I resend it - if you get it twice, please
ignore... uhm - this one, but answer to the first ;)...
Me wrote:
>
> Hello all...
>
> I am trying to do the following (code says more than words ;):
>
> [if file /some/dirs/[value mv_searchspec].html]
> [then]
> [include file="/some/dirs/[value mv_searchspec].html"]
> [/then]
> [else]
> <a href="file:///some/dirs/[value mv_searchspec].html">link</a>
> [/else]
> [/if]
>
> on a results-page, but the result of [if file] is always false. The file
> does exist (I´ve inserted the [else] to verify this).
> Does [value ] not work inside an [if ]?
> ([loop-field category] works e.g. if you want to include an image for
> the category if it exists)...
>
> Balu
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list