Insert Custom Section above Info Box

Started by jaime_s, April 24, 2019, 03:31:09 PM

Previous topic - Next topic

jaime_s

Hello,

We would like to insert a new section between the last Board Category and the Info Box (using the same theme look and feel as those sections).

I'm looking for the location in the code to do so. First step is to hard code the change and ultimately build a mod that will make it easy to modify the contents of this section.

I'm struggling with locating where the info box is generated -- figured it would be right above that code block that I would be able to do the insertion.

Thanks for the pointers.

Using the Dani theme
SMF Version 2.0.15

Kindred

check in either index.template.php or BoardIndex.template.php for display

Please do note that for mods, especially, functional code should be in a Sources file and display code should be in a template file.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Antechinus

BoardIndex.template.php is the file you want. It's commented, so you can tell where the info centre starts.

Advertisement: