FW fails to update code on changes

See http://www.guyenne-immobilier.co.uk/
The opening page has a slide show of 4 graphics using Target Show/Target Layer etc using 4 jpg files.

I change a jpg file - and FW does not amend the code properly ? It certainly does not work properly now.

This and other failures to reflect changes in updated code is a serious flaw. I should not have to amend source code via Source Code Snooper.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

At 02:44 -0400 11/10/08, NicolasAllan wrote:

See http://www.guyenne-immobilier.co.uk/
The opening page has a slide show of 4 graphics using Target
Show/Target Layer etc using 4 jpg files.

I change a jpg file - and FW does not amend the code properly ? It
certainly does not work properly now.

This and other failures to reflect changes in updated code is a
serious flaw. I should not have to amend source code via Source Code
Snooper.

Publish and upload again. And again …

After adding a line to a CSS menu in a master page I’ve seen it take
three Publish Upload cycles before all pages (that I’ve checked)
become ‘dirty’ and be republished. It’s not bothered me too much
because it’s taken more than three Publish Upload cycles for me to
get the rest right :slight_smile:

David


David Ledger - Freelance Unix Sysadmin in the UK.
HP-UX specialist of hpUG technical user group (www.hpug.org.uk)
email@hidden
www.ivdcs.co.uk


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hello David,
Re Target layer not working properly.

Many thanks for your reply. It is very much appreciated.
I do refresh many times over the course of the day but STILL the code does not get changed.

  1. I also switch ON the DEVELOP menu in Safari and switch OFF cache activity.
  2. I empty the existing Safari cache.
  3. I go to site in Safari and Firefox and REFRESH dozens of times.

The slide show (4 photos) on www.guyenne-immobilier.co.uk/ still only shows one photo of the four. The ALT tag text is all that displays for 3 of the for graphics.

I also created a clear page some days ago and started again (the page you see) as the same problem occurred on the previos page.

Nick


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Sometime around 11/10/08 (at 03:47 -0400) NicolasAllan said:

The slide show (4 photos) on www.guyenne-immobilier.co.uk/ still
only shows one photo of the four. The ALT tag text is all that
displays for 3 of the for graphics.

Hi Nick,

First of all, I must say here that I’ve not seen Freeway not produce
the code for anything I’ve built in the page. Never.

What I have seen (rarely) in my own work is aggressive proxy server
caching prevent me from seeing what has been changed and uploaded.
However, I suspect that’s not what is happening here.

What the problem appears to be is missing graphics, not missing HTML code.

(BTW, please don’t use Source Code Snooper to try and fix things; in
this case that would be like trying to fix an electrical fault with
wet towels… in computing as well as real life it is very important
to know the precise issue before applying a remedy!)

There is one reason I can think of right now that could cause missing
images when you upload your work. But before I jump ahead to
suggesting what might be up, can you tell me exactly where you are
importing the “pan1.jpeg” image from when you put it into your
Freeway layout? What folder is it in?

k


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hello Keith,
All the 4 images (pan1.jpg, pan2.jpg etc) for the graphic slide show are in a folder called " panoramas " at the same level as the website file = index.html (the one you see onscreen).
Nick


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Do you mean that the files that you import (or reference within
your rollovers in some way) are already inside the folder that
Freeway uses to build the web site code when you publish?

k


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hello Keith,
Yes, all files are in a root level folder called uk, as follows.
Nick


_blank.gif
_Notes
_siteinfo
bordeauxapartment.html
buyersguide.html
codeiframeoldsite.html
compare.html
contactus.html
css
guyenne-immo (this FREEWAY)
guyenne-immo.fwbackup
images
index.html Tthe FW home Page)
latestproperties.html
legalissues.html
mapcodemiramont.html
mapcodestfoy.html
miramont.html
officelocation.html
panoramas (the FOLDER for pan1.jpg, pan2.jpg etc files)
pngbehavior.htc
Resources
saintfoymap.html
search.html
swregion.html
usefullinks.html
vendorsguide.html


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Sometime around 11/10/08 (at 07:09 -0400) NicolasAllan said:

Hello Keith,
Yes, all files are in a root level folder called uk, as follows.

