![]() |
|
Thread Tools |
#1
|
||||
|
||||
I have a php if conditional, please help how to write it in template
this is if conditional for if the url is xxx, in php
i want to use it in template, please help what is looks like? i already tried this
__________________
I am SEO specialist and forum coordinator No members have liked this post.
|
#2
|
|||
|
|||
You removed the single quotes when you put it in the template condition, but you need them. Try taking the php condition that's between the parentheses and just copy it to between the quotes in the template.
No members have liked this post.
|
#3
|
||||
|
||||
arghh i am still cant make it, already tried add the single quote, so like this
can anyone tried it please, or know the working this conditional i already tried this too (from this thread), but looks like still not working too <if condition="$_SERVER['REQUEST_URI'] == '/forum/somepage.html'">
__________________
I am SEO specialist and forum coordinator No members have liked this post.
|
#4
|
||||||||
|
||||||||
Originally Posted by basketmen
Strange.. Try ![]()
Or this
__________________
http://twitter.com/scanu_account No members have liked this post.
Last edited by Scanu; 28 Aug 2012 at 08:38. |
#5
|
||||||||
|
||||||||
Originally Posted by Scanu
thank you for answering, but that code still not working too![]()
can anyone try it in your forum please
__________________
I am SEO specialist and forum coordinator No members have liked this post.
|
#6
|
||||
|
||||
Originally Posted by basketmen
ah this one at least works, ![]()
and the url used is the non rewrited url, so the original url, if the url are rewrited by vbseo or another mod Scanu methode above maybe works too, and using the original url only the first methode that not working, even already using original url, wonder why, but its ok already have the working code
Thank you and GBU for Scanu and kh99
__________________
I am SEO specialist and forum coordinator No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 15:04.