Freeway 5 styles

Hi there

On moving from Freeway 4 to Freeway 5 I have noticed a change in behaviour regarding styles. I don’t know if this is intentional or not but it certainly caused me some problems until I found out what was happening.

In Freeway 4 I was in the habit of displaying all the character and paragraph options (it was just a case of pressing ‘select’ and ticking two boxes) and then changing the ones I wanted affected.

However in Freeway 5 this is no longer the case, as I found to my cost. After spending hours trying to track down the problem with a converted site, it now appears that just by displaying a setting in the style dialog, and not even changing its default value, styled text will be changed.

I have put together a quick example at http://www.gordonlow.net/style.html to hopefully show what I mean. Incidentally this example was made in a new Freeway 5 document (not one converted from Freeway 4) and after I had deleted the preferences to try and eliminate any legacy issues.

To me this different in behaviour seems strange but maybe someone will be able to explain the reason why (or maybe this is just a bug?).

Many thanks

Gordon


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

Look no further than the line-hight attribute of the second style. The value of 1 in the absence of unit measurement (px, em, ft, etc.) causes most browsers (at least Safari and FF mac) to guess “em”. If the programmers would only have chosen “normal” for the default un-altered value then this problem would be avoided.

More on the line-height property: http://www.w3schools.com/css/pr_dim_line-height.asp

FP5 users should be careful about activating style options with default values (at least this one) until SP can revisit this mildly irritating issue.

On Sun, Apr 13, 2008 at 6:23 AM, Gordon Low wrote:

In Freeway 4 I was in the habit of displaying all the character and paragraph options (it was just a case of pressing ‘select’ and ticking two boxes) and then changing the ones I wanted affected.

However in Freeway 5 this is no longer the case, as I found to my cost. After spending hours trying to track down the problem with a converted site, it now appears that just by displaying a setting in the style dialog, and not even changing its default value, styled text will be changed.

I have put together a quick example at <http://www.gordonlow.net/style.html> to hopefully show what I mean. Incidentally this example was made in a new Freeway 5 document (not one converted from Freeway 4) and after I had deleted the preferences to try and eliminate any legacy issues.

To me this different in behaviour seems strange but maybe someone will be able to explain the reason why (or maybe this is just a bug?).


Ernie Simpson – Freeway 5 Pro User – http://www.thebigerns.com/freeway/

Is there a way of altering the defaults in FW? In InDesign for example one can alter parameters without any document open and then the new settings become the base setting for every new document as it is opened.

Pete

On 13 Apr 2008, at 16:16, Ernie Simpson wrote:

Look no further than the line-hight attribute of the second style. The value of 1 in the absence of unit measurement (px, em, ft, etc.) causes most browsers (at least Safari and FF mac) to guess “em”. If the programmers would only have chosen “normal” for the default un-altered value then this problem would be avoided.

More on the line-height property: http://www.w3schools.com/css/pr_dim_line-height.asp

FP5 users should be careful about activating style options with default values (at least this one) until SP can revisit this mildly irritating issue.

On Sun, Apr 13, 2008 at 6:23 AM, Gordon Low wrote:

In Freeway 4 I was in the habit of displaying all the character and paragraph options (it was just a case of pressing ‘select’ and ticking two boxes) and then changing the ones I wanted affected.

However in Freeway 5 this is no longer the case, as I found to my cost. After spending hours trying to track down the problem with a converted site, it now appears that just by displaying a setting in the style dialog, and not even changing its default value, styled text will be changed.

I have put together a quick example at <http://www.gordonlow.net/style.html> to hopefully show what I mean. Incidentally this example was made in a new Freeway 5 document (not one converted from Freeway 4) and after I had deleted the preferences to try and eliminate any legacy issues.

To me this different in behaviour seems strange but maybe someone will be able to explain the reason why (or maybe this is just a bug?).


Ernie Simpson – Freeway 5 Pro User – http://www.thebigerns.com/freeway/


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

Hi Ernie

Thanks for your quick and enlightening reply and to Pete for his suggestion as well. Hopefully this can be fixed for the next release.

All the best

Gordon

http://www.gordonlow.net


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

What style option controls the line-height?


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

On 14 Apr 2008, at 17:26, VicH wrote:

What style option controls the line-height?

Leading.

best wishes

Paul Bradforth

http://www.paulbradforth.com


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

Thanks Paul.


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

This is why I wish Freeway would use the CSS attribute names instead of their layout equivalents. The illusion that this is typography, or dtp layout can prevent users from embracing what it really is, and how it really works.

