MyBBHacks.com Plugins for MyBB

Full Version: Gallery link for main menu
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Have just installed ezGallery Pro and it seems to have installed ok.  However, I can't see a Gallery menu item in the top menu on each page.  How do I get the menu item showing please?
Are you using the default theme? It should try to auto install if not edit the header template add add code. Header Templates -> Header
Code:
<li><a href="{$mybb->settings['bburl']}/ezgallery.php" style="background-image: url('images/icons/photo.png');">Gallery</a></li>
I'm using the FunkyOne template by iAndrew. Should I put this code at the end or does it have to go anywhere in particular in the header?
It should go after other entries. Post the header here just in case.
I just added it to the rest of the code as as per this selection:

<li><a href='calendar.php'><span>Calendar</span></a></li>
<li><a href="{$mybb->settings['bburl']}/ezgallery.php" style="background-image: url('images/icons/photo.png');">Gallery</a></li>
<li><a href="search.php?action=getnew"><span> New topics</span></a></li>

That resulted in the Gallery icon showing in the menu but with a strange icon behind it that definitely looks like it should not be there (It is using photo.png but it is showing up multiple times). When I click on the word Gallery (that is only just visible because of the image behind it) I get:

Not Found

The requested URL /ezgallery.php was not found on this server.

I must have made a mistake somewhere..
Ok. Moved your piece of code and the Gallery menu item has gone now.
Here is my header code:

<div class="wow fadeInRight box topforum"><i class="fa fa-angle-double-up fa-1x"></i></div>

<div id="mainwidth"> <br />


<div class="logo" style="vertical-align: middle;"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" class="logolink" style="max-width:100%;height:auto;" /></a></div>

<div class="float_right"> {$quicksearch} </div> <br /> {$welcomeblock}

<div id='cssmenu'>
<ul>
<li><a href='portal.php'><span> <i style="vertical-align: middle; font-size: 16px;" class="fa fa-home fa-fw"></i></span></a></li>
<li><a href='index.php'><span> Forums</span></a></li>
<li><a href="misc.php?action=help"><span> Help</span></a></li>
<li><a href='search.php'><span> Search</span></a></li>
<li><a href='memberlist.php'><span> Members</span></a></li>
<li><a href='facts-and-stats.php'><span> Facts & Stats</span></a></li>
<li><a href='faq.php'><span> FAQ</span></a></li>
<li><a href='calendar.php'><span>Calendar</span></a></li>
<li><a href="search.php?action=getnew"><span> New topics</span></a></li>
</ul>
</div><br />
<div class="container">
<div id="content">
<div class="wrapper">
<navigation>
{$pm_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
{$pending_joinrequests}
{$awaitingusers}

<li><a href="{$mybb->settings['bburl']}/ezgallery.php" style="background-image: url('images/icons/photo.png');">Gallery</a></li>
Add after
Code:
<li><a href='search.php'><span> Search</span></a></li>
This
Code:
<li><a href="ezgallery.php" style="background-image: url('images/icons/photo.png');">Gallery</a></li>
Ok. Did that but get the same issues as above:

It resulted in the Gallery icon showing in the menu but with a strange icon behind it that definitely looks like it should not be there (It is using photo.png but it is showing up multiple times). When I click on the word Gallery (that is only just visible because of the image behind it) I get:

Not Found

The requested URL /ezgallery.php was not found on this server.
My web address is www.alpenaustria.com
Pages: 1 2