Popular Searches: FrontPage Hosting | FrontPage Templates | FrontPage Training | Free FrontPage

Only view is in code.   Logged in as: Guest
  Printable Version
All Forums >>FrontPage Specific Issues >>FrontPage Newbies >> Page: [1]
Name:
Message<< Newer Topic  Older Topic >>

Blessyourgraves

 

Posts: 3
Member since: 7/28/2008
 

Only view is in code. 

I was recently asked to update and manage a website that had already been created and designed. My job was to take over, and my plan was to use FrontPage to do so, because that was the program previously used.
However, when I go to open the site after installing and logging in, I can only edit in code.
I can create new websites and pages using design views but the only way it allows me to edit that particular site is in code.
Any ideas how to fix?
  Report Abuse |  Date: 7/28/2008 2:09:08 PM

TexasWebDevelopers

Posts: 7039
Member since: 9/24/2002
From: USA

RE: Only view is in code. (in reply to Blessyourgraves

Without seeing the code it's hard to tell. Some websites don't have a "design" view but are all coded and displayed using ASP "response.write". Many websites have content called from databases so that the "design view" might not show any content and the design might be totaly in CSS so that wouldn't necessarily show in design view either.
This sentence gives pause: "when I go to open the site after installing and logging in, "--what did you install? Why are you logging in? The proper way to work on a new site is (1) create a blank web on your hard drive (2) start FrontPage and ask it to open the web site on the remote hosted server by giving it the long URL (http://www.website.com) (3) provide the username/password when requested (4) after you are logged into the remote site (it will be called the "local" site in Front Page because that is what you have opened) PUBLISH the entire "local" site to your hard drive (now known as the "remote site") (5) Close Front Page (6) Start Front Page again and ask it to open the site on your hard drive (7) work on your site locally (8) "publish" to your remote server. NEVER work "live" on the remote server! You are "live" and if you screw up then the errors are immediately "live" also. Unless you have created a backup of the page (or site) then you might also have destroyed the page code and will not be able to recover.


< Message edited by TexasWebDevelopers -- 7/28/2008 5:08:30 PM >



_____________________________



FrontPageTools.com:Templates, Tools and Training support this forum
  Report Abuse |  Date: 7/28/2008 5:06:36 PM

Blessyourgraves

 

Posts: 3
Member since: 7/28/2008
 

RE: Only view is in code. (in reply to Blessyourgraves

Texas,
Thanks for responding so soon.

The website was created using Frontpage by someone else. I installed frontpage on my computer so I can edit the website myself. I open FP and then go to open site and enter the web address. This is where I have to log in. after logging in I see all the files associated with the web site. I click on the index page and then all I see is HTML codes. I don't see the design view nor are any of the buttons accosiated with it available. Do I need to download all the files from the site to my computer in order to open a remote site and use the remote? If so how do I do that?
  Report Abuse |  Date: 7/28/2008 9:29:58 PM

TexasWebDevelopers

Posts: 7039
Member since: 9/24/2002
From: USA

RE: Only view is in code. (in reply to Blessyourgraves

Since you didn't read or follow the suggestions in my first post I guess I'll try something different. What is the suffix of the index page? Htm, html, asp, aspx, php, cfm, jsp, something else?


< Message edited by TexasWebDevelopers -- 7/28/2008 10:08:36 PM >



_____________________________



FrontPageTools.com:Templates, Tools and Training support this forum
  Report Abuse |  Date: 7/28/2008 10:08:20 PM

Blessyourgraves

 

Posts: 3
Member since: 7/28/2008
 

RE: Only view is in code. (in reply to Blessyourgraves

Texas,

The suffix is index.php

I was not ignoring your suggestions from your first post. I was just a little confused as to what you wanted me to do. "(1.) create a blank web on your hard drive" (how do I do that? Do I use FP for that?)

"(2) start FrontPage and ask it to open ........................)" (When I start FP it automatically tries to log in to the web site and asks me for the login credentials. I log in.

"(4) after you are logged into the remote site it will be called the "local" site in Front Page ..................." (I see a tab called "web site". nowhere do I see "local". when i select publish, it again asks for my login. now I see on the left "local" and on the right "Remote". Both sides appear identical and all say the status is conflict, on both sides. At no point did i ever change anything. (that i know of). Im assuming that I did somewhere.

do i select remote to local? Local to Remote? Sychronize? I dont want to mess up the site. I want my computer to have the exact files that the server has so I can start from fresh.

B.
  Report Abuse |  Date: 7/29/2008 11:58:30 AM

TexasWebDevelopers

Posts: 7039
Member since: 9/24/2002
From: USA

RE: Only view is in code. (in reply to Blessyourgraves

PHP is used for interactive pages on linux servers (ASP is the equivalent on Microsoft servers). Microsoft FrontPage does not support PHP or Linux servers very well at all, although it can be used like "notepad" as a text editor. (After all, that's what FrontPage really is--notepad on steroids.) Since PHP is an interactive language there is a good possibility you may not see anything but code because the pages may be built dynamically out of a database and styled with CSS.
Use the built-in FrontPage help files to learn how to create a blank web site; I believe you can set the preferences to have FrontPage start without opening a web site automatically. The web site you open (whether on YOUR hard drive or on a remote server's hard drive) will be the "local" web site and you will always be "publishing" to the "remote" web site. Understand that you can publish from your hard drive to the remote server or from the remote server to your hard drive (or even from your hard drive to a CD, etc.). But you must always use the "publish" utility in FrontPage. Since FrontPage is asking for a username/password when the web site is being opened, I can guess that it is trying to open the web site on the remotely hosted Linux server. If it opens there, simply ask FrontPage to "publish" the web site (yes, ALL of it--it will ask) and browse to the location on your hard drive where you want the web site to live. After the files are published to your hard drive (this might take quite a while depending on your connection speed and the size of the site) then you can work on the pages locally on your hard drive.


< Message edited by TexasWebDevelopers -- 7/29/2008 5:37:41 PM >



_____________________________



FrontPageTools.com:Templates, Tools and Training support this forum
  Report Abuse |  Date: 7/29/2008 4:14:44 PM

Rick_E

 

Posts: 3771
Member since: 2/14/2004
 

RE: Only view is in code. (in reply to Blessyourgraves

You may need to tell FrontPage to edit PHP pages as HTML.

Tools menu... Options... Configure Editors... On the left side scroll down and select php php4 php5 php6... and on the right select FrontPage (Open as HTML)


_____________________________

All the best, Rick E

Search Microsoft KB for error msgs
http://support.microsoft.com/search/default.aspx?catalog=LCID%3D1033&spid=919&adv=1
  Report Abuse |  Date: 7/30/2008 3:10:28 PM

TexasWebDevelopers

Posts: 7039
Member since: 9/24/2002
From: USA

RE: Only view is in code. (in reply to Blessyourgraves

Good catch, Rick, thanks


_____________________________



FrontPageTools.com:Templates, Tools and Training support this forum
  Report Abuse |  Date: 7/30/2008 3:41:14 PM
Page:   [1]
All Forums >>FrontPage Specific Issues >>FrontPage Newbies >> Page: [1]
Jump to:

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



Forum Software powered by ASP Playground Advanced Edition 2.0.5
Copyright © 2000 - 2003 ASPPlayground.NET

0.0625