3.2.x Extensions Database 3.2 / 3.3Navbar 3.2.x

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
User avatar

Myst
Users
Users
Posts: 5
Joined: 25 Jul 2016, 21:29
    Windows 10 Firefox

Re: Navbar 3.2.x

Post by Myst »

Thank you for this Extension! It's just now solving a 'problem' for my users :)
Just a quick question though... is it possible to change the Icon (the three lines) in front of it to some other icon?

edit... nvm... found it, should have just looked instead of being a lazybum. just in case anybody else wants to change the icon...

open the file

Code: Select all

navbar/styles/prosilver/template/event/overall_header_navigation_prepend.html
find

Code: Select all

<i class="icon fa-bars fa-fw" aria-hidden="true"></i><span>{L_NAVBAR_LINKS}</span>
find in this code the word

Code: Select all

bars
and replace it with your desired icon

User avatar

HsnCnKly
Users
Users
Posts: 1
Joined: 23 Mar 2018, 16:35
    Windows 10 Chrome

Re: Navbar 3.2.x

Post by HsnCnKly »

How can I do like this at simplisity theme. I need to add setforumwidth and readmemberspm extensions. Sorry for my bad english, help, please.

Image

User avatar

luca17000
Users
Users
Posts: 41
Joined: 26 Jan 2015, 00:36
    Windows 10 Chrome

Re: Navbar 3.2.x

Post by luca17000 »

Good evening dmzx,

I really do not understand how this extention works .. I managed to put two extentions in the navbar but it remains duplicate in the original navbar .. how to do? here is the link of the extention that I would like to put in your navbar, as well as the screens
navbar.png

https://luca-games.fr/ucp.php?i=ucp_prefs&mode=personal
https://luca-games.fr/ultimatepoints
https://luca-games.fr/mchat
https://luca-games.fr/ultimatepointslist
https://luca-games.fr/f1webtip/index position 2
https://luca-games.fr/arcade.php position 1
https://luca-games.fr/help/faq

Thanks for your help

cordially ..
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Navbar 3.2.x

Post by Sniper_E »

HsnCnKly wrote: 24 Mar 2018, 15:08 How can I do like this at simplisity theme. I need to add setforumwidth and readmemberspm extensions.
The set forum width ext has a event/overall_header_navigation_append.html event template tha puts the link in the header navbar.

Code: Select all

<!-- IF S_USER_LOGGED_IN -->
<li data-last-responsive="true">
	<a href="{U_SET_WIDTH_PROFILE}" title="{L_SET_WIDTH}" role="menuitem">
		<i class="icon fa fa-eye" aria-hidden="true"></i>
		<span>{L_SET_WIDTH_LINK}</span>
	</a>
</li>
<!-- ENDIF -->
Does your Extensions drop-down codes have an EVENT in it? Like <!-- EVENT dmzx_navbar_quick_links -->
In the set forum width ext you would create a event/dmzx_navbar_quick_links.html event template.

Code: Select all

<!-- IF S_USER_LOGGED_IN -->
<li>
	<a href="{U_SET_WIDTH_PROFILE}" title="{L_SET_WIDTH}" role="menuitem">
		<i class="icon fa fa-eye" aria-hidden="true"></i>
		<span>{L_SET_WIDTH_LINK}</span>
	</a>
</li>
<!-- ENDIF -->
Then that link will show in the drop-down. Do the same for the readmemberspm ext link.
It still shows in the navbar so you have to delete the event/overall_header_navigation_append.html event template from your server.
Clear server cache just after delete.
luca17000 wrote: 07 May 2018, 23:06 I really do not understand how this extension works .. I managed to put two extentions in the navbar but it remains duplicate in the original navbar .. how to do? here is the link of the extension that I would like to put in your navbar, as well as the screens
Thanks for your help
Your links do not look to sit right in your dropdown. What codes are you using? How is your dropdown codes written?
Or maybe the explanation I gave above will help you in writing your event template.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Navbar 3.2.x

Post by Sniper_E »

I see why your yahtzee icon is off. That game is using a icon image instead of a fa-icon.

Code: Select all

			<li class="small-icon icon-knuffel"><a href="/knuffel" title="Yahtzee">Yahtzee</a></li>
You could select a fa-fa icon to use in that code and your icons will line up.

