• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

how to put a textblock underneath the breadcrumb ?

erich37

Well-known member
#1
how do I put a textfield with the orange border underneath the breadcrumb, so ctually the same as it is at the "Welcome Block" from Floris.
But I do not want the Welcome-Block-plugin, just a simple textbox.

Into which template would I need to enter this and what would be the code for this ?

Many thanks.
 

Tilkißey

Well-known member
#2
open PAGE_CONTAINER template
find this line
HTML:
<xen:hook name="page_container_content_top" />
add below your content
text area's code
HTML:
<div class="importantMessage">your content</div>
 

Brogan

XenForo moderator
Staff member
#3
Look for this in the PAGE_CONTAINER template and include your own template or code below it:
Code:
<xen:hook name="page_container_breadcrumb_top">
<div class="breadBoxTop">
    <xen:if is="{$topctrl}"><div class="topCtrl">{xen:raw $topctrl}</div></xen:if>
    <xen:include template="breadcrumb"><xen:set var="$microdata">1</xen:set></xen:include>
</div>
</xen:hook>
I would suggest using the important message class.

Edit: Ninja'ed by Mr Fox ;)
 

erich37

Well-known member
#5
do you have any which css to use to make it show the same as the box which Floris created for his plugin?
I do not need a hook, just the normal HTML and CSS-code.

Appreciate your help!
 

Tilkißey

Well-known member
#6
do you have any which css to use to make it show the same as the box which Floris created for his plugin?
I do not need a hook, just the normal HTML and CSS-code.

Appreciate your help!
class importantMessage's css is defined for orange bg and border as u wish ;)
it is XenForo's default class
 

erich37

Well-known member
#8
what would be the code to show this block to "guests" only ?

Meaning that this block disappears for logged-in users ?

Many thanks!