PDA

View Full Version : How to put this code properly on my .tpl ?


ndemi
09-21-2005, 10:39 AM
Hi,

one more problem -
How to put this code properly on my .tpl ?

Content visible to registered users only.

or maybe this:

Content visible to registered users only.

[LINK] and [URL] means of course {$link.URL}


thanks, Ndemi

Romario
09-21-2005, 02:24 PM
I have this problem also:


Content visible to registered users only.

Dont't work. Maybe this script have php tag alternative smarty tag: {$link.URL}.

ndemi
09-21-2005, 05:54 PM
I don't have problems with {$link.URL} but with this.


Content visible to registered users only.

Ndemi.

yktan
09-23-2005, 04:18 AM
Hi ndemi.

(1)Content visible to registered users only.
- You are trying to include a php statement that uses a variable from the template? Maybe you try something like this:
Content visible to registered users only.

(2)Content visible to registered users only.
- The problem you have is with the curly brackets? You need to use the literal tag like this:
Content visible to registered users only.

Tell me if that helps.

Regards,
York Kie

ndemi
09-24-2005, 02:53 AM
Hi,

thanks a lot for help. With first I have still problem but it could be with function for it.

The second works fine :D

thanks,
ndemi