Page MarkUp - applied to an item

Hi guys,

this is a dangerous half-knowledge one:

Today’s basic page-construction is preferably very modular. This means that I often enough develop a single “section” with a function included and once I’m happy with it, I copy and paste this to the page-master or any child page.

The point is, that the required scripts and css stuff sticks with the page (MarkUp) and has finally to be copied (wherever they appear) as well.

So the question(s):

Would it be possible, to create an action applied to an item (the module very outer wrapper) with the same dialogue as the Page MarkUp and print this to the dedicated places?

Could this action even take care of “double entries” such as jQuery reference or Google Font … ?

I am not sure if something like this already exists - and I can’t write actions nor I’m sure if this action really makes sense.

Any pointers welcome.

Thanks in advance.

Cheers

Thomas


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

Well, in basic terms, if you apply an Action to an element, and copy and paste that element to another page/document/location on the page, then the Action and all its settings come along for the ride. This is a real time-saver. As far as what you want to have “stick to” the element and how to get that from an Action, can you make a list of the kinds of things you might want to change about an element?

Walter

On Oct 6, 2014, at 4:26 AM, Thomas Kimmich email@hidden wrote:

Hi guys,

this is a dangerous half-knowledge one:

Today’s basic page-construction is preferably very modular. This means that I often enough develop a single “section” with a function included and once I’m happy with it, I copy and paste this to the page-master or any child page.

The point is, that the required scripts and css stuff sticks with the page (MarkUp) and has finally to be copied (wherever they appear) as well.

So the question(s):

Would it be possible, to create an action applied to an item (the module very outer wrapper) with the same dialogue as the Page MarkUp and print this to the dedicated places?

Could this action even take care of “double entries” such as jQuery reference or Google Font … ?

I am not sure if something like this already exists - and I can’t write actions nor I’m sure if this action really makes sense.

Any pointers welcome.

Thanks in advance.

Cheers

Thomas


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


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

Hi Walter,

thanks for rushing in here.

Now basically I think of an item-action which is doing exactly the same thing as page HTML-MarkUp dialogue does.

Being able to add external resources pointers and choose where in the page it should appear, so taking this example (which is built on a separate master and child for testing):

http://backstage.kimmich-digitalmedia.com/templates/walk-through-the-park/tiltedcontentsli.html

Those are the parts I’m after:

<head>
</head>

and

<body>
<!-- Include all functions of the plugins -->
</body>

So if I now copy the div id=“slideshow” and paste it for example there:

http://backstage.kimmich-digitalmedia.com/templates/walk-through-the-park/breath-article.html

the action would carry this “with the item” without the need of rushing into each page HTML-MarkUp section dialogue and copy and paste it from there.

Naturally it could happen, that the target page already has for example:

<head>

applied, the action preferably recognizes it and doesn’t print it to the head section.

Complicate to describe, isn’t it?

Cheers

Thomas


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

Yes, but I think it might be possible, as long as the instances of these “extended” scripts were all added in the same manner, by an Action, rather than pasted into a Markup dialog somewhere. (When an Action adds a script or link or whatever, it can do so in an object-oriented manner, which means that another Action can recognize the script reference and compare it inside of its decision loop.) It would be immeasurably harder to do this and make it cooperate with hand-added code, because it would mean that the Action would have to convert the entire page “tag tree” into source code and then trawl through that looking for string references to the script or link, rather than the object model. When such an Action runs its course, it naturally “breaks” the page for all further Actions to operate on it, because the objects are all gone, replaced with plain text.

Walter

On Oct 6, 2014, at 1:19 PM, Thomas Kimmich email@hidden wrote:

Complicate to describe, isn’t it?


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

Aha - yes OK!

I knew that this isn’t my best idea, perhaps.

While this action would even mess with the native Page HTML MarkUp, the action structure (a combination of drop downs and fields) would grow immense to cover all the type of variations to cover, being even a bit unhandy in the worst case.

Thanks for sharing your wisdom, Walter - I have to keep this in mind.

Cheers

Thomas


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

Will this work?


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

Are you the Jeremy Clarkson of the American South?

Walter

On Oct 6, 2014, at 5:58 PM, Ernie Simpson email@hidden wrote:

Will this work?

freeway-action


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


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

Are you the Jeremy Clarkson of the American South?

If by that you mean that I often find myself hiding from angry mobs… then
sadly, yes.


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

He’s one of the presenters on Top Gear (BBC) and he often uses a hammer like that one to “adjust” something delicate and technical. If you haven’t seen the show, you should — it’s a hoot (and shows a lot of cars I can’t afford, yet desperately want anyway).

Walter

On Oct 6, 2014, at 8:51 PM, Ernie Simpson email@hidden wrote:

Are you the Jeremy Clarkson of the American South?

If by that you mean that I often find myself hiding from angry mobs… then
sadly, yes.


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


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

I’d read something on him recently - he’d upset some “fans” I guess while
somewhere in South America… Argentina maybe?. Anyway, he had to hide under
his bed.

I sometimes do that too.


Ernie Simpson

On Mon, Oct 6, 2014 at 8:54 PM, Walter Lee Davis email@hidden wrote:

He’s one of the presenters on Top Gear (BBC) and he often uses a hammer
like that one to “adjust” something delicate and technical. If you haven’t
seen the show, you should — it’s a hoot (and shows a lot of cars I can’t
afford, yet desperately want anyway).

Walter

On Oct 6, 2014, at 8:51 PM, Ernie Simpson email@hidden wrote:

Are you the Jeremy Clarkson of the American South?

If by that you mean that I often find myself hiding from angry mobs… then
sadly, yes.


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


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


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