Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Extensions code placement
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

2hats
Practical

36 Posts

Posted - 08 Apr 2010 :  05:13:05  Show Profile  Visit 2hats's Homepage  Reply with Quote
I have several extensions on a page (NOT the Master Page).
Extension1 and Extension2 etc.

Each extension has code to be placed before HTML tag.
How can I determine the order in which the code is placed?


Also if an extension (or two) is in the Master Page, what
is the placement order for those, and the subsequent ones
on the sub-pages?

What is the relationship with each form's (Master Page and Sub Page)
'Top of Page' placement.

It would be useful to have the rules used for code segment placement
during generation.

s.dav
Site Admin

Italy
3364 Posts

Posted - 08 Apr 2010 :  11:47:22  Show Profile  Visit s.dav's Homepage  Reply with Quote
The code of every D.H.E. object is generated in order of appearance of the object in the page; if you look at the Object List window (in the right panel) you'll see a number near object names; this represents the order, from the smallest to the biggest so:

- In absolute mode objects below others are generated before (because they have smaller indexes)
- In relative mode objects in the top of the page are generated before others (because they have smaller indexes as they are re-ordered on the fly by the program)

Client page objects are inserted exactly into the position where the Page Placeholder object is, then the same rules apply.
If you Bring the Page PlaceHolder on the the Top, every Master-Page object should be generated before objects in the client page (when using Absolute Positioned object)

The header and before HTML tag code depend also on the order of objects in pages.

Regards, Davide
Go to Top of Page

2hats
Practical

36 Posts

Posted - 09 Apr 2010 :  09:03:33  Show Profile  Visit 2hats's Homepage  Reply with Quote
Thanks for that info Davide.

That is very clear.

Is it possible to change the order of appearance, perhaps when the list is displayed in numerical order?

I know that the order can be changed by cut and paste, but perhaps drag and drop might be better!

Thanks again.
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 09 Apr 2010 :  09:43:50  Show Profile  Visit s.dav's Homepage  Reply with Quote
Simply use the top toolbar buttons "Bring to Front", "Bring Forward", etc...

Regards, Davide
Go to Top of Page

2hats
Practical

36 Posts

Posted - 09 Apr 2010 :  11:07:58  Show Profile  Visit 2hats's Homepage  Reply with Quote
Thanks.

If the object is 'relative position', then need to make it 'absolute position' first.
Then move it up/down list with "Bring to Front" etc buttons.

Then make 'relative position again.

Thanks for that info.
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 09 Apr 2010 :  16:58:24  Show Profile  Visit s.dav's Homepage  Reply with Quote
No, when using "Relative Mode" you cannot do any trick because objects are sorted on-the-fly

Regards, Davide
Go to Top of Page

2hats
Practical

36 Posts

Posted - 09 Apr 2010 :  20:57:07  Show Profile  Visit 2hats's Homepage  Reply with Quote
I managed to move an extension order by using this!
I have same extension on two pages, one is Absolute, one is Relative.
Neither can be changed using positioning, as it is disabled.
I have reloaded all extensions, but it makes no difference.

How can I make an extension absolute?
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 10 Apr 2010 :  14:30:42  Show Profile  Visit s.dav's Homepage  Reply with Quote
Are you sure? this appears to be quite strange to me;
if you want, send me the .dhe file and explain me what you want to do and I'll check the problem.

Regards, Davide
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000