RESOLVED: "If category"?
Started by xmobile, Jun 13 2010 11:57 AM
9 replies to this topic
#1
Posted 13 June 2010 - 11:57 AM
how can i show word for example "hello" in category with id only 1 and 3 not 2 ?
thanks
thanks
#2
Posted 13 June 2010 - 12:27 PM
i am coded this but its not works 
<if="$this->ipsclass->forum['id'] == 3"> ok <else /> not </if>
Edited by xmobile, 13 June 2010 - 12:33 PM.
#3
Posted 13 June 2010 - 12:45 PM
Try this:
X = Category ID. Not tested (no 23x testboard to hand at the moment)
<if="$data['id'] == X"> ok <else /> not </if>
X = Category ID. Not tested (no 23x testboard to hand at the moment)
View my tutorials
Please do NOT pm me with support related questions unless requested.
If you are in need of help or assistance, please post on the forum in the appropriate section!
A Look Back - 1.0.1 - 1.3.1 - 2.0.0 - 2.1.7 - 2.2.0 - 2.3.6
#4
Posted 13 June 2010 - 12:46 PM
going to test 
//not working
//not working
Edited by xmobile, 13 June 2010 - 12:48 PM.
#5
Posted 13 June 2010 - 12:49 PM
<if="$this->ipsclass->input['f'] == X"> Alrightyo <else /> Negative </if>
My: Modifications · Tutorials · Twitter

#6
Posted 13 June 2010 - 12:50 PM
will try
Edited by xmobile, 13 June 2010 - 01:10 PM.
#7
Posted 13 June 2010 - 01:11 PM
Martin thankssss 
also how can i make array of groups when will be showed true ?
for example ok will be cats 2,3,4,5 only
also how can i make array of groups when will be showed true ?
for example ok will be cats 2,3,4,5 only
#8
Posted 13 June 2010 - 01:47 PM
The issue this topic was opened for has now been resolved.
View my tutorials
Please do NOT pm me with support related questions unless requested.
If you are in need of help or assistance, please post on the forum in the appropriate section!
A Look Back - 1.0.1 - 1.3.1 - 2.0.0 - 2.1.7 - 2.2.0 - 2.3.6
#9
Posted 13 June 2010 - 01:57 PM
xmobile, on Jun 13 2010, 03:11 PM, said:
Martin thankssss 
also how can i make array of groups when will be showed true ?
for example ok will be cats 2,3,4,5 only
also how can i make array of groups when will be showed true ?
for example ok will be cats 2,3,4,5 only
<if="in_array( $this->ipsclass->input['f'], array( 2,3,4,5,6 )">
Glad I could help
My: Modifications · Tutorials · Twitter

#10
Posted 13 June 2010 - 02:02 PM
okay thanks i will never forget who helped me a lot !
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users





Contributor











