Freeway and Joomla 1.5

Dear Freeway professionals

I need some help from you about useing Freeway to creating Joomla templates as XHTML strict. I need some extra help to add some entries into existing headers.

Like I need to add to the tag the string 'xml:lang=“<?php echo …”. Freeway writes allready the following string <html xmlns="…> but I am not able to finde the place where I can modify this part.

The same problem I have with the first

tag.
(This is the first
if the page is empty) I need to add class=“tabelle”.

And as my last question how can I teach Freeway to store ANY CSS commands into a seperate file inside the created folder css.

Kind regards for your help
and all the best from switzerland.
Thomas Thaler


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

Well, I’ve never used Joomla. It sounds like for the first part that you’d need to goto “Page” and then “HTML Markup” and select “Before ” and drop into the paste box what you want.

Secondly as far as the need to add classes, goto the actionsforge.com and look for an action labelled “Add Selector.” This will allow you to add a class style to any created DIV.

Lastly, sounds like you need the “External Stylesheet / Convert To Stylesheet” action from the forge. Then simply create a folder (in Freeway, not in Finder) labelled “css” in your site folder area and then read how to use the action and then just place your created page (with a .css extension) into the css (case is important here) folder in the site panel and that’ll fool Freeway into putting that file with the other (if used) css files.

I was hoping Walter would have the multiple style sheets so you could apply multiple CSS sheets to one single page, hopefully soon.

Good luck.


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

Thanks for your feedback. What I miss is a readme file for this actions. Do you have one?


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

Which one(s) are you curious about? I wrote (or co-wrote) all of
them. Ask away.

Walter

On Nov 24, 2008, at 10:37 AM, Thomas Thaler wrote:

Thanks for your feedback. What I miss is a readme file for this
actions. Do you have one?


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

Dear Walter

I’m looking for a readme with maybe an example for the scrpits External Stylesheet & Convert To Stylesheet.
If you can help with this I would apreceate it very much.

Kind regards from a snowy Switzerland
Thomas Thaler


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

Okay. The Convert to Stylesheet works this way (it was necessary in
the bad old days of Freeway < 4, where external stylesheets were
impossible).

You apply the Action to a page in your site. On that page, you create
instances of each style that you would like to have in an external
stylesheet. (By this, I mean draw a text box, add some dummy text to
it, and style that text the way you would like it to appear. Be sure
to name the resulting style in the Edit / Styles dialog so you can
reference it by name elsewhere.)

Rename the page’s filename (in the Inspector) to something.css.

When the page is published by Freeway, everything in the body of the
page will be deleted, and only the content of the < style > tag will
be published. The result will be a new css file that you can
reference from another page in the site. There is one other option in
this Action. On the Actions palette, you’ll see a button labeled
Additional Styles. Anything you hand-code in this interface will be
added to the generated stylesheet. These rules will be added last, so
they will have more precedence than anything generated within the page.

The External Stylesheet Action allows you to attach a separate
stylesheet, whether created with Convert to Stylesheet or created in
another application, to your Freeway page. If you have already set
your Freeway page to generate external stylesheets, this will add a
second stylesheet to the page.

This Action also has the option to scrub all local styles out of the
head of the page. Use this feature with caution, particularly if you
have already set the page to use External Stylesheets in the Document
Setup dialog. This option really only makes sense if you are creating
template “partials” or other page assembly techniques, and was really
only necessary in the bad old days of Freeway 3 (when the Action was
written). Freeway 4 and 5 have support for external stylesheets built
in, albeit in a limited fashion.

Walter

On Nov 24, 2008, at 10:49 AM, Thomas Thaler wrote:

Dear Walter

I’m looking for a readme with maybe an example for the scrpits
External Stylesheet & Convert To Stylesheet.
If you can help with this I would apreceate it very much.

Kind regards from a snowy Switzerland
Thomas Thaler


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


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

Thank you Walter

There seams to be a problem with the CSS things.
In my Joomla Book they show things like that.
All style part is seperated into a CSS file(s)
→ I see in my HTML file still entries like ‘style=“position:absolute; left:236px; top:0px; width:564px; height:167px; z-index:2; font-size:1px”’ just inside the

tag. Isn’t that wrong and not XHTML 1.0 Strict like?
Is this only a thing of change settings or is this a fault of Freeway 5.3.0?


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

Freeway 5 still generates code in this manner, and there’s nothing
you can do about it to make it the way Joomla prefers. This is
perfectly valid HTML and CSS practice, mind you, but it does run
counter to the practices established in Joomla by other templates.

Someone who was using your template that expected to be able to
modify the layout by only editing the CSS file would be disappointed.

A template created with the layout portion of the code within the
index.php file would still work correctly in Joomla, but it would not
meet the expectations of someone used to all the other templates out
there. If you’re making templates for yourself or your clients, then
go for it – you won’t see any difference in the final rendered site.
But if you’re making templates to sell to other Joomla users, you’ll
need to hack up the Freeway-generated code with a text editor to
extract these layout references into the template CSS file.

Walter

On Nov 24, 2008, at 11:22 AM, Thomas Thaler wrote:

Thank you Walter

There seams to be a problem with the CSS things.
In my Joomla Book they show things like that.
All style part is seperated into a CSS file(s)
→ I see in my HTML file still entries like
‘style=“position:absolute; left:236px; top:0px; width:564px; height:
167px; z-index:2; font-size:1px”’ just inside the

tag. Isn’t
that wrong and not XHTML 1.0 Strict like?
Is this only a thing of change settings or is this a fault of
Freeway 5.3.0?


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


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

OK, I’ll acept it that way and will try it as it is.

There is only one last thing.

If I activate the scripts “ESS-Convert” and “ESS-Use” on the same page (hope I don’t think the wrong way) I get an error message saying “myStile is not defined” with a red marking at the row “var mynewcode = dummy.fwAddraw(stripCSS_Styles(myStyle))” and as e result shows an FW error like it there was a JavaScript error and because of that it was not able to create the site and shows some numbers like (-26114:379:2509).

Thoes this tell you anything I’m doing wrong and if so what is the problem?


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

Yes, if you apply them both to the same page, you will get a mess.
You need to have one page be the style sheet, and another use
that sheet.

Walter

On Nov 24, 2008, at 11:46 AM, Thomas Thaler wrote:

If I activate the scripts “ESS-Convert” and “ESS-Use” on the same
page (hope I don’t think the wrong way) I get an error message
saying “myStile is not defined” w


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

Not to be pesty, but any word on the multiple CSS sheets for one page action for the EES series. It’d surely cut down on duplicating CSS properties site wide if this was possible.

Just checking on it.


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