HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media


Welcome to TinyPortal. Please login or sign up.

April 17, 2024, 09:23:08 AM

Login with username, password and session length
  • Total Members: 3,885
  • Latest: Growner
  • Total Posts: 195,164
  • Total Topics: 21,219
  • Online today: 76
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 63
  • Total: 64
  • illori

Problem in Menu Studio001

Started by vectorseries, May 08, 2015, 02:24:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


Link to my forum:
SMF version: SMF 2.0.10
TP version: No TP
Default Forum Language: Portuguese_Brazilian
Theme name and version: Studio001
Browser Name and Version: Chrome
Mods installed: Various
Related Error messages: Estou usando o Theme Studio001, mas está com problemas em menus adcional que tenho em meu fórum.
I was wondering how do I disable some menus not to show this theme but to show others? I want to use this theme only in mobile, but I would have just a few menus.
Could help me with this problem?


Alguém poderia me ajudar nessa questão?


You need to modify Subs.php - thats where the menus are created. The theme doesn't do anything with the menu items itself, SMF controls them.


If you just want to remove menu items from this theme, you can also just unset() it inside the template_menu() function. I don't know the variable names off the top of my head, but it would look something like this.


That would remove the help button from the array. Put it right before the foreach() loop in the template_menu() function. You can unset as many as you like.
unset($var1, $var2, $var3);