Add links to menu [RESOLVED]
Posted by: boj (---.dsl.irvnca.sbcglobal.net)
Date: January 26, 2013 02:45AM

Is it possible to add custom links to files/webpages within the WAMP menu? I'm using Apache Virtualhosts and would like links to the corresponding root folders. I'm talking about this menu: [i.imgur.com]

Side note: I am comfortable (For the most part) modifying system files.
Thanks,
Boj



Edited 1 time(s). Last edit at 01/27/2013 06:57PM by boj.

Options: ReplyQuote
Re: Add links to menu
Posted by: stevenmartin99 (Moderator)
Date: January 26, 2013 06:23AM

Yes that's possible.

You could add each folder manually and ill explain how to do that but let me first see if I can make some Changes to do it automatically

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Add links to menu
Posted by: boj (---.dsl.irvnca.sbcglobal.net)
Date: January 27, 2013 06:07AM

Sorry to bug you, but how do you do it? It's been more than a day since you told me it was possible.

stevenmartin99 Wrote:
-------------------------------------------------------

> but let me first see if I can make
> some Changes to do it automatically

What did you mean by this?

Options: ReplyQuote
Re: Add links to menu
Posted by: stevenmartin99 (Moderator)
Date: January 27, 2013 09:09AM

I was going to write code that will scan the www folder and add a link for each folder.
But since you want it quickly you can add the folders with the following steps

1. Open c:\wamp\wampmanager.tpl in a good text editor.
2. Add a new line after line 122.
3. Add the following code to the new blank line 123
Type: submenu; Caption: "Projects"; SubMenu: projectsMenu; Glyph: 3


4. Goto line 140 , leave a blank line, add the following code and then leave a a blank line after.
[projectsMenu]
;WAMPPROJECTMENUSTART
Type: item; Caption: "site1"; Action: run; FileName: "${c_navigator}"; Parameters: "http://url_for_site_1"; Glyph: 5
;WAMPPROJECTMENUEND


5. Change the red writing to suit your site, the first is the name on the menu, the second is the url.

6. Copy and paste the blue line only for each site you want to add.

7. Save the file. Right click the wamp menu and press REFRESH.

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]



Edited 4 time(s). Last edit at 01/27/2013 09:16AM by stevenmartin99.

Options: ReplyQuote
Re: Add links to menu
Posted by: boj (---.dsl.irvnca.sbcglobal.net)
Date: January 27, 2013 06:48PM

Thank you so much!

Options: ReplyQuote


Sorry, only registered users may post in this forum.