Ugh! (Sorry, 'scuse me… :slight_smile:

Nick, I’m afraid that it is a Really Bad Idea to publish a Freeway
document’s output into anything other than a folder dedicated to
holding this stuff, and nothing but this stuff. If you make a new
site using the Template option (I do, but only with the blank
template) you’ll see that this creates a specific folder structure
for you. It looks like this:

 Containing folder
     Freeway document
     Media (a folder)
     Site Folder (another folder)

The ‘Site Folder’ folder is where the Freeway document will already
be set up to publish into. That’s where the HTML files and other
items will be generated when you publish your work.

The ‘Media’ folder is just an encouragement to people to keep their
original master files organised. It isn’t anything more than that,
but it is a good idea to use it (or something like it) just because
it can help keep things from getting too confusing.

You can set up sites without using the template approach, but it is
important that you set up the Site Folder location appropriately when
you first publish or preview your work.

Most importantly of all, you really should leave wherever Freeway
publishes its output alone; don’t go in there and don’t use any of
the things in there as source files for your layout. Freeway can and
will do what it likes with the contents of that folder in order to do
its work. This includes removing and renaming items. If you import or
otherwise reference a graphic that is within there, you may find (as
you have) that it isn’t necessarily there later on!

Summary: The Site Folder is there for Freeway to use. Freeway needs
to be left to take care of that for itself.

As you’ve published into the same folder that you use for other
things, life can (and has) become rather confusing. I’m not going to
try and figure out exactly what’s been happening, but I strongly
recommend that you do these following things:

Remove the Source Code Snooper from wherever you’ve applied it in
your site. You can keep it on hand, but unapply it so it is no longer
in active use. You really do need to get your site back to normal -
and I suspect that you’ll find life gets much easier if you do this.

Make a new folder within the main folder you already have. It doesn’t
matter what you call it, although “Site” is conventional. In Freeway,
go to File > Document Setup, click the Select button in the ‘Site
folder’ part of the Document pane, and select your new folder.

Make a new folder to help you organise your different media. The
conventional name for this is ‘Media’, but call it whatever you like.
Move your original images (PSDs, JPEGs, TIFFs, whatever) into there.
This is partly to avoid one final ‘file management’ effort by Freeway
that could remove source images that it thinks it is allowed to
manage.

Upload (your site will be rebuilt complete in the new designated site
folder) and all should be well. Please report back - I am very
interested to hear how you get on.

k


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On 11 Oct 2008, at 12:09, NicolasAllan wrote:

Yes, all files are in a root level folder called uk, as follows.

Nicolas, it sounds as though you’ve somehow managed to publish your
site into the folder that contains the Freeway file itself, and your
media. It’s better to nominate a folder inside that folder, which is
then your site folder, which you never touch, and into which Freeway
will publish your site, rather than have it all mixed up like that.

best wishes,

Paul Bradforth

http://www.paulbradforth.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Wow Keith.
I think I understand.
If I gave you my FTP logon info could you look at my new file structure - when completed ?
As you say - let’s get it right.
Nick


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Sometime around 11/10/08 (at 08:31 -0400) NicolasAllan said:

If I gave you my FTP logon info could you look at my new file structure

I’d be happy to of course, but there’s no need for that at all. (So
keep the login details to yourself. :slight_smile:

The structure you need to sort out is simply the way you have things
organised in the Finder. You don’t have to worry at all about how
things get sorted in the web server or in your local ‘Site Folder’.
Organise your pages and possible subfolders in your web site purely
by working in the Site panel in your Freeway document.

Regard the folder that contains your published HTML files and so on
as entirely off-limits for you, something that you never ever even
peek inside. It isn’t really quite as verboten as all that (for
example you can COPY OUT files from there if you like), but it is
very good practise to avoid even opening it. And don’t bother adding
your own files in your local Site Folder for Freeway to manage; it
only deals with items that it makes directly.

Remember, make a new folder that you will dedicate to holding that
particular Freeway document’s published output, set that up as the
site folder in Freeway’s Document Setup dialog, then relax.

(BTW, don’t publish two Freeway documents into the same site folder.
Just another tip, in case it helps you avoid problems in the future.)

k


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On 11 Oct 2008, at 13:31, NicolasAllan wrote:

I think I understand.

This might help; it’s a screenshot of my folder system:

http://www.paulbradforth.com/personalpics//ZZ718D4D67.jpg

best wishes,

Paul Bradforth

http://www.paulbradforth.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hello Team,
A thousand thanks - advice taken, site re-organised, own code files, graphics, notes etc moved to Media. Re-imported any graphics and html code from the new position in Media. Published - and what a difference.
All works fast and beautifully.
Thanks again for all the help and advice.
Nick


(BTW, don’t publish two Freeway documents into the same site folder. Just another tip, in case it helps you avoid problems in the future.)

I have the following which I read as " OK "
At root = two folders only.
UK which contains all files for the uk site
FR which contains all files for the fr site.

Nick


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Great news! By the way, read up on “splitting your site” at the
KnowledgeBase, or by searching here on the Web archive. If you want
to maintain the two languages separately, it’s very simple once you
split the site into two Freeway documents. They will both publish
into the same folder (I know, just what Keith warned against) but one
will create the overall “hierarchy” with the UK and FR folders, and
the other will only publish into the FR folder (for example). There
is a little dance you have to go through, basically getting over the
“he said, she said” problem where both documents believe that they
should delete some part of the other, but once you do that (it
requires three publishes), you will be able to work on the two
documents independently and have consistent predictable results.

Walter

On Oct 11, 2008, at 10:24 AM, NicolasAllan wrote:

Hello Team,
A thousand thanks - advice taken, site re-organised, own code
files, graphics, notes etc moved to Media. Re-imported any graphics
and html code from the new position in Media. Published - and what
a difference.
All works fast and beautifully.
Thanks again for all the help and advice.
Nick


(BTW, don’t publish two Freeway documents into the same site
folder. Just another tip, in case it helps you avoid problems in
the future.)

I have the following which I read as " OK "
At root = two folders only.
UK which contains all files for the uk site
FR which contains all files for the fr site.

Nick


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks for the extra hint re two sites = two folders.
I am OK on that one, I think.

Root level has two folders uk+fr
Each is totally independent on domain name + FW + dBase content + FTP access.

Nick


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options