LordsKing Active member Apr 27, 2014 #1 HEllo I would to add a conditionnal in the template EXTRA.css with a custom field ! Here is my code : Code: <xen:if is="{$visitor.customFields.membercard}"> // code </xen:if> The custom field is a checkbox Thanks
HEllo I would to add a conditionnal in the template EXTRA.css with a custom field ! Here is my code : Code: <xen:if is="{$visitor.customFields.membercard}"> // code </xen:if> The custom field is a checkbox Thanks
P Paul B XenForo moderator Staff member Apr 27, 2014 #2 That isn't possible. You will need to do it in the template. Upvote 0 Downvote
LordsKing Active member Apr 27, 2014 #3 Brogan said: That isn't possible. You will need to do it in the template. Click to expand... Yes it's for an add-on but I would to create a route prefix but I don't how to do that Upvote 0 Downvote
Brogan said: That isn't possible. You will need to do it in the template. Click to expand... Yes it's for an add-on but I would to create a route prefix but I don't how to do that
LordsKing Active member Apr 27, 2014 #4 Brogan said: That isn't possible. You will need to do it in the template. Click to expand... Any way to do a route, prefix ? Upvote 0 Downvote
Brogan said: That isn't possible. You will need to do it in the template. Click to expand... Any way to do a route, prefix ?
P Paul B XenForo moderator Staff member Apr 27, 2014 #5 I'm not sure what you're asking. The conditional statement you posted has nothing to do with route prefixes. Upvote 0 Downvote
I'm not sure what you're asking. The conditional statement you posted has nothing to do with route prefixes.
LordsKing Active member Apr 27, 2014 #6 Brogan said: I'm not sure what you're asking. The conditional statement you posted has nothing to do with route prefixes. Click to expand... I want to create an add-on and for create the add-on I need a route prefix but I don't know how to do that Upvote 0 Downvote
Brogan said: I'm not sure what you're asking. The conditional statement you posted has nothing to do with route prefixes. Click to expand... I want to create an add-on and for create the add-on I need a route prefix but I don't know how to do that
P Paul B XenForo moderator Staff member Apr 27, 2014 #7 The development support forum is here: http://xenforo.com/community/forums/xenforo-development-discussions.34/ Upvote 0 Downvote
The development support forum is here: http://xenforo.com/community/forums/xenforo-development-discussions.34/
LordsKing Active member Apr 27, 2014 #8 Brogan said: The development support forum is here: http://xenforo.com/community/forums/xenforo-development-discussions.34/ Click to expand... I already sent a thread : http://xenforo.com/community/threads/route-prefix.72770/ Upvote 0 Downvote
Brogan said: The development support forum is here: http://xenforo.com/community/forums/xenforo-development-discussions.34/ Click to expand... I already sent a thread : http://xenforo.com/community/threads/route-prefix.72770/
Chris D XenForo developer Staff member Apr 27, 2014 #9 Still not quite sure what a route prefix has to do with having a conditional in a CSS template. Upvote 0 Downvote
LordsKing Active member Apr 27, 2014 #10 Chris D said: Still not quite sure what a route prefix has to do with having a conditional in a CSS template. Click to expand... It's for an add-on Upvote 0 Downvote
Chris D said: Still not quite sure what a route prefix has to do with having a conditional in a CSS template. Click to expand... It's for an add-on