Code: Select all

			<li data-last-responsive="true">
				<a href="/knuffel" title="Yahtzee" role="menuitem">
				<i class="icon fa fa-yahoo" aria-hidden="true"></i> <span>Yahtzee</span></a>
			</li>
As far as your links duplicated in the navbar...
Once you get them in your drop-down then remove the event template like I instructed above.

User avatar

luca17000
Users
Users
Posts: 41
Joined: 26 Jan 2015, 00:36
    Windows 10 Chrome

Re: Navbar 3.2.x

Post by luca17000 »

I must be silly but I really do not understand which file to erase ... I'm sorry but this extension makes me crazy .. look at your pm at worst and if you want to make me an example that I will follow .. sincerely sorry for the disturbance

User avatar

lopoto
Users
Users
Posts: 73
Joined: 28 Dec 2014, 01:59
    Windows 10 Firefox

Re: Navbar 3.2.x

Post by lopoto »

For me it is also magic :D

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Navbar 3.2.x

Post by Sniper_E »

luca17000 wrote: 08 May 2018, 00:26 I must be silly but I really do not understand which file to erase ... I'm sorry but this extension makes me crazy .. look at your pm at worst and if you want to make me an example that I will follow .. sincerely sorry for the disturbance
Sniper_E wrote: 07 May 2018, 23:34 It still shows in the navbar so you have to delete the event/overall_header_navigation_append.html event template from your server.
Clear server cache just after delete.
If you have added a link from an extension into your new drop-down menu.
And the link to that extension is still in your navbar and duplicated in your new drop-down, you want one removed.
Each extension has an event/ folder with a template that puts their link in the navbar. Look there.

User avatar

luca17000
Users
Users
Posts: 41
Joined: 26 Jan 2015, 00:36
    Windows 10 Chrome

Re: Navbar 3.2.x

Post by luca17000 »

:wall: :wall: :wall:

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Ubuntu Chrome

Re: Navbar 3.2.x

Post by martin »

Must i install this and make a video on how to ?
Image

User avatar

luca17000
Users
Users
Posts: 41
Joined: 26 Jan 2015, 00:36
    Windows 10 Chrome

Re: Navbar 3.2.x

Post by luca17000 »

Martin, really I thank you in advance, I really did not understand this ext, even if I do not consider myself a beginner !!

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Chrome

Re: Navbar 3.2.x

Post by Sniper_E »

I just visited your site and it looks like you have all your links in the drop down. https://luca-games.fr

You did it! :thumbup:
luca_games.gif
I'll share some css for those drop downs later. I have sub links setup to show on hover. It shortens the long drop down menus like yours.
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

luca17000
Users
Users
Posts: 41
Joined: 26 Jan 2015, 00:36
    Windows 10 Chrome

Re: Navbar 3.2.x

Post by luca17000 »

:yikes: I don't have thats me ...

User avatar

lopoto
Users
Users
Posts: 73
Joined: 28 Dec 2014, 01:59
    Windows 10 Firefox

Re: Navbar 3.2.x

Post by lopoto »

Someone good could have made an example of how to add to navbar -3 ext. fileuplad and imageuplad and downloadsystem , for example. :eyes2: :question:

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Navbar 3.2.x

Post by Sniper_E »

You have the navbar 3.2 template with the download. You just need an event template in your game extention's event/ folder.

If the game is not an extension then you can add your link to that game in the template that came with this download.

It is not that difficult to wrap your head around that. Install the extension and the games drop down should show in the navbar.
Take the first step or get away from it. Doing nothing will get you nothing.

I installed this and I get a "Games" drop down menu in the navbar. When I click it a blank menu opens. It needs links added to it.
There are event templates in your game to add their link into the navbar. Normally not in a drop down. You can change that.
The event template is named overall_header_navigation_prepend.html you can rename that to dmzx_navbar_quick_links.html
This will move your game link into your new "Games" drop down menu. Try that. Do it! Then report back.

navbardropdown.gif

I changed the name from Games to Extensions and then renamed my extension's event templates.
I see that the drop downs do not show like they are suppose to.
I created a Games drop down also and it shows the same way. It's not picking up some css. I'll have to check that out.

You can check them out at my site. Login tester:tester to see them. Look at ucp links drop down.
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

Post Reply Previous topicNext topic