The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
Open bootstrap modal over the navbar - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.4 (https://userspice.com/forums/forumdisplay.php?fid=27)
+--- Thread: Open bootstrap modal over the navbar (/showthread.php?tid=1328)



Open bootstrap modal over the navbar - Duke - 02-06-2019

Hello,

im currently trying to add an item to the navbar that opens a modal on the home tab.
The problem is that the navbar.php doesn't change anything after editing since its prob overwritten by the menu.
Also I tried it with a small Javascript but that ended with a refreshing loop since i had to refresh the page to open the modal.
Is there any way to make that work?

Greetings


RE: Open bootstrap modal over the navbar - mudmin - 02-06-2019

(02-06-2019, 09:44 PM)Duke Wrote: Hello,

im currently trying to add an item to the navbar that opens a modal on the home tab.
The problem is that the navbar.php doesn't change anything after editing since its prob overwritten by the menu.
Also I tried it with a small Javascript but that ended with a refreshing loop since i had to refresh the page to open the modal.
Is there any way to make that work?

Greetings

There are 2 types of navigation. Which do you have set in the settings on the admin dashboard? There is file based and database-based.  DB is controlled by the navigation sidebar link.