Forumlist

For support and discussion related to templates and themes in phpBB 3.3.
Post Reply
ChrisV
Registered User
Posts: 14
Joined: Thu May 29, 2014 1:24 am

Forumlist

Post by ChrisV »

Hi everyone,

Just a quick and (hopefully simple) question. If I wanted to add a horizontal rule between each forum except the last under each category, how would I go about putting this into my template?

At the moment I am using the following which works, but the final row (see example, forum 3) still has a line under it.

Code: Select all

<!-- IF (not forumrow.S_IS_CAT and not forumrow.S_LAST_ROW)  -->
EXAMPLE:

Code: Select all

HEADING
Forum 1
-----------
Forum 2
-----------
Forum 3

NEXT HEADING
Forum 1
-----------
Forum 2
User avatar
Sniper_E
Registered User
Posts: 901
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: Forumlist

Post by Sniper_E »

ChrisV wrote: Tue Jan 24, 2023 5:42 amThe final row (see example, forum 3) still has a line under it.
In (your example, forum 3) does not have a line under it.

The forums already have a line between the forums. I believe they use border colors to divide the forums.
In the forumlist_body.html each forum listed starts on line 32, <li class="row"> and ends on line 119, </li>
Just before that </li> on line 119 add

Code: Select all

			<!-- IF not forumrow.S_LAST_ROW -->
			----------------------------------------------------------------
			<!-- ENDIF -->
Or maybe you can change that border in the css which divides the forums and make it a dotted border to emulate your dotted line.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
:!: Sniper_E Styles | phpbbmodders :!:
Post Reply

Return to “[3.3.x] Styles Support & Discussion”