Linking to files

I’m getting a strange error message:

 JavaScript Error

 Action: "FWOutput:fwMove" cannot make its child its parent.

I think this is regarding a link I tried to make to a file I want to
have downloaded. Where do these files go, in the “Resources” folder?
This seems to lead to problems. Where else could I put them?

Chris


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

Where do these files go, in the “Resources” folder?

NO NO NO!

Dont mess with the Resources folder - that is managed by FW and changes every time you update a page.

What sort of file do you want to link to - there are actions for most types.

If you use Graphic Link to File or Graphic Link to PDF then FW will upload the file for you.

There are text based equivalents for these as well Link to File and Link to PDF

You can also use an action like ‘upload stuff’ to get any sort of file to your server and then create a hyperlink to that file using Edit>Hyperlink

David


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

Sometime around 21/1/10 (at 11:52 -0500) DeltaDave said:

Where do these files go, in the “Resources” folder?

NO NO NO!

Dont mess with the Resources folder - that is managed by FW and
changes every time you update a page.

Absolutely! In fact, anything inside the “site” folder should be
considered off-limits. Don’t try putting stuff in there and don’t use
graphics that you might find in there.

There are exceptions to every rule of course, but here you really
need a deep and thorough understanding of how Freeway functions.

k


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

Thanks.

The reason I put the files in the Resources folder was that I was getting an error on the uploaded website when I tried to open the files. I’d moved them off my Desktop, which is where they were when I linked to them. As I remember, I then got an error saying “files not found”.

I’ll try this again. As I understand it, Freeway is supposed to upload the files into some folder in the website online, and I’m not supposed to have to put them in any particular folder when I link to them when I’m building the site. So you’d think that having them on the Desktop when setting up the site would be OK.


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

Sometime around 21/1/10 (at 12:50 -0500) Christopher Young said:

Thanks.

The reason I put the files in the Resources folder was that I was
getting an error on the uploaded website when I tried to open the
files. I’d moved them off my Desktop, which is where they were when
I linked to them. As I remember, I then got an error saying “files
not found”.

I’m still somewhat confused - do you mean you imported filed from
within your site folder - into your Freeway layout?

If so, that’s not a good idea I’m afraid. Freeway deletes and remakes
files in there as it sees fit, so the file you link to in there could
be deleted the next time you publish. You should keep your originals
elsewhere, preferably (for tidyness sake) in the Media folder that
you get if you start your site using a template.

You can store your originals wherer you link on your Mac - OTHER than
inside any part of the Freeway document’s designated ‘site’ folder.

If you didn’t use a template to begin your site - where did you tell
Freeway to build the files when you first published or previewed?

k


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

I’d moved them off my Desktop, which is where they were when I linked to them. As I remember, I then got an error saying “files not found”.

If you linked to them on your desktop in the FW doc and then moved them then FW doesn’t know where you moved them to and so you get the error.

As Keith says it is a GOOD idea to store all your website related files in a folder with the FW document something like

Website project
          mydoc.freeway
          site folder
          media
                    images
                    text files
                    PDFs
                    movies

David


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

On Jan 21, 2010, at 11:15 AM, DeltaDave wrote:

If you linked to them on your desktop in the FW doc and then moved
them then FW doesn’t know where you moved them to…

So, what is the best way to move PDF files from (let’s say) the Desktop
to the Media Folder within the Site Folder? If they are simply moved,
won’t the links to them within Freeway be broken? Thanks,

Richard

Richard Houston
Architectural Art
http://www.richardhoustonart.com


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

So, what is the best way to move PDF files from (let’s say) the Desktop to the Media Folder within the Site Folder? If they are simply moved, won’t the links to them within Freeway be broken? Thanks,

This might be helpful http://freewaytalk.net/thread/view/63008#m_63016

Marcel


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

I just moved the files into the Media folder, and FW found them fine.
I didn’t have to relocate them for FW. At least, so far so good.

On Jan 21, 2010, at 3:18 PM, Richard Houston wrote:

On Jan 21, 2010, at 11:15 AM, DeltaDave wrote:

If you linked to them on your desktop in the FW doc and then moved
them then FW doesn’t know where you moved them to…

So, what is the best way to move PDF files from (let’s say) the
Desktop to the Media Folder within the Site Folder? If they are
simply moved, won’t the links to them within Freeway be broken?
Thanks,


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

On Jan 21, 2010, at 1:45 PM, Chris Young wrote:

I just moved the files into the Media folder, and FW found them fine.

Thanks Chris and Marcel!

Richard

Richard Houston
Architectural Art
http://www.richardhoustonart.com


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

Sometime around 21/1/10 (at 12:18 -0800) Richard Houston said:

So, what is the best way to move PDF files from (let’s say) the
Desktop to the Media Folder within the Site Folder?

First of all, as you’ve found: just move them. Freeway knows which
file you imported, even when you move that file around your hard disk.

Note that if you COPY the file to a different disk the new item is a
totally different entity. Freeway will remain aware of the original
file, not the copied one. And if you then delete the original file it
won’t automatically switch over to the copy. Even if you then put a
new copy in the same place as the original. This is normal Mac OS and
application file handling stuff.

Second, please be very careful about terminology and knowing which
folder is which. IF you make a site using a template (which is the
recommended way of working, even if, like me, you only ever use the
Blank template) then you get a specific folder structure created for
you…

There’s the one ‘parent’ folder that holds everything. This is given
the same name that you set as your Freeway document name when you
first make the site.

Inside this you’ll find…

  • Your Freeway document
  • A folder called “Media”
  • A folder called “Site Folder”

(Once you save the Freeway document you’ll also have a “.fwbackup”
copy of your site document. This is created the first time you save
your document each time you open it up.)

Note that the Media folder is not inside the folder called Site Folder.

The folder called Site Folder has a specific and important job. It is
used by Freeway when it creates the web files from that particular
Freeway document. THIS is the folder that should be left alone unless
you are fully aware of how things work and how not to trip yourself
up. You can assign any folder you like as the ‘Site Folder’, but it
is done automatically for you, with this one, if you start things
from a template.

The Media folder has no special attributes or superpowers, it is just
there as a convenience and to encourage users to be tidy with the
media files they use in their Freeway layout. You can import files
from all over your hard disk and from any other disks too, but it
will avoid confusion and possible ‘missing file’ complaints if you
keep things where you won’t forget that they’re used in a site layout
and absent-mindedly ‘clean them up’.

k


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

On Jan 22, 2010, at 2:11 AM, Keith Martin wrote:

First of all, as you’ve found: just move them.

Keith,

Thanks for the detailed explanation. I’ve read your response on this
subject many times, and each time I understand it a little more
thoroughly. It’s surprising that something so fundamental can be so
easily misunderstood!

Thanks again,

Richard

Richard Houston
Architectural Art
http://www.richardhoustonart.com


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