# Drop Down Menus

**URL:** <https://forum.phpvms.net/t/drop-down-menus/2107>\
**Category:** Skinning - Legacy phpVMS (v2/v5)\
**Created:** [February 27, 2010, 3:18pm UTC](https://forum.phpvms.net/t/drop-down-menus/2107 "2010-02-27T15:18:16Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![simpilot](https://forum.phpvms.net/user_avatar/forum.phpvms.net/simpilot/32/26_2.png) [@simpilot](https://forum.phpvms.net/u/simpilot)\
**Post date:** [February 27, 2010, 3:18pm UTC](https://forum.phpvms.net/t/drop-down-menus/2107/1 "2010-02-27T15:18:16Z")

</div>

Folks, there are hundreds, if not thousands of sites offering code to create drop down menus.

Some places to start…

css drop down menus

[http://www.cssmenumaker.com/](http://www.cssmenumaker.com/)

[http://www.cssmenus.co.uk/](http://www.cssmenus.co.uk/)

and my favorite for js type menus

[http://www.dynamicdrive.com/dynamicindex1/index.html](http://www.dynamicdrive.com/dynamicindex1/index.html)

and if all else fails

[Drop Down Menu Search](http://lmgtfy.com/?q=drop+down+navigation+menus)

---

<div class="post-metadata">

**Author:** ![llju1](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/l/ba9def/32.png) [@llju1](https://forum.phpvms.net/u/llju1)\
**Post date:** [April 5, 2010, 5:19pm UTC](https://forum.phpvms.net/t/drop-down-menus/2107/2 "2010-04-05T17:19:09Z")

</div>

Ok I have searched, Read, and just plain beat my head against my monitor . Now can someone help me? I have the general Idea of how to make the Drop down menu I want, but I get confused by where everything goes. What i need it a drop down menu with slide out for sub menus. any Ideas would be helpful. And Like I said I have searched til my eyes are crossed. thanks in advanced. Remember I am old so give me a break

Lloyd

---

<div class="post-metadata">

**Author:** ![mark1million](https://forum.phpvms.net/user_avatar/forum.phpvms.net/mark1million/32/15_2.png) [@mark1million](https://forum.phpvms.net/u/mark1million)\
**Post date:** [April 5, 2010, 5:38pm UTC](https://forum.phpvms.net/t/drop-down-menus/2107/3 "2010-04-05T17:38:23Z")

</div>

I suppose you could adapt this, its something i was messing about with,

Its from ivao but it will give you an idea. It came from when i was learning different menus and styles

[menu.zip](\< _ **base\_url** _ \>/applications/core/interface/file/attachment.php?id=186)

---

<div class="post-metadata">

**Author:** ![llju1](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/l/ba9def/32.png) [@llju1](https://forum.phpvms.net/u/llju1)\
**Post date:** [April 5, 2010, 5:45pm UTC](https://forum.phpvms.net/t/drop-down-menus/2107/4 "2010-04-05T17:45:09Z")

</div>

> I suppose you could adapt this, its something i was messing about with,
> 
> Its from ivao but it will give you an idea. It came from when i was learning different menus and styles

that is what I was looking for Now one question do I copy and past the script on the CSS and place it on my CSS in my skins folder?

---

<div class="post-metadata">

**Author:** ![CPC900](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/c/a8b319/32.png) [@CPC900](https://forum.phpvms.net/u/CPC900)\
**Post date:** [May 1, 2010, 7:08pm UTC](https://forum.phpvms.net/t/drop-down-menus/2107/5 "2010-05-01T19:08:42Z")

</div>

I am having issues grasping this as well. sorry. I must analyze it too much or something. Do you add the drop down menu code to the core\_navigation file? And if so, how does it all fit into to that with different being logged in vs not logged in? Do I reference a different css file or do I add to the existing css?

Sorry if I seem dense over this whole thing, but I seem to have a real mental block with piecing it all together with phpvms. I had a drop down menu prior to phpvms, so I knew how to add it then. Sorry for bothering, but I still need help.

---

<div class="post-metadata">

**Author:** ![CPC900](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/c/a8b319/32.png) [@CPC900](https://forum.phpvms.net/u/CPC900)\
**Post date:** [May 12, 2010, 12:32am UTC](https://forum.phpvms.net/t/drop-down-menus/2107/6 "2010-05-12T00:32:11Z")

</div>

I need some simple guidance here please. How/where do I add the data in relation to a “logged” in menu vs a “not logged” in one. I think I can muddle through the rest. I just need to know how/where to edit the “core\_navigation” file. Think of me as a caveman who is very old and stupid.

---

<div class="post-metadata">

**Author:** ![Flightguy123](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/f/db5fbb/32.png) [@Flightguy123](https://forum.phpvms.net/u/Flightguy123)\
**Post date:** [May 12, 2010, 2:35pm UTC](https://forum.phpvms.net/t/drop-down-menus/2107/7 "2010-05-12T14:35:19Z")

</div>

If you are trying to get the Admin panel and the Pilot Center to switch from Registration, put these codes in:

Register =\> Pilot Center Code

```
<?php

if(!Auth::LoggedIn())

{

// Show these if they haven't logged in yet

?>

<li><a href="<?php echo SITE_URL ?>/index.php/registration">Register</a></li>

<?php

}

else

{

// Show these items only if they are logged in

?>

<li><a href="<?php echo SITE_URL ?>/index.php/profile">Pilot Center</a></li>

<?php

}

?>

```

For the Admin Panel:

```
<?php echo $MODULE_NAV_INC;?>
<?php
if(Auth::LoggedIn())
{
if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN))
{
	echo '<li><a href="'.fileurl('/admin').'">Admin Center</a></li>';
}
?>

```

---

<div class="post-metadata">

**Author:** ![CPC900](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/c/a8b319/32.png) [@CPC900](https://forum.phpvms.net/u/CPC900)\
**Post date:** [May 19, 2010, 12:27am UTC](https://forum.phpvms.net/t/drop-down-menus/2107/8 "2010-05-19T00:27:46Z")

</div>

After MUCH headache and swearing, I have figured it out.

---

<div class="post-metadata">

**Author:** ![CPC900](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/c/a8b319/32.png) [@CPC900](https://forum.phpvms.net/u/CPC900)\
**Post date:** [May 19, 2010, 1:57am UTC](https://forum.phpvms.net/t/drop-down-menus/2107/9 "2010-05-19T01:57:30Z")

</div>

Ok, just one thing now…On my site: [http://www.canadianclassicairlines.com/CPC](http://www.canadianclassicairlines.com/CPC) , I want to put the drop down menu BELOW the header graphic and also to have the drop down boxes line up properly. I will keep fumbling with this, but any guidance would be great.

---

<div class="post-metadata">

**Author:** ![simpilot](https://forum.phpvms.net/user_avatar/forum.phpvms.net/simpilot/32/26_2.png) [@simpilot](https://forum.phpvms.net/u/simpilot)\
**Post date:** [May 19, 2010, 2:54pm UTC](https://forum.phpvms.net/t/drop-down-menus/2107/10 "2010-05-19T14:54:09Z")

</div>

Hi Bruce,

In your layout.tpl file look for the line

```
$this->show('core_navigation.tpl');

```

and move that line to after the \<div\> that is calling your header. That should fix you up.

---

<div class="post-metadata">

**Author:** ![CPC900](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/c/a8b319/32.png) [@CPC900](https://forum.phpvms.net/u/CPC900)\
**Post date:** [May 19, 2010, 5:27pm UTC](https://forum.phpvms.net/t/drop-down-menus/2107/11 "2010-05-19T17:27:55Z")

</div>

In the process of doing my site up…I never used the layout.tpl file. So, should I try to incorporate that into my site? Is the layout.tpl a necessity? Because it has been fine without using it. Not sure WHY I didn’t have it with my skin, but nevertheless, where would I go instead to move the menu?

---

<div class="post-metadata">

**Author:** ![CPC900](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/c/a8b319/32.png) [@CPC900](https://forum.phpvms.net/u/CPC900)\
**Post date:** [May 21, 2010, 2:58pm UTC](https://forum.phpvms.net/t/drop-down-menus/2107/12 "2010-05-21T14:58:32Z")

</div>

Ok, so now I have my dropdown menu working…but NOT in Internet Explorer!!? It works great in Firefox. Anyways, any idea on how to fix this?

[http://www.canadianclassicairlines.com/CPC/](http://www.canadianclassicairlines.com/CPC/)

---

<div class="post-metadata">

**Author:** ![CPC900](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/c/a8b319/32.png) [@CPC900](https://forum.phpvms.net/u/CPC900)\
**Post date:** [May 21, 2010, 11:49pm UTC](https://forum.phpvms.net/t/drop-down-menus/2107/13 "2010-05-21T23:49:03Z")

</div>

Ok, apparently it is IE8, that is having trouble, I believe. I will look further. I thought it was affecting ALL IE versions, but I am mistaken. Why do people have to bother using IE anyway!

---

<div class="post-metadata">

**Author:** ![CPC900](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/c/a8b319/32.png) [@CPC900](https://forum.phpvms.net/u/CPC900)\
**Post date:** [May 23, 2010, 1:47am UTC](https://forum.phpvms.net/t/drop-down-menus/2107/14 "2010-05-23T01:47:15Z")

</div>

In case anyone cares…it was the “compatibility view” in IE8 that was checked. Turned it off and all was well. Sorry for the bother!

---

<div class="post-metadata">

**Author:** ![CPC900](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/c/a8b319/32.png) [@CPC900](https://forum.phpvms.net/u/CPC900)\
**Post date:** [June 15, 2010, 2:01am UTC](https://forum.phpvms.net/t/drop-down-menus/2107/15 "2010-06-15T02:01:24Z")

</div>

Quick question…How do I get the drop down menu to stay on top of the acars map?

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [June 15, 2010, 2:47am UTC](https://forum.phpvms.net/t/drop-down-menus/2107/16 "2010-06-15T02:47:19Z")

</div>

> Quick question…How do I get the drop down menu to stay on top of the acars map?

It’s tricky, Like my skin, i had to adjust the hieghts and it was hard to firgure out what is casuing this. Try hieging up.

---

<div class="post-metadata">

**Author:** ![CPC900](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/c/a8b319/32.png) [@CPC900](https://forum.phpvms.net/u/CPC900)\
**Post date:** [June 15, 2010, 8:38pm UTC](https://forum.phpvms.net/t/drop-down-menus/2107/17 "2010-06-15T20:38:10Z")

</div>

One last question(hopefully), about drop down menus…I see my dropdown menus fine on IE7 and IE8, but I want them to work with IE6 as well. Is there something I can do to force that on my end? Because I can’t change anything on the computer that won’t show the menus in IE6(long story). Other drop downs show up, so not sure why mine don’t in IE6?!?

---

<div class="post-metadata">

**Author:** ![TAV1702](https://forum.phpvms.net/user_avatar/forum.phpvms.net/tav1702/32/41_2.png) [@TAV1702](https://forum.phpvms.net/u/TAV1702)\
**Post date:** [July 20, 2010, 5:40am UTC](https://forum.phpvms.net/t/drop-down-menus/2107/18 "2010-07-20T05:40:00Z")

</div>

> I suppose you could adapt this, its something i was messing about with,
> 
> Its from ivao but it will give you an idea. It came from when i was learning different menus and styles

Did you ever use this drop down and if so were you successful? I can not get it to go any wider no matter what I do. I have adjusted the width and all. If I add another menu item, it just drops it below the menu.

I am really scratching my head on this one. I can’t give a link either unless I catch you on. It is on my WAMP server so I would have to turn it on for anyone to see it.

I suppose I could add a screen shot. I may do that tomorrow. I was just curious if you ever used it or not.

---

<div class="post-metadata">

**Author:** ![Jeff](https://forum.phpvms.net/user_avatar/forum.phpvms.net/jeff/32/78_2.png) [@Jeff](https://forum.phpvms.net/u/Jeff)\
**Post date:** [July 20, 2010, 5:53am UTC](https://forum.phpvms.net/t/drop-down-menus/2107/19 "2010-07-20T05:53:02Z")

</div>

I use [My CSS Menu](http://www.mycssmenu.com) for all of my other websites. I have yet to try to use it in phpVMS though. If anyone is successful, let me know. (Yes! It is free to use, and has millions of possibilites to make it unique to use with any website skin)

---

<div class="post-metadata">

**Author:** ![Airport](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/a/7ab992/32.png) [@Airport](https://forum.phpvms.net/u/Airport)\
**Post date:** [July 20, 2010, 9:35am UTC](https://forum.phpvms.net/t/drop-down-menus/2107/20 "2010-07-20T09:35:00Z")

</div>

Hello,

pretty nice generator, and it works

Martin

[Next page](https://forum.phpvms.net/t/drop-down-menus/2107.md?page=2)
