Page 1 of 1

[CLOSED]no run action defined for php files

Posted: Mon 27 Apr 2009, 02:40
by ecomoney
Title says it all...misconfigured mimetype?

Posted: Wed 13 May 2009, 08:52
by dejan555
This can be easily set, but why in Geany? php are webpages right? They should open in seamonkey/defafultbrowser? And then add rox right click for web developers/designers? I'm not at home right now but I can make pet for these, just not sure if we should set DEFAULT run action to open in geany, html files are set to open in seamonkey right?

Posted: Wed 13 May 2009, 09:52
by ecomoney
php files are more like interpreted programs, that need the php service to be installed to run (like on webservers). Puppy isnt a webserver distro (although it can do it), so perhaps best that php files are open with a code editor, edited and uploaded to a webserver to be run.

Posted: Wed 13 May 2009, 10:28
by dejan555
Yes, but if you go online on some php page and save it "Save as..." it will save it with php extension, so imagine everyday user saving webpage and then it opens in text editor where he sees bunch of lines he doesn't understand :) I don't mind, I can make it anyway you need, someone just need to decide what will go in official version.

Posted: Thu 14 May 2009, 07:58
by aragon
ecomoney, are your customers raising so quick to php-developers? if it should be newbie-friendly, defaultbrowser would be the correct action. if you rightclick on a php-file you'll get

edit with geany
edit with leafpad
send to trash
view with seamonkey

the options are all there, so maybe just leave it as it is. if there is no clear run-action, why define one.

aragon

Posted: Thu 14 May 2009, 08:26
by WhoDo
aragon wrote:defaultbrowser would be the correct action. if you rightclick on a php-file you'll get

edit with geany
edit with leafpad
send to trash
view with seamonkey

the options are all there, so maybe just leave it as it is. if there is no clear run-action, why define one.
aragon is correct. There is no point associating a web file type with an editor by default because it could prevent the file from being opened normally with the web browser. Use RoxRightClicks to edit if necessary. Individual users can still use the Set Run Action option in Rox to associate the file with their editor of choice.