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

XF 1.2 Image Under Forum

Mufasa

Active member
#1
Here is a screenie of the site:

As you can see, i have marked where i want an image to be placed. I have tried and failed using Shelleys code which places an image between categories but im still unfamiliar with the forum syntax, here is Shelleys code:

Code:
<xen:if is="{$category.node_id} == 1">
Content
<xen:if>
How do i alter that to work between forums? i tried $node_, $node.level_1, doesnt seem to work, unless im placing in the wrong area lol.

Can anyone help?
 

Shelley

Well-known member
#4
I tried node_forum_level1 & 2 and node_category_level1

Not sure this is the best way but i did this via extra. It'll need adjusting and id altered to your preference.

Code:
.nodeList .node .level_2.node_7:after {
background: url("path/to/your/custom/placed/image.png") no-repeat scroll center transparent;
height: 150px;
display: block;
content: "";
}
Screenshot_17.png
 

Mufasa

Active member
#5
Shelley, is to too soon to say i love you? lol. Thanks!

Also, your code for adding subforums in columns doesnt work on my theme and the 1.2 option to do it doesnt work either, think i might have edited the code somehow or its not compatible with the code im using to make the forums in columns. Any suggestions?
 

Shelley

Well-known member
#6
Shelley, is to too soon to say i love you? lol. Thanks!

Also, your code for adding subforums in columns doesnt work on my theme and the 1.2 option to do it doesnt work either, think i might have edited the code somehow or its not compatible with the code im using to make the forums in columns. Any suggestions?
It does work it may just need configuring or there's a typo, missing ";" "{" "}". it's just one of those enhancements that needs adjusting a little to cater for each style because it's that much of a PITA. I'd suggest just tinkering with it more and persevering till it displays correctly.
 

Mufasa

Active member
#7
It does work it may just need configuring or there's a typo, missing ";" "{" "}". it's just one of those enhancements that needs adjusting a little to cater for each style because it's that much of a PITA. I'd suggest just tinkering with it more and persevering till it displays correctly.
Ok, ill give it a go, thanks.