inherit
206134
0
May 6, 2014 8:03:07 GMT -8
Callista Cygnus
2
March 2014
scarletharlot
|
Post by Callista Cygnus on Apr 21, 2014 12:36:17 GMT -8
Firstly, apologies if I have posted in the wrong section, first post on the support forums! Forum URL: cygnic.boards.netI'm hoping someone can help me create a nice, personalised greeting message to go where the "Hello World" container is. Unfortunately my HTML knowledge is poor at best and the kitbashing I've tried has so far failed miserably. I'll try to explain what I am requesting: Hi-Res link: i.minus.com/iUVIUdL0w0r2n.jpgAs a guest, upon visting the home page the greeting will be displayed, as above. Hopefully the text can be formatted similar to the above. Hi-Res link: i.minus.com/i0nLgeDLhOYzb.jpgWhen a member views the home screen, the above message will be displayed. Where *member name" is shown, if the users own username can be displayed that would be great! Where *Thread Link* is shown, I would like to link to "http://cygnic.boards.net/thread/4/general-rules-read-before-posting" with the text "Display". If the same colour blue (hex: 008aff) could be used, even better! Hopefully some kind soul can help me out, once I have these greetings in place the forum will be complete! Many thanks in advance!
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Apr 21, 2014 15:33:58 GMT -8
Hi Callista Cygnus, Is that all you want is that welcome section or are you planning to add more, like the example. Not that it really matters but if you just want a simple table you could just go create a custom page and select the blank option, set it to be your home page and then to add the content, just click the html tab (Admin> Structure> Custom Pages> HTML>) and paste this.... <style> .container.boards{ margin-bottom:30px; } #my_welcome{text-align:center!important;font-size:22px; } #my_content{text-align:left;font-size:13px; color:#ffffff; } </style>
<div class="container boards"> <div class="title-bar bbcode"></div> <div class="content cap-bottom"> <div id="my_welcome"> {if !$[current_user.is_member]} Welcome Guest! {else} <span>Welcome back $[current_user.name]!</span> {/if}
</div> <br /><br /> <div id="my_content">
Lorem ipsum dolor sit amet, mel illum splendide in. Salutandi facilisis vel ea, tale antiopam quo ad. Commune euripidis eu duo, augue vivendum volutpat te eos. Maluisset abhorreant disputationi et mei, in vel scripta nusquam. Cum in idque eruditi atomorum, mel novum viris tamquam ei. Mel cu vidisse nostrud dolorem, ne usu maiorum noluisse salutatus.
<br /><br /> Please read the <a href="http://cygnic.boards.net/thread/4/general-rules-read-before-posting">Forum Rules</a>
</div> </div> </div> ....in the box and you should get This ...... which is set to pick up your theme colors. (Sorry, I currently have a very dark ugly colors on the test site) Screenie with me logged in. i58.tinypic.com/1txavk.jpgIf you want multiple sections or zones then you might be better off picking one of the layout options rather than blank and using widgets to add content. We can explain further if you want to go that route.
|
|
inherit
206134
0
May 6, 2014 8:03:07 GMT -8
Callista Cygnus
2
March 2014
scarletharlot
|
Post by Callista Cygnus on Apr 22, 2014 2:28:56 GMT -8
Hi tumbleweed! Thankyou for taking the time to help! I am hoping to keep the layout as seen in the pictures in the first post (greeting stretching across width of forum, with 3 zones underneath). Unfortunately by replacing my zone1 html with the coding you have kindly provided, I end up with the page looking like this: This is on a custom page with the "Baby Squid" layout. Current HTML for the custom page is as follows: <br style="clear: both;" /> <style> .container.boards{ margin-bottom:30px; } #my_welcome{text-align:center!important;font-size:24px; } #my_content{text-align:center;font-size:14px; color:#202020; } </style>
<div class="container boards"> <div class="title-bar bbcode"></div> <div class="content cap-bottom"> <div id="my_welcome"> {if !$[current_user.is_member]} Welcome Guest! {else} <span>Welcome back $[current_user.name]!</span> {/if}
</div> <br /><br /> <div id="my_content">
Lorem ipsum dolor sit amet, mel illum splendide in. Salutandi facilisis vel ea, tale antiopam quo ad. Commune euripidis eu duo, augue vivendum volutpat te eos. Maluisset abhorreant disputationi et mei, in vel scripta nusquam. Cum in idque eruditi atomorum, mel novum viris tamquam ei. Mel cu vidisse nostrud dolorem, ne usu maiorum noluisse salutatus.
<br /><br /> Please read the <a href="http://cygnic.boards.net/thread/4/general-rules-read-before-posting">Forum Rules</a>
</div> </div> </div> <br style="clear: both;" /> <div style="padding-right: 5px;">$[zone_2]</div> <div style="float: left; width: 33.3%;"> <div style="padding: 0 5px;">$[zone_3]</div> </div> <div style="float: left; width: 33.3%;"> <div style="padding-left: 5px;">$[zone_4]</div> </div> <br style="clear: both;" /> Again, many thanks!
|
|