21294 Posts in 5734 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 818 Views |
-
If method=post (.ss template)

4 July 2009 at 3:03am
I want a conditional in my .ss template for if a page was accessed via method=post.
-
Re: If method=post (.ss template)

4 July 2009 at 9:44pm
You would have to write your function in php and then call it from the template. The template has no control for this.
-
Re: If method=post (.ss template)

19 January 2011 at 3:40am
How do you 'call' php from the template then? Thanks.
-
Re: If method=post (.ss template)

19 January 2011 at 7:22am
You create a function in your Page controler, then call it from you template. Something like:
function IsPosted() {
// check and return false or true;
}<% if IsPosted %>
...
<% end_if %>
| 818 Views | ||
|
Page:
1
|
Go to Top |



