News: TinyPortal Release Schedule. Please read this update for More Info.

Login  |  Register
* *
TinyPortal on Twitter
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 21, 2018, 03:09:39 AM

Login with username, password and session length

Recent

Members
  • Total Members: 3733
  • Latest: Mac
Stats
  • Total Posts: 186206
  • Total Topics: 20578
  • Online Today: 48
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 2
Guests: 22
Total: 24

Author Topic: Newly created menu items show by default (even when showing status OFF)  (Read 486 times)

0 Members and 1 Guest are viewing this topic.

Online @rjen

  • Support Team
  • *
  • Posts: 1015
    • FJR-club Nederland
When you create a new menu item it shows immediately in the menu. Still the menu item is showing as OFF in the menu manager.
Once you manually update the status to on and back to off it behaves.

I see that when creating a new item the setting value5 in tp_variables is set to '-1'
'On' sets it to 0
'Off' sets it to 1

I cannot find where the default is set: but I think the default for a new item should be set to 1  (database default value for the field is -2 btw)
Running TP1.6.0 on SMF2.0 at: www.fjr-club.nl

Testing TP1.6.1 on SMF2.0
Testing TP1.6.1 on SMF2.1
Want to check what php version I am testing on? See: PHP Info