Jump to content

conditioned cicle, aka {IF}


gtonti

Recommended Posts

I have posted the same question in the italian forum, but it seems there is no people using this one.

So.

 

In PHP I mau use $_SERVER['PHP_SELF'] to detect the current page.

How can I realize this type of control in TPL linguage?

 

{if (analog to $_SERVER['PHP_SELF']=="index")}

do something

{/if}

 

Any suggestion?

 

PS: sorry for my poor english...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...