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

XF 1.1 how to put "Notices" at the bottom of page?

erich37

Well-known member
#1
I do have a couple of Notices at the default location at the very top position of my Forum.

Now I would like to create some additional but different "Notices" and put them at the bottom of the Forum-page, exactly above the bottom-breadcrumb.

How to create "Notices" to put them at the bottom of my Forum?

So literally I would like to have the Notices at the top default position, and additionally some other "Notices" at the bottom of my Forum-List.

Is this possible and how to put them at the bottom?


Appreciate your help!
 

Jake Bunce

XenForo moderator
Staff member
#2
Admin CP -> Appearance -> Templates -> PAGE_CONTAINER

Add the red code:

Code:
						<xen:include template="ad_above_content" />
						
						<!-- main template -->
						{xen:raw $contents}
						
						<xen:include template="ad_below_content" />
						
						<xen:if is="{$contentTemplate} == 'forum_list'">
							<p class="importantMessage">
								NOTICE HERE
							</p>
						</xen:if>

						<xen:if is="!{$visitor.user_id} && !{$hideLoginBar}">
							<!-- login form, to be moved to the upper drop-down -->
							<xen:include template="login_bar_form" />
						</xen:if>
						
					<xen:if is="{$sidebar}"></div>
				</div>
				
				<!-- sidebar -->
				<aside>
 

erich37

Well-known member
#3
thanks Jake, I need to try this.

I am not sure if this code will work, as I would like to create about 20 Notices (which should be scrolling, same as the default ones) at the bottom....