Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Dec 27, 2016 22:35:42 GMT -8
I am aware that the personal text field doesn't appear unless it's filled out and therefore if/else won't work. This is not about that.So I'm trying to figure out a work around for the fact that the personal text field displays nothing unless filled. Since we can't set default values within the software, I was thinking of using a work around, like this: <div {if $[user.personal_text]}style="display:none;"{/if}> text here </div> And I was HOPING that if the personal text field was filled out the "style: display:none;" would then trigger. Unfortunately, it doesn't. Anyone willing to help me brain storm on how to try and work around software limitations? @khristian ? Tumbleweed? maybe? ;x
|
|
inherit
133146
0
Nov 16, 2024 15:51:08 GMT -8
Alanna 🥀🖤
3,564
November 2008
alannab
|
Post by Alanna 🥀🖤 on Dec 28, 2016 0:51:38 GMT -8
{if $[user.personal_text.message] != ''} $[user.personal_text.message] {else} Woah, this is a default personal text! Edit your profile to change this to what you like! {/if}
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Dec 28, 2016 1:31:47 GMT -8
@khristian - I COULD KISS YOU
|
|
inherit
133146
0
Nov 16, 2024 15:51:08 GMT -8
Alanna 🥀🖤
3,564
November 2008
alannab
|
Post by Alanna 🥀🖤 on Dec 28, 2016 1:36:25 GMT -8
@khristian - I COULD KISS YOU
|
|
inherit
223470
0
Feb 27, 2019 17:05:53 GMT -8
₪» ⅀ ƪ Ƒ «₪
Original registration date: 2007. DeviantART: http://deviantart.com/ruanly. Discord: Ruanly#7946.
1,281
July 2015
fajita
|
Post by ₪» ⅀ ƪ Ƒ «₪ on Dec 28, 2016 21:19:02 GMT -8
This thread confused me. I use
On my forum just fine. I've never had any issue with it, but you're saying that it doesn't work? Am I misunderstanding what you wanted?
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Dec 28, 2016 21:39:49 GMT -8
This thread confused me. I use On my forum just fine. I've never had any issue with it, but you're saying that it doesn't work? Am I misunderstanding what you wanted? The default variable is user.personal_text, not user.personal_text.message. without the latter it won't work.
|
|