inherit
114253
0
Apr 1, 2024 6:38:35 GMT -8
Teg
Can't Wait for V6
3,138
November 2007
teg
|
Post by Teg on Oct 6, 2015 9:37:32 GMT -8
Is there a way to make custom pages specific to themes?
|
|
#eb7100
33409
0
1
May 16, 2024 19:58:36 GMT -8
Brian
48,129
November 2004
smashmaster3
|
Post by Brian on Oct 6, 2015 9:51:27 GMT -8
Hi, Teg. Custom pages are universally accessible and cannot be restricted to a particular theme.
|
|
inherit
114253
0
Apr 1, 2024 6:38:35 GMT -8
Teg
Can't Wait for V6
3,138
November 2007
teg
|
Post by Teg on Oct 6, 2015 14:00:39 GMT -8
Hi, Teg. Custom pages are universally accessible and cannot be restricted to a particular theme. Is there a way that I can make make them display different things based on the theme the current user is using ?
|
|
#eb7100
33409
0
1
May 16, 2024 19:58:36 GMT -8
Brian
48,129
November 2004
smashmaster3
|
Post by Brian on Oct 6, 2015 14:41:36 GMT -8
Only with the use of Javascript.
|
|
inherit
114253
0
Apr 1, 2024 6:38:35 GMT -8
Teg
Can't Wait for V6
3,138
November 2007
teg
|
Post by Teg on Oct 6, 2015 14:44:45 GMT -8
Only with the use of Javascript. Lol, do you have anything readily available that will do that? Or can you write something? I'm not good enough to do that on my own.
|
|
#eb7100
33409
0
1
May 16, 2024 19:58:36 GMT -8
Brian
48,129
November 2004
smashmaster3
|
Post by Brian on Oct 6, 2015 15:00:41 GMT -8
I do not.
Anything requiring a code can always be requested in the Coding & Development category.
|
|
inherit
114253
0
Apr 1, 2024 6:38:35 GMT -8
Teg
Can't Wait for V6
3,138
November 2007
teg
|
Post by Teg on Oct 6, 2015 16:38:12 GMT -8
I do not. Anything requiring a code can always be requested in the Coding & Development category. Just for the record... I just figured out that if you use the following on a custom page, you can display things based on the theme the user is using... {if $[current_user.theme.name] == "Halloween 2015"} code here {else} info here {/if} No need for JavaScript The only issue, as mentioned a long time ago by myself, is that you cannot surround a "Zone" with {if} statements. Did you guys ever request to have that fixed?
|
|
#eb7100
33409
0
1
May 16, 2024 19:58:36 GMT -8
Brian
48,129
November 2004
smashmaster3
|
Post by Brian on Oct 7, 2015 8:18:58 GMT -8
A task was made requesting it, but it was marked as a feature request since the restriction was purposely added when the custom page functionality was created, so it's not an incredibly high priority.
|
|