HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Doubt about index
sasu8
New
Hi! It's possible to show the categories and recent posts on the whole at the index?
I saw the option for categories or recents post but not both.
0
Comments
The regular discussion list layout shows the recent discussions in the main area and the categories in the panel.
There is a mixed layout showing both (categories and their recent discussions) to be found in the dashboard settings under “Layout”. You’ve seen that?
Hi phreak, it isn't what I'm searching. I wanna see all in the center... categories first followed by recent discussions, anything at lateral boxes/panel.
@sasu8 - I'd think that one could use the categories module (vanilla/applications/vanilla/modules/class.categoriesmodule.php) logi with the slight change of the target changed from the side panel to the main content and then (depending on sort order) you would get the result you may wish to get...
That may require to use the AfterPageCalculation hook in discussionscontroller to add "$sender->addModule('CategoriesModule');"
if you look at the source you will see that the hook is trigerred few lines above where the addmodule statements are issues. Of course you will have to change the name of said module. I think you should be able to proceed from here
Also, I d change the title for this discussion...