how can I determine the path of a site using php/smarty?

Posted by Kyle Sevenoaks on Stack Overflow See other posts from Stack Overflow or by Kyle Sevenoaks
Published on 2010-04-22T11:20:54Z Indexed on 2010/04/22 11:23 UTC
Read the original article Hit count: 145

Filed under:
|
|
|

Ok, say I have a page with the url: URL.com/checkout/completed, how can I setup an if statemet to perform:

<if "This page has url of checkout/completed">

Content

<else>

No content

</if>

Is there a way? A simple way, my php/smarty-fu lacks.. A lot.

Thanks.

© Stack Overflow or respective owner

Related posts about php

Related posts about smarty