Banshee
the secure PHP framework

Forum

Menu Module hickups

Taterhead Rumpskins
27 june 2016, 23:04
It is a rather a small issue, but frustrating as hell none the less. But, as of recent the menu module inside the CMS has been resetting or clearing all menu items defined under that module. Upon re-adding items, then updated, the buttons to manage the links(insert, update, back) disappear from the page. If the option to update is then selected again, the items just entered will be wiped, again leaving an empty menu.
A little help would be appreciated.
Hugo Leisink
30 june 2016, 15:00
I don't really understand what and how things go wrong. Can you describe a step by step procedure so I can reproduce the issue?
Taterhead Rumpskins
2 july 2016, 03:27
I understand...I am fairly certain this is localized, and more than likely a result of some user error.
Thanks!
Taterhead Rumpskins
3 july 2016, 06:25
I noticed that the local installation of monitor, was not performing the same errors as banshee and was correctly posting links to the menu. So, out of curiosity I compared both versions of the 'libraries/menu.php' file. The banshee version included an extra string that once removed fixed the issue. The string was:

if (substr($current_url, 0, 1) != "/") {
$current_url = "/".$current_url;
}

Hope I didn't do too much damage, but so far so good.
Taterhead Rumpkins
25 september 2016, 00:46
Nope, it doesn't. Menu still wipes itself clean after updates.
Hugo Leisink
26 september 2016, 15:52
Do you have a login for me so I can see for myself what goes wrong?
Taterhead Rumpskins
29 september 2016, 07:35
Hugo,
you are a kind person, and a good developer. I performed a fresh install, and things are working perfectly. Also noticed some new features, so I am really excited. Thanks so much for your patience and diligence.
Hugo Leisink
5 october 2016, 16:46
Thanks for your feedback! Good to hear it works.
Message preview

The following BB-codes are available in a message:

  • [b]Bold text[/b]
  • [center]Center text or imagen[/center]
  • [color=color name or #RGB code]Colored text[/color]
  • [i]Italic text[/i]
  • [img]Link to image[/img]
  • [right]Align text or image right[/right]
  • [s]Strike-through text[/s]
  • [size=pixelsize]Big or small text[/size]
  • [u]Underlined text[/u]
  • [url]Link to website[/url]
  • [url=link to website]Link text[/url]