By: Bounci
Date: 2010-01-16
Time: 15:47
|
How to access data in if-part
Hello,
I am new to tinybutstrong and have a question about accessing data.
[project.PdfLink; if [val] != ''; then '<a href="[var.domain]/prospekt/[val]/">[project.PdfLinkText] </p> <br/>'; else ''; ]
|
Why is there the link-text shown as 'project.PdfLinkText' and not the content of this?
|
By: TomH
Date: 2010-01-17
Time: 18:19
|
Re: How to access data in if-part
Bounci,
The code you show works just fine for me - I built an array manually to provide the data elements.
What's your PHP code look like? (cut and paste please, no pseudo-code)
|
By: Bounci
Date: 2010-01-17
Time: 18:54
|
Re: How to access data in if-part
Hello TomH,
I found the problem. It was just a databindung problem before that:
block=((div)
I didn't know that there is a syntax with ((div)), so the binding with my (div) was incorrect, but I didn't noticed that because other things worked anyway.
Thanx for your try :)
|
|
Posting in progress.
Please wait...
|