[Pro] new freeway action

I am also wondering if it would be possible to write a page action that would force Freeway to assign item numbers in a different way. Specifically, make an item “item01” or “item001” instead of “item1”. Using PHP there are a lot of instances where identical default names in a sub-page cause interesting disasters when it tries to merge with the parent page.

Just curious, David


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

The PHP Make Insert Page Action modifies IDs like that. It would play merry hob with Freeway 6, which actually cares about the ID and uses it for all things CSS. As I think about it, I believe that an Action would have a very hard time making this work in Freeway 6. An Action can change an element’s ID, but I don’t know if that ever carries over to Freeway’s own naming and identification within stylesheets. Would be something to test. From my own experimentation with Actions and stylesheets, I would say there’s a 50% chance that it would work.

Walter

On Feb 21, 2013, at 7:58 PM, David wrote:

I am also wondering if it would be possible to write a page action that would force Freeway to assign item numbers in a different way. Specifically, make an item “item01” or “item001” instead of “item1”. Using PHP there are a lot of instances where identical default names in a sub-page cause interesting disasters when it tries to merge with the parent page.

Just curious, 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

Walter,

Yes, I did pick up on the increase significance of ID’s in 6. All my clean-up seems to involve ID conflicts. I’m just going through and manually renaming all FW-named elements.
The other type on conflict I’ve seen came when I tried to use two different CSS-type drop down menus in markup items. You end up with a fwNavX tag that, when redundant on a given page, leads to all sorts of mayhem. So I doubt anything could really be done to get rid of all the problems, but thanks for giving it some thought.

David


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