MyBBHacks.com Plugins for  MyBB

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gallery link for main menu
#1
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?
Reply
#2
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>
Like what I do? Support me at https://www.patreon.com/vbgamer45/
Reply
#3
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?
Reply
#4
It should go after other entries. Post the header here just in case.
Like what I do? Support me at https://www.patreon.com/vbgamer45/
Reply
#5
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..
Reply
#6
Ok. Moved your piece of code and the Gallery menu item has gone now.
Reply
#7
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>
Reply
#8
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>
Like what I do? Support me at https://www.patreon.com/vbgamer45/
Reply
#9
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.
Reply
#10
My web address is www.alpenaustria.com
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)