Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Curve template design for Mediawiki

Started by artvolt, October 07, 2020, 08:42:18 AM

Previous topic - Next topic


Good afternoon. Please tell me how it is possible in the template for Wiki - "Curve" to make a menu at the top right and a logo link on the left, how it is done here -

Here is the wiki installed on my forum - . How can I make the top menu and logo?

SMF Forum - "Art Cafe" -


Dear programmers and SMF-masters. This support forum has done it. So it is possible to do it.

What edits need to be made to the template "Wiki-Curve" - so that in the block "Mediawiki-SMF" the menu is displayed at the very top ?

Sorry for the persistence, but I really need to solve this problem.
SMF Forum - "Art Cafe" -


add a customTopSection() method to the smfcurveTemplate class of the smfCurveTemplate.php file of the mediawiki smfCurve theme.

In that method you can echo your menu and logo's HTML code.
Checkout My Themes:

Potato  •  Ackerman  •  SunRise  •  NightBreeze


I have a code like this in my template:

<div id="top_section">';

      if (method_exists($this, 'customTopSection'))

      echo '

Where exactly, in which line should the logo and menu code be inserted?

And how does the menu code look like on this support forum? And how to make it to the right?
SMF Forum - "Art Cafe" -


It's okay, I figured out how to do it. SychO, thank you for help!
SMF Forum - "Art Cafe" -