PHP Make Insert Page - styles

We’re using the PHP Make Insert Page action, which gives us the
layout we want but removes the styling.
(From the Description: Š It will disable any stylesheets Š).

Is there any workaround for this? It would help so much if the
styling could be retained or added in another way, preferably within
FW.

The site uses pop-up divs that are made using the PHP Make Insert
Page action and included where required with markup. They are then
shown or not using JavaScript. We started out with them within the FW
page where they end up, but the page becomes uneditable in FW
(practically, not technically) because you can’t tell what is what.

Is hand editing the html the only way to add styles to such page inserts?

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

The simplest way around this is simply to toggle Use External
Stylesheets on for the site. That way, any styles in the PMIP page
will be hoovered up and placed in the global stylesheet before PMIP
removes the entire head of the page.

Latest version of PMIP includes a checkbox to “Preserve Head Content”
which should also preserve the styles in your partials, but that can
get messier, certainly it becomes invalid HTML to have a style island
floating around in the body of the page. If you’re sneaking these in
with JavaScript, then the page will still validate correctly, but it
won’t really be valid.

Walter

On Aug 12, 2011, at 1:23 PM, David Ledger wrote:

We’re using the PHP Make Insert Page action, which gives us the
layout we want but removes the styling.
(From the Description: Š It will disable any stylesheets Š).


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