Adding WAMP menu entries
Posted by: msteudel (---.nyc.res.rr.com)
Date: May 19, 2008 05:19PM

Hi I'm running Wamp 2.0 and I wanted to add a entry to the apache menu, in older versions I could edit the wampmanager.ini but when I do it in 2.0 it over writes when I relaunch wamp. Any ideas?

Thanks, Mark

Options: ReplyQuote
Re: Adding WAMP menu entries
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: May 19, 2008 05:22PM

it shouldnt ,,, iv dont it. make sure you have wamp completrly shut down beofer you do it.

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

Options: ReplyQuote
Re: Adding WAMP menu entries
Posted by: msteudel (---.nyc.res.rr.com)
Date: May 19, 2008 06:41PM

Yeah I tried that, shut down WAMP, then edit the file, save it and then launch wamp again, it reloads the file

Options: ReplyQuote
Re: Adding WAMP menu entries
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: May 19, 2008 07:03PM

oh yes i just tried and 2.0 does that, try edit the tpl file

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

Options: ReplyQuote
Re: Adding WAMP menu entries
Posted by: pappathan (---.hsd1.ma.comcast.net)
Date: May 19, 2008 07:17PM

Hello Mark,

You may want to make a backup copy of the wampmanager.tpl (template) file.
Open in a good text editor and try this.

Beneath the heading
[Menu.Left]
;WAMPMENULEFTSTART

You will see lines similar to:
Type: submenu; Caption: "PHP"; SubMenu: phpMenu; Glyph: 3

As a test, replace the caption "PHP" with anything else.

Glyph: 3 is simply the folder icon you see next to PHP on the menu.

With a little editing you should be able to figure out the control strings and order used to make additional menu items.

Note: You will have to make corresponding changes\additions in the wampmanager.ini

Hope this helps,


Paul

Options: ReplyQuote
Re: Adding WAMP menu entries
Posted by: msteudel (---.nyc.res.rr.com)
Date: May 19, 2008 07:56PM

Thanks paul.

Options: ReplyQuote
Re: Adding WAMP menu entries
Posted by: pappathan (---.hsd1.ma.comcast.net)
Date: May 19, 2008 08:58PM

My pleasure Mark,

Don't forget to add what they refer to as 'action Items' which are simply paths the .exe, .php or scripts you want to run.

Example:

Type: item; Caption: "${w_localhost}"; Action: run; FileName:"${c_navigator}"; Parameters: "[localhost]; ;ph_upload.php Glyph: 5

Good Luck,


Paul

Options: ReplyQuote


Sorry, only registered users may post in this forum.