Former Member
inherit
guest@proboards.com
222576
0
Nov 25, 2024 15:44:14 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Oct 12, 2016 12:06:15 GMT -8
How do i make a div so just i can see what's in it pls ? <div style="blah blah">all this bit just me see it</div> thank you
|
|
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 Oct 12, 2016 12:22:59 GMT -8
<!-- ======== Specific User Div ======== --> {if $[current_user.id] == "1"} whatever you want in here {/if} <!-- ======== End Specific User Div ======== -->
Edit the red to match the ID of the user, edit the bold to include the div + its content.
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 25, 2024 15:44:14 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Oct 12, 2016 12:26:10 GMT -8
<!-- ======== Specific User Div ======== --> {if $[current_user.id] == "1"} whatever you want in here {/if} <!-- ======== End Specific User Div ======== -->
Edit the red to match the ID of the user, edit the bold to include the div + its content.
thank you, i'm just working on learning bits at a time. if's !!
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 25, 2024 15:44:14 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Oct 12, 2016 12:30:20 GMT -8
it didn't work or i'v done it wrong
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 25, 2024 15:44:14 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Oct 12, 2016 12:34:52 GMT -8
its work now, i tried in the footers but it didn't work
thank you
|
|
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 Oct 12, 2016 12:36:28 GMT -8
<!-- ======== Specific User Div ======== --> {if $[current_user.id] == "1"} whatever you want in here {/if} <!-- ======== End Specific User Div ======== -->
Edit the red to match the ID of the user, edit the bold to include the div + its content.
thank you, i'm just working on learning bits at a time. if's !! :) (: you're welcome! these are called conditional statements.
|
|
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 Oct 12, 2016 12:37:14 GMT -8
its work now, i tried in the footers but it didn't work thank you You posted in the templates board so i gave you a template code, why would you even try it in the headers & footers? :P
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 25, 2024 15:44:14 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Oct 12, 2016 12:49:18 GMT -8
thank you, i'm just working on learning bits at a time. if's !! (: you're welcome! these are called conditional statements.
conditional statements i'll google it
|
|
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 Oct 12, 2016 12:55:40 GMT -8
(: you're welcome! these are called conditional statements.
conditional statements i'll google it :) (: hope your search is informative!
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 25, 2024 15:44:14 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Oct 12, 2016 12:59:37 GMT -8
A conditional statement, symbolized by p q, is an if-then statement in which p is a hypothesis and q is a conclusion. The logical connector in a conditional statement is denoted by the symbol . The conditional is defined to be true unless a true hypothesis leads to a false conclusion. yea it's early days kami
|
|
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 Oct 12, 2016 13:04:17 GMT -8
A conditional statement, symbolized by p q, is an if-then statement in which p is a hypothesis and q is a conclusion. The logical connector in a conditional statement is denoted by the symbol . The conditional is defined to be true unless a true hypothesis leads to a false conclusion. yea :) it's early days kami :)
|
|