Sparx Systems Forum
Enterprise Architect => Bugs and Issues => Topic started by: althaue on August 14, 2018, 04:57:24 pm
-
Hi all,
When i genereate the html documentation, the sort order of the packages differs in the html version from the sort order in the project browser.
Is there a way to fix that?
Thx,
Erich
-
No idea. But you should state your EA version.
q.
-
I use EA Professional Edition 14.0.1423 (Build 1423) - Unicode.
Allow Free Sorting in Preferences is set.
As i've just seen, it does not render diagrams on correct position (first) instead it put's diagrams allways last. But starting only from a level in the hierarchy.
-
OK, looks like a bug ....
Or any tipp's ? Ideas?
-
You could look at the HTML template and modify it to change the order.
You can create a new template that copies all the default template where you can then change it.
Configure > Reference Data > Resources > Document Generation > Web Style Templates
Create a new Web Style Template and have a look at the Javascript part of the template. I think the javascript creates the tree and so it controls the order. There are around 1085 lines of javascript. If you search through that you may be able to find and change the order.
Caveat is that you need to know JavaScript and HTML as it gets quite heavy.
Sorry don't have the time to find the exact line of code for you.
-
thx :)