just my opinion :slight_smile:

Paul Bradforth wrote:

VicH wrote:

What style option controls the line-height?

Leading.


Ernie Simpson – Freeway 5 Pro User – http://www.thebigerns.com/freeway/

What is the correct method to upload and link to a PDF document so that when
the Link is clicked, the PDF downloads automatically to the Desktop, rather
than opening in the Browser?

Thanks

Neil Carter
Oxford UK


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

This is actually two separate questions.

In terms of creating the link and managing the upload of the file,
you can use one of the Actions provided (they have Link to File in
their names) or you can use an FTP/SFTP application to upload them
separately. If these files are small, then go with the Action method,
as it’s less work and you don’t have to enter URLs to the files
manually. If these files are large, then consider using the manual
method, because Freeway will take every opportunity to re-upload
these files, even if all you did was move a line of text on the same
page as the link to the file. It can sap hours out of your day if you
are talking about Freeway Manual-sized PDFs.

For making the files download rather than let the browser choose what
to do (default behavior), please refer to this post:

http://freewaytalk.net/thread/view/1745#m_1750

Walter

On Apr 15, 2008, at 10:42 AM, Neil Carter wrote:

What is the correct method to upload and link to a PDF document so
that when
the Link is clicked, the PDF downloads automatically to the
Desktop, rather
than opening in the Browser?

Thanks

Neil Carter
Oxford UK


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

Hi Walter,

And thanks as always for your usual amazingly prompt answer. I often wonder
how the **** you ever manage to get any work done for yourself, it’s as
much as I can do to keep up with all the posts, leave alone attempt to
answer them.

No problems with the uploading/FTP’ing of the PDF Files, they’re
comparatively small and already uploaded and linked within the Freeway
document.

But where do I find the <.htaccess file> to make the changes which you
suggest. Just to re-emphasise, what I want to happen when the Link is
clicked on all and any PDF File for this Site, is for the relevant PDF File
to Download, to whatever location the visitor has chosen

Many thanks again

Neil Carter
Oxford UK

On 15/4/08 16:51, “Walter Lee Davis” email@hidden wrote:

This is actually two separate questions.

In terms of creating the link and managing the upload of the file,
you can use one of the Actions provided (they have Link to File in
their names) or you can use an FTP/SFTP application to upload them
separately. If these files are small, then go with the Action method,
as it’s less work and you don’t have to enter URLs to the files
manually. If these files are large, then consider using the manual
method, because Freeway will take every opportunity to re-upload
these files, even if all you did was move a line of text on the same
page as the link to the file. It can sap hours out of your day if you
are talking about Freeway Manual-sized PDFs.

For making the files download rather than let the browser choose what
to do (default behavior), please refer to this post:

http://freewaytalk.net/thread/view/1745#m_1750

Walter

On Apr 15, 2008, at 10:42 AM, Neil Carter wrote:

What is the correct method to upload and link to a PDF document so
that when
the Link is clicked, the PDF downloads automatically to the
Desktop, rather
than opening in the Browser?

Thanks

Neil Carter
Oxford UK


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


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

On Apr 15, 2008, at 12:44 PM, Neil Carter wrote:

But where do I find the <.htaccess file> to make the changes which you
suggest. Just to re-emphasise, what I want to happen when the Link is
clicked on all and any PDF File for this Site, is for the relevant
PDF File
to Download, to whatever location the visitor has chosen

Use an FTP/SFTP application, such as Transmit, to look in your Web
root folder. If you don’t see one there, then look around in the
preferences and View options in your FTP application for a way to see
“hidden files”. (In Transmit, this is View > Show Invisible Files
from the main menu.) If that makes it visible, then simply double-
click it to open it for editing. If you still don’t see one (and it
can be anywhere that you are allowed to look in your site) then you
can create one.

Again, in Transmit, make sure your site folder is selected, then
choose File > New File from the main menu. Name the file .htaccess,
and then double-click it in the files list to open it for editing.
Paste the code in from the example, formatting it to three lines for
clarity:

<FilesMatch "*.pdf">
	ForceType application/pdf
</FilesMatch>

As soon as you save this file, all requests for pdf files will be
forced to download.

Walter


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

Hi Walter,

Sorry to come back to you, but having, I hope, followed your instructions to
the letter, I could not locate an .htaccess File anywhere in the uploaded
Site Folder, so I created one with Transmit, uploaded it to the Site Folder,
and copied and pasted the code as instructed. Subsequently when I attempted
to re-open the Site, this is the dialogue which appeared.

