NOT in the parent Forum's legend
- Main Forum
- Sub Forum A
- Sub Forum B
- Sub Forum C
I went to see your link.rxu wrote: ↑Wed Jun 26, 2019 8:53 am I have something like that but the extension is not validated by PHPBB team, it's on your own risk if using it.
https://github.com/rxu/List_subforums_in_columns
Code: Select all
<!-- IF .forumrow.subforum and forumrow.S_LIST_SUBFORUMS -->
<!-- EVENT forumlist_body_subforums_before -->
<br /><strong>{forumrow.L_SUBFORUM_STR}{L_COLON}</strong>
<!-- BEGIN subforum -->
<!-- EVENT forumlist_body_subforum_link_prepend --><a href="{forumrow.subforum.U_SUBFORUM}" class="subforum<!-- IF forumrow.subforum.S_UNREAD --> unread<!-- ELSE --> read<!-- ENDIF -->" title="<!-- IF forumrow.subforum.S_UNREAD -->{L_UNREAD_POSTS}<!-- ELSE -->{L_NO_UNREAD_POSTS}<!-- ENDIF -->">
<i class="icon <!-- IF forumrow.subforum.IS_LINK -->fa-external-link<!-- ELSE -->fa-file-o<!-- ENDIF --> fa-fw <!-- IF forumrow.subforum.S_UNREAD --> icon-red<!-- ELSE --> icon-blue<!-- ENDIF --> icon-md" aria-hidden="true"></i>{forumrow.subforum.SUBFORUM_NAME}</a><!-- IF not forumrow.subforum.S_LAST_ROW -->{L_COMMA_SEPARATOR}<!-- ENDIF --><!-- EVENT forumlist_body_subforum_link_append -->
<!-- END subforum -->
<!-- EVENT forumlist_body_subforums_after -->
<!-- ENDIF -->
{L_COMMA_SEPARATOR}
between each of the subforums, you could put a line break in there too. And to create the desired justification of the list, wrap all the subforms display in some <div> blocks. Such as in the following replacement lines:Code: Select all
<!-- IF .forumrow.subforum and forumrow.S_LIST_SUBFORUMS -->
<!-- EVENT forumlist_body_subforums_before -->
<div style="display:block;"><div style="display:inline-block; float:left;"><strong>{forumrow.L_SUBFORUM_STR}{L_COLON}</strong></div><div style="display:inline-block;">
<!-- BEGIN subforum -->
<!-- EVENT forumlist_body_subforum_link_prepend --><a href="{forumrow.subforum.U_SUBFORUM}" class="subforum<!-- IF forumrow.subforum.S_UNREAD --> unread<!-- ELSE --> read<!-- ENDIF -->" title="<!-- IF forumrow.subforum.S_UNREAD -->{L_UNREAD_POSTS}<!-- ELSE -->{L_NO_UNREAD_POSTS}<!-- ENDIF -->">
<i class="icon <!-- IF forumrow.subforum.IS_LINK -->fa-external-link<!-- ELSE -->fa-file-o<!-- ENDIF --> fa-fw <!-- IF forumrow.subforum.S_UNREAD --> icon-red<!-- ELSE --> icon-blue<!-- ENDIF --> icon-md" aria-hidden="true"></i>{forumrow.subforum.SUBFORUM_NAME}</a><!-- IF not forumrow.subforum.S_LAST_ROW -->{L_COMMA_SEPARATOR}<br><!-- ENDIF --><!-- EVENT forumlist_body_subforum_link_append -->
<!-- END subforum -->
</div></div>
<!-- EVENT forumlist_body_subforums_after -->
<!-- ENDIF -->
I had installed a localhost on my local machine.Lumpy Burgertushie wrote: ↑Fri Jul 12, 2019 1:00 am you go back here: https://github.com/rxu/List_subforums_in_columns
click on the green button that says clone or download
download the zip file to your computer.
unzip on your computer
change the name of the folder to ListSubforumsInColumns exactly like that, copy and paste.
now, create a new folder named gfksx exactly like that.
now move the folder that you renamed inside the new folder.
now, using your ftp, upload that folder named gfksx to the ext folder of your phpbb board on the server.
then, go to the admin panel of your board, click on the customize tab,
choose manage extensions and click on enable next to the one named gfksx
I have not used this extension but I would assume that it would automatically rearrange all your subforums into columns for you.
give it a try, if it does not work, just disable it and then delete the data then delete the actual files from the server.
robert
ext/ListSubforuminColumns/gfksx
ext/gfksx
{board root]/ext/gfksx/ListSubforumsInColumns/composer.json
as your file structure.Thanks David and Lumpy.
Because you mention : I HAD enabled it, I'm wondering whether that statement can be correct, since you couldn't see the extension in the Extension Management before.
Thanks for your response, greatly appreciated it.warmweer wrote: ↑Fri Jul 12, 2019 6:55 pmBecause you mention : I HAD enabled it, I'm wondering whether that statement can be correct, since you couldn't see the extension in the Extension Management before.
If you see "Enable" it doesn't mean that the extension is enabled, but that the action of clicking that text will enable the extension.
When an extension is enabled, the text will then be: disable.