Help needed resolving problems with links and .jpg buttons.

C

Chris Mitchell

Please see http://sussexcrafts.com/ where since adding the .jpg buttons to
the banner I've been having some difficulties with getting the links beneath
the buttons to work. Previously when I only had words for the links it
worked fine for a couple of years, it's only since I added the buttons that
the problem has arisen.



I think I may have resolved the problem by editing and republishing each and
every page that includes the banner, which is included in each page by means
of a webbot as follows:



<!--webbot bot="Include" U-Include="banner.htm" TAG="BODY" -->



This appears to mean me, and I may be mistaken, that each page that has this
webbot in effect contains a copy of the banner, and if I change the banner I
have to edit each page to get the new version of the banner included in each
page. Is this correct?



If so how can I amend the code/site such that the banner is automatically
included, such that I can edit and amend the banner and not subsequently
have to manually edit each page that needs the banner to get the new version
included?



Is there a better way to do this?



TIA.



Chris.
 
S

Stefan B Rusynko

FP Include pages update all page they are contained in
- when publishing w/ FP it will publish all affected pages
(run a Tools Recalculate Hyperlinks to make sure all pages are updated)
- If uploading files manually you need to upload all affected files

I you only want to upload 1 file, you can't use FP Include pages
- and need to use Server Side Includes
(if your host supports them)

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


Please see http://sussexcrafts.com/ where since adding the .jpg buttons to
the banner I've been having some difficulties with getting the links beneath
the buttons to work. Previously when I only had words for the links it
worked fine for a couple of years, it's only since I added the buttons that
the problem has arisen.



I think I may have resolved the problem by editing and republishing each and
every page that includes the banner, which is included in each page by means
of a webbot as follows:



<!--webbot bot="Include" U-Include="banner.htm" TAG="BODY" -->



This appears to mean me, and I may be mistaken, that each page that has this
webbot in effect contains a copy of the banner, and if I change the banner I
have to edit each page to get the new version of the banner included in each
page. Is this correct?



If so how can I amend the code/site such that the banner is automatically
included, such that I can edit and amend the banner and not subsequently
have to manually edit each page that needs the banner to get the new version
included?



Is there a better way to do this?



TIA.



Chris.
 
R

Ronx

Any change in banner.htm will be reflected in all pages with the include
webbot automatically, provided you open the website in FrontPage before
editing anything within FrontPage.
If the server is running FrontPage extensions, then publishing just
banner.htm will update all the relevant pages (those containing the webbot)
on the server, if the server does not have FrontPage extensions, then every
page must be published.

A better method (if FP extensions are not available) is to use server-side
includes, but this may involve changing the extensions on all your pages
with subsequent problems for users with bookmarked pages, search engines,
etc.

banner.htm itself has a problem - names used in anchor tags must be unique.
You have used <a name="Top" ... in several places - almost every link, in
fact.

Remove the name attribute entirely from all the links, and delete <a
name="Top"> that immediately follows the <body> tag.

Then change
<table border="0" width="676" height="105">
to
<table id="Top" border="0" width="676">

The id will work in all modern browsers (and IE6, but not IE5.5 and earlier)
for links to a bookmark. Table heights should be avoided since:
1) The height attribute for a table is not valid HTML
2) Some browsers will ignore the height attribute entirely
3) Some browsers will strictly apply the height attribute, and cut off any
content that would stretch the table downwards - such as when the user
changes the text size, or you add more content than can be accommodated with
the set height.
--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.
 
C

Chris Mitchell

Thanks Stefan.

I used to publish by ftp from within FP 2003 SP 3, and didn't have these
problems but now I
get:

425 Could not open data connection to port XXXXX: Connection timed out

Which doesn't mean much to me.

However I can publish via My Network Places which I've set up in Windows
Explorer using the same Remote Web Sites Properties!

I've checked firewall and set FP to Allow.

Any suggestions as to how I can restore being able to ftp from within FP
would be appreciated.


but now I can't, when I try to
 
C

Chris Mitchell

Thanks Ronx.

I think I do open the site in FP. I fire up FP and the last of the 2 sites
I maintain is ready to edit. If I want to work on the other one I go File >
Open and navigate to it. Is this what you mean by opening the site in FP?

How can I tell if FP extensions are available on the server?

I'll have a look at banner.htm with your comments in mind.

I used to publish by ftp from within FP 2003 SP 3, and didn't have these
problems but now I
get:

425 Could not open data connection to port XXXXX: Connection timed out

Which doesn't mean much to me.

However I can publish via My Network Places which I've set up in Windows
Explorer using the same Remote Web Sites Properties!

I've checked firewall and set FP to Allow.

Any suggestions as to how I can restore being able to ftp from within FP
would be appreciated.

Thanks again Chris.
 
R

Ronx

If you use FTP then you don't have FrontPage extensions on the server - the
entire site will have to be published every time you change banner.htm.

For the FTP error -
Open the website and click the remote Web site tab
In Publishing properties:
Select FTP
Ensure the Remote web site location and FTP directory are correct
Toggle the Use Passive FTP checkbox - if it's clear, tick it. If it's
ticked, clear it.
Click OK

Try publishing.
--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.
 
C

Chris Mitchell

Thanks again Ronx.

Your tip with regards to publishing from within FP worked a treat. I've
been trying to fix this for weeks, and now I have.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top