This might sound like a very basic question but I just started using Geany. When you are editing a page (HTML or PHP), what do you do to get it to display in a browser so you can see the results?
Lee
On 7/17/07, Lee Underwood leeu@cfl.rr.com wrote:
This might sound like a very basic question but I just started using Geany. When you are editing a page (HTML or PHP), what do you do to get it to display in a browser so you can see the results?
I separately open the browser window and manually type in the location. Then switch between Geany and the web browser as-needed.
On Tue, 17 Jul 2007 14:03:09 -0400, Lee Underwood leeu@cfl.rr.com wrote:
Hi,
This might sound like a very basic question but I just started using Geany. When you are editing a page (HTML or PHP), what do you do to get it to display in a browser so you can see the results?
generally pressing F5 should start your browser pointing to the current HTML file. Instead of pressing F5 you can also use the file menu Build->Execute or the Execute icon in the toolbar.
If it doesn't work open the preferences dialog and the browser setting in the Tools tab.
The above should work with any HTML file.
PHP files can also be executed but by default it is assumed to execute them directly with the PHP command line interpreter. To open them in a web browser with a specific URL (file:// isn't suitable in most cases) you have to edit the filetype definition file for the PHP filetype. For details of finding and editing this file please read [1]. There is an example at the end of the file which demonstrates how to use a local webserver for parsing PHP files. I hope this helps a bit.
Regards, Enrico
On Tue, 17 Jul 2007 20:38:12 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
| On Tue, 17 Jul 2007 14:03:09 -0400, Lee Underwood leeu@cfl.rr.com | wrote: | | Hi, | | > This might sound like a very basic question but I just started using | > Geany. When you are editing a page (HTML or PHP), what do you do to | > get it to display in a browser so you can see the results? | generally pressing F5 should start your browser pointing to the current | HTML file. Instead of pressing F5 you can also use the file menu | Build->Execute or the Execute icon in the toolbar. | | If it doesn't work open the preferences dialog and the browser setting | in the Tools tab. | | The above should work with any HTML file. | | PHP files can also be executed but by default it is assumed to execute | them directly with the PHP command line interpreter. To open them in a | web browser with a specific URL (file:// isn't suitable in most cases) | you have to edit the filetype definition file for the PHP filetype. | For details of finding and editing this file please read [1]. | There is an example at the end of the file which demonstrates how to | use a local webserver for parsing PHP files. I hope this helps a bit. | | Regards, | Enrico |
Enrico,
Thanks, the F5 worked. Also, I'll check out the file for the PHP files. I guess I'll just start the XAMPP server to run the PHP files. I appreciate the help!
Do you, or anybody else, know of any other Web sites that have tips, etc. for Geany?
Lee
On 7/17/07, Lee Underwood leeu@cfl.rr.com wrote:
Do you, or anybody else, know of any other Web sites that have tips, etc. for Geany?
I've got a few notes scribbled here: http://www.milliwatt-software.com/jmg/notes/geany.html
---John
On Tue, 17 Jul 2007 17:10:31 -0400 "John Gabriele" jmg3000@gmail.com wrote:
| On 7/17/07, Lee Underwood leeu@cfl.rr.com wrote: | > | > Do you, or anybody else, know of any other Web sites that have tips, etc. for Geany? | | I've got a few notes scribbled here: | http://www.milliwatt-software.com/jmg/notes/geany.html | | ---John | _______________________________________________
Thanks John, I'll check them out.
Lee
On Tue, 17 Jul 2007 15:37:52 -0400, Lee Underwood leeu@cfl.rr.com wrote:
Thanks, the F5 worked. Also, I'll check out the file for the PHP files. I guess I'll just start the XAMPP server to run the PHP files. I appreciate the help!
Do you, or anybody else, know of any other Web sites that have tips, etc. for Geany?
There is a nice introduction available at http://www.ubuntunews.info/geany-perfect-programming-ide.
If you have any questions or find some bugs, just mail us or post here on this list.
Regards, Enrico
On Wed, 18 Jul 2007 17:42:23 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
| There is a nice introduction available at | http://www.ubuntunews.info/geany-perfect-programming-ide. | | If you have any questions or find some bugs, just mail us or post | here on this list. | | Regards, | Enrico
Yes, I saw that. That was how I find it in the first place. I appreciate all the help so far. This is going to be a good experience.
I may be asking more questions as I also want to write a review for WebReference.com, one of Jupitermedia's Web sites, who I work for. I see that you and Nick are the authors. Great.
Lee
On Wed, 18 Jul 2007 12:14:13 -0400, Lee Underwood leeu@cfl.rr.com wrote:
On Wed, 18 Jul 2007 17:42:23 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
| There is a nice introduction available at | http://www.ubuntunews.info/geany-perfect-programming-ide. | | If you have any questions or find some bugs, just mail us or post | here on this list. | | Regards, | Enrico
Yes, I saw that. That was how I find it in the first place. I appreciate all the help so far. This is going to be a good experience.
I may be asking more questions as I also want to write a review for WebReference.com, one of Jupitermedia's Web sites, who I work for. I
Cool, it would be great if you could inform us when you've finished ;-).
Regards, Enrico
On Wed, 18 Jul 2007 19:32:52 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
| > | > I may be asking more questions as I also want to write a review for | > WebReference.com, one of Jupitermedia's Web sites, who I work for. I | Cool, it would be great if you could inform us when you've finished ;-). | | Regards, | Enrico |
No problem. I'll let you know.
In the meantime, if you're interested in writing any articles for us, just let me know (we pay also!).
Lee