Good morning... forum
I want to place a button for a personalized access in the menu bar.
I have tried to make the guide of:
https://appgini.bizzworxx.de/products/j ... to-navbar/
...but it does not work. (I have the AppGiniHelper.min.js)
Can anyone help me or know how I can do this?
In the attached image you can see an example of what I want to do.
If anyone knows... or give me a guide...
thanks
add-items-to-navbar,... help me?
add-items-to-navbar,... help me?
- Attachments
-
- button.png (54.7 KiB) Viewed 1494 times
Luis Ramirez R.
Re: add-items-to-navbar,... help me?
If you send your order number by email to ticket@bizzworxx.de I can help you on custom navbar items within your support option.I have the AppGiniHelper.min.js
Adding links and complete dropdown menus works just fine. If you have any red errors in console please fix them first.
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 23.16 Revision 1515 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 23.16 Revision 1515 + all AppGini Helper tools
Re: add-items-to-navbar,... help me?
Here is an example for adding...I have the AppGiniHelper.min.js
- a custom menu (dropdown) with menu-items and dividers (lines)
- a simple link
- a simple link with icon
Code: Select all
<!-- file: hooks/header-extras.php -->
<!-- requires script-include of AppGiniHelper.min.js -->
<script>
var navbar = AppGiniHelper.getNavbar();
navbar
.fix()
.addLink("Information", "my-url-.php")
.addLink("Information+Icon", "my-url-.php", "info-sign");
var dd_neu = navbar.addDropdown("", "option-vertical");
dd_neu.addLink("Aufgabe", "case_tasks_view.php?addNew_x=1", "plus");
dd_neu.addLink("Notiz", "case_notes_view.php?addNew_x=1", "plus");
dd_neu.addDivider();
dd_neu.addLink("Fallakte", "cases_view.php?addNew_x=1", "plus");
dd_neu.addDivider();
dd_neu.addLink("Kalender", "calendar.php", "calendar");
dd_neu.addDivider();
dd_neu.addLink("Benutzerdefinierte Felder", "customfields.php", "pencil");
</script>
PS: Older versions of the lib require
var navbar = AppGiniHelper.common.getNavbar();
for getting the handle-variable.Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 23.16 Revision 1515 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 23.16 Revision 1515 + all AppGini Helper tools
Re: add-items-to-navbar,... help me?
excellent... jsetzer
excellent...
It works very well
thank you so much
excellent...
It works very well
thank you so much
Luis Ramirez R.
Re: add-items-to-navbar,... help me?
hello
i use this code to mane new menu and button to my project
after code in footer-extras.php
i use this code to mane new menu and button to my project
after code in footer-extras.php
Code: Select all
<script>
$j(function(){
$j('.btn-import-csv').parent().prepend('<li class="dropdown" style="display: none;"><a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">New List<b class="caret"></b></a><ul class="dropdown-menu" role="menu"><li><a href="https://www.google.com"><img src="table.gif" height="32"> Google </a></li><li><a href="https://forums.appgini.com/"><img src="table.gif" height="32"> AppGini forums</a></li></ul></li>');
});
$j(function(){
$j('.btn-import-csv').parent().prepend('<a class="btn-lg navbar-btn btn-success" href="#"><b> New Button : </b></a>');
});
</script>
Re: add-items-to-navbar,... help me?
Great! Happy it works for you!
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 23.16 Revision 1515 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 23.16 Revision 1515 + all AppGini Helper tools