<Internal Server Error. The server encountered an internal error or
misconfiguration and was unable to complete your request.
Please contact the server administrator, email@hidden and inform
them of the time the error occurred, and anything you might have done that
may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying
to use an ErrorDocument to handle the request.>

When I delete the .htaccess file from the uploaded Site Folder, the WebSite
then opens as normal.

I probably got something wrong, but I really don’t know what.

Many thanks

Neil

On 15/4/08 18:38, “Walter Lee Davis” email@hidden wrote:

Use an FTP/SFTP application, such as Transmit, to look in your Web
root folder. If you don’t see one there, then look around in the
preferences and View options in your FTP application for a way to see
“hidden files”. (In Transmit, this is View > Show Invisible Files
from the main menu.) If that makes it visible, then simply double-
click it to open it for editing. If you still don’t see one (and it
can be anywhere that you are allowed to look in your site) then you
can create one.

Again, in Transmit, make sure your site folder is selected, then
choose File > New File from the main menu. Name the file .htaccess,
and then double-click it in the files list to open it for editing.
Paste the code in from the example, formatting it to three lines for
clarity:

<FilesMatch “*.pdf”>
ForceType application/pdf

As soon as you save this file, all requests for pdf files will be
forced to download.

Walter


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

You are looking in the wrong place - not in

the uploaded Site Folder

But here

look in your Web root folder

That is where you want to create/find it.

David


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

Hi Dave,

With my Web Host, I host a number of different URLs/WebSites/Folders. When I
use Transmit to access the primary <mycompany.co.uk> URL at my Webhost the
Transmit “Their Stuff” column is identified by a Folder Icon and a Forward
Slash. Beneath that in the Transmit “Their Stuff” column are Folders for
every URL which I host, including the Folder for the primary
<mycompany.co.uk>URL, plus the Folder for the Website which I am attempting
to modify re the PDF problem.

Their is also a “logs” Folder, in which I have in fact just discovered an
“.htaccess” file. Presumably, thereby, this is the File which I should
modify, and which, if I understand Walter correctly, this would mean that
every PDF on every WebSite which I host would automatically download. Is
this a correct understanding?

If so, where do I create an “.htaccess” file to affect only the PDF Files,
on just one individual WebSite, of the many I host?

Many thanks

Neil

On 15/4/08 21:15, “DeltaDave” email@hidden wrote:

You are looking in the wrong place - not in

the uploaded Site Folder

But here

look in your Web root folder

That is where you want to create/find it.

David


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

Hi Dave,

A quick follow up to my previous post. I attempted to modify the
“.htaccessfile” in the “logs” folder, but the server refused to acceot the
modification.

Oh well, now I’m completely stuffed.

Neil

On 15/4/08 21:15, “DeltaDave” email@hidden wrote:

You are looking in the wrong place - not in

the uploaded Site Folder

But here

look in your Web root folder

That is where you want to create/find it.

David


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

You say

are Folders for every URL which I host

It is in the specific folder for the site in question that you want to create the .htaccess file

the Folder for the Website which I am attempting to modify re the PDF problem

David


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

Just as an aside to this do you always log in using the “main site” in Transmit and then burrow down to the specific site in question?

Does the “Website which I am attempting to modify” not have its own username password access configuration - much like the details you would enter in the Upload section of your document setup in Freeway.

I, personally, have all the individual sites that I host set up as individual entries in Transmit so that I know that anything I do when i am in there through Transmit will only affect that particular site.

It is all to easy when using Transmit to forget where you are using your method ie. master site>subfolders> sub sub folders.

David


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

It could be that your hosting provider does not allow you to make
these sorts of changes using htaccess. You might want to file a
support ticket with them and see if they can add the forcetype
directive for you. This is the same syntax I use on my server, so I
don’t think it’s wrong per se.

Walter

On Apr 15, 2008, at 3:48 PM, Neil Carter wrote:

When I delete the .htaccess file from the uploaded Site Folder, the
WebSite
then opens as normal.

I probably got something wrong, but I really don’t know what.


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

Hi Walter

I was just going to post a new subject on this

The top of this thread is

Freeway 5 styles

But on the Home page

5 most recent

(waltd, 2 minutes ago) Re: PDF Upload/Download

(jcichy, 17 minutes ago)FW 5.0.1 Update

(DeltaDave, 18 minutes ago)Re: PDF Upload/Download

(Neil Carter, 28 minutes ago)Re: PDF Upload/Download

This is on the web interface of course.

David


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