FWP Class Styles?

I need somebody to confirm something for me to make sure I’m not loosing my mind.

As you may know from the other threads I’ve posted, I’m trying to integrate Perch into FWP and Backdraft. As a result, I need to setup a few class selectors to make Perch basically do what I want it to.

I just tried setting up a class selector to change the font color of Perch’s form field error messages, but when I published the FWP document, even with “Publish Everything” selected, the class selector did not publish.

In the end, the ONLY way I could get it to publish was to physically use that selector in my FWP document. Is this something new in FWP 6.1.2 or am I doing something wrong?


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

No, you just have to use the Tag-Only Style trick. In the Freeway Styles palette, locate your style and open it for editing. If you have entered anything at all in the Name field, cut it to the clipboard. Move to the Tag field, type a single dot, and paste. Tab into the Name field again, delete whatever Freeway helpfully entered, then press Tab again to ensure that it stays empty. Freeway will always publish any style that does not have anything in its Name field, because it cannot guarantee that the style isn’t being used somewhere.

Walter

On Jun 6, 2014, at 1:27 PM, RavenManiac wrote:

I need somebody to confirm something for me to make sure I’m not loosing my mind.

As you may know from the other threads I’ve posted, I’m trying to integrate Perch into FWP and Backdraft. As a result, I need to setup a few class selectors to make Perch basically do what I want it to.

I just tried setting up a class selector to change the font color of Perch’s form field error messages, but when I published the FWP document, even with “Publish Everything” selected, the class selector did not publish.

In the end, the ONLY way I could get it to publish was to physically use that selector in my FWP document. Is this something new in FWP 6.1.2 or am I doing something wrong?


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


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

Okay, it gets weirder. I just deleted the text I used the class selector on, made some changes to the selector, and then republished my FWP document. Once again, the selector didn’t publish.

Does this mean EVERY selector I create has to physically be used in a FWP document to be published or is there some other way to force FWP to publish and upload every style selector?


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

On 6 Jun 2014, 5:35 pm, waltd wrote:

No, you just have to use the Tag-Only Style trick. In the Freeway Styles palette, locate your style and open it for editing. If you have entered anything at all in the Name field, cut it to the clipboard. Move to the Tag field, type a single dot, and paste. Tab into the Name field again, delete whatever Freeway helpfully entered, then press Tab again to ensure that it stays empty. Freeway will always publish any style that does not have anything in its Name field, because it cannot guarantee that the style isn’t being used somewhere.

Walter

On Jun 6, 2014, at 1:27 PM, RavenManiac wrote:

I need somebody to confirm something for me to make sure I’m not loosing my mind.

As you may know from the other threads I’ve posted, I’m trying to integrate Perch into FWP and Backdraft. As a result, I need to setup a few class selectors to make Perch basically do what I want it to.

I just tried setting up a class selector to change the font color of Perch’s form field error messages, but when I published the FWP document, even with “Publish Everything” selected, the class selector did not publish.

In the end, the ONLY way I could get it to publish was to physically use that selector in my FWP document. Is this something new in FWP 6.1.2 or am I doing something wrong?

Oops. Sorry I posted at the same time you did. I’ll give it a shot.


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

So do I have to do that with every class selector I create or just the ones that’ll be used externally?


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

BTW, it worked perfectly. :slight_smile:


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

You have to do that with any style you don’t use directly in the page. So anything that you are doing “behind Freeway’s back”, in other words. Generally speaking, if you are doing some clever scripting thing, use this trick. Or use an external stylesheet applied to the page with the External Stylesheets Action. If you make Named styles, then you have to use them in the current page in order for them to be published in the current page or its stylesheet.

Freeway 5.5 and lower, when in External Stylesheet mode, could get away with not using a hand-made style in the current page, as long as it was used on some other page that was hooked to the same stylesheet. But Freeway 6 introduced the idea of the per-page external stylesheet, so that little loophole was gone at that point.

Walter

On Jun 6, 2014, at 1:39 PM, RavenManiac wrote:

So do I have to do that with every class selector I create or just the ones that’ll be used externally?


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


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