|
| |
|
|
artpics
Posts: 122 Joined: 12/20/2003 From: London UK Status: offline
|
.php files - 7/10/2004 17:39:38
hello i have been asked to work on a site that uses .php as the page extension does fp support this ,and is it easy to change like html. thanks RT
|
|
|
|
abbeyvet
Posts: 5095 From: Kilkenny Ireland Status: offline
|
RE: .php files - 7/10/2004 20:21:13
I make most of my sites using .php extensions and almost all of them in FP. You can see and edit pages in the normal way, ie, all three views and so on, nothing different there. There are some things to watch out for though. It also updates things as you move them around and so on. 1. You should probably FTP rather than publish your site. Not sure about this, but it's what I do. 2. You will not be able to use FP includes, forms etc. None of the FP specific stuff will work. 3. You can however use PHP includes. They look like this: <?php include($DOCUMENT_ROOT . "/inc/footer.txt"); ?> where "inc" is the include folder and "footer.txt" has all the code for the footer stuff. You will not however see your includes when you are editing a page. What I generally do is make a template, then extract everything I want to be in an include to a text file, in the "inc" folder. NOTE: FP will not update these, so you need to keep track of any links in them manually. It takes a little shift in the way you normally work with FP, but is perfectly doable.
_____________________________
Katherine :: InKK Design :: InKK Domains
|
|
|
|
artpics
Posts: 122 Joined: 12/20/2003 From: London UK Status: offline
|
RE: .php files - 7/10/2004 21:03:58
http://www.1wants1.com/ this is the site and i don't think it is that confusing, thanks for the confidence boost
|
|
|
|
BobbyDouglas
Posts: 5470 Joined: 5/15/2003 From: Arizona Status: offline
|
RE: .php files - 7/10/2004 23:58:38
It also updates things as you move them around and so on. - Try this again. FP has NEVER been able to do this with .php pages. If you do a search for php and frontpage on here, you will see many posts by me complaining about how this doesn't work, and wondering if someone has a fix for it. (Dan said it was something on his todo list, but he is pretty busy.) Basically, FP handles .php like it does .txt files. The website you linked to runs off of a database, most likely you will need to upload your files in binary, something I didn't think FP could do. Depending on what you need to do to the site, stay far away from FP until you have the knowledge of what it does before you go practice on a client's site. I would make your own php site, try to edit things using FP, learn a few tricks along the way, then use it to edit a client's .php site. It can really screw things up. I found out that FP does not support .php as it does .html pages. Not only do you have to configure it to open .php pages, you have to manually change things like the location/source of every image and link that you change. If MS allowed .php extensions to work just like the .html ones, a lot more people would be using FP. Once DW adds the FP technology of updating location/source it will really shoot a hole in FP. Only reason I like and use FP is because of the automatic updating of the location/source, and its very easy to use extensions. If DW can get both of these, I would switch in seconds
_____________________________
Arizona Web Design - Mr Bobs Web Design in Arizona The Arizona Web Hosting Challenge
|
|
|
|
artpics
Posts: 122 Joined: 12/20/2003 From: London UK Status: offline
|
RE: .php files - 7/11/2004 0:09:24
thanks bob for your feedback i have read a lot of posts on this forum ,yes php looks complicated, i downloaded a tryout version of go live (adobe) and was lost even though i am brilliant in photoshop , shall i get the client to buy golive as my fee or do i redesign the whole site with .html extensions so i know what i am doing and can manage the site easily with front page then add some kind of shopping option later. or shall i just stick with editing the images, metas, graphics, hyperlinks, thanks for your answers rt
|
|
|
|
BobbyDouglas
Posts: 5470 Joined: 5/15/2003 From: Arizona Status: offline
|
RE: .php files - 7/11/2004 0:26:37
php looks complicated - Learning to code PHP can be complicated. But having a .php extensions isn't too much of a difference, it is just a few things you need to know before you go mess on a real site. i downloaded a tryout version of go live (adobe) and was lost even though i am brilliant in photoshop - It seems like the Adobe products are a little bit harder to use than the macromedia ones. Going from FP to GoLive is a HUGE step. I would suggest you experiment with DreamWeaver first, since it is a little easier than GoLive. Shall i get the client to buy golive as my fee - Sometimes you can include this into the quote, other times you cannot. I wouldn't talk to the client like this is something they need to pay for because your normal program cannot work on their site (it makes you look bad). or do i redesign the whole site with .html extensions - You can't do this. The website runs off of a database, which is something they took the trouble to do, so they would most likely want to keep it like that. Without knowing more about what you are going to do to the site, I can't really tell you what you need to do. I can only suggest you try out another program such as Dreamweaver. You can pick up Dreamweaver MX 2004 for pretty cheap on Ebay.
_____________________________
Arizona Web Design - Mr Bobs Web Design in Arizona The Arizona Web Hosting Challenge
|
|
|
|
Giomanach
Posts: 6128 Joined: 11/19/2003 From: England Status: offline
|
RE: .php files - 7/11/2004 0:36:26
quote:
php looks complicated lol, for me it was like learning complex JavaScript for Servers quote:
Dan said it was something on his todo list, but he is pretty busy. It's still on my to do list. That reminds me, must re-install VBS Pro and C++ Personally, I use PHPEdit for my PHP files, it's an IDE and works a treat for what I want. quote:
You can pick up Dreamweaver MX 2004 for pretty cheap on Ebay. If not 2004 version, MX will suffice just nicely, I have boht, sooo, ummm, yeah lol Dan
_____________________________
|
|
|
|
artpics
Posts: 122 Joined: 12/20/2003 From: London UK Status: offline
|
RE: .php files - 7/11/2004 0:37:27
thanks bob for your time bit too much php for me to learn at the moment i think. The website runs off of a database, which is something they took the trouble to do, so they would most likely want to keep it like that. can i convert the database .php to *access ms* type of database(.mdb) so everything is working with front page(extensions) as the client only has 20 products. what needs doing to the site is submitting to the search engines, tidying up email links, images and adding a shopping cart later when the site is popular. again thanks Rt
|
|
|
|
BobbyDouglas
Posts: 5470 Joined: 5/15/2003 From: Arizona Status: offline
|
RE: .php files - 7/11/2004 2:39:31
can i convert the database .php to *access ms* type of database(.mdb) - Not only would you have to switch the server that the website is hosted on, but you will also need to go through the trouble of understanding the php code in order to "convert" it. It sounds like what you need to do will require very little knowledge of php, if any at all. The only thing you might need to get ahold of is a shoppingcart. Depending what price you are getting paid for this, everything you stated above (other than the shopping cart) can be given to many small companies to do for a very cheap price. There are a lot of young designers who are learning html and the internet, many things like submitting the site to search engines are things they can do. Your first step needs to be everything that your client wants to have done to the site. It is always best to document everything before you start the project, and get an actual signature. It isn't nice when you get a client who asks you to convert a template to FrontPage format, then walks away with the finished product without paying you the $50 you requested.
_____________________________
Arizona Web Design - Mr Bobs Web Design in Arizona The Arizona Web Hosting Challenge
|
|
|
|
dpf
Posts: 7126 Joined: 11/12/2003 From: India-napolis Status: offline
|
RE: .php files - 7/11/2004 9:39:11
quote:
If you're the sort of person who likes shoving red hot pins under their toenails ooooo ..that made me tingle
_____________________________
Dan
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|