Book a Demo

Author Topic: New HTML Fragment  (Read 3114 times)

[email protected]

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
New HTML Fragment
« on: April 24, 2019, 05:28:18 pm »
Hi,

we use HTML format to publish the diagramms of EA. We want to have an additional layout, which just displays the diagram. I created already the js function and added it to displayToc.js.
But I need also a new HTML page to be created.
How can I add the new HTML page as HTML Template fragment?

Many thanks in advance.

BR
H. Peters

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: New HTML Fragment
« Reply #1 on: May 03, 2019, 01:22:57 am »
Hi

Why not simply modify the HTML template named Body - Diagram to just display the diagram?

You might find my recent article on the community site helpful

https://community.sparxsystems.com/tutorials/1258-navigable-html-publication

Phil
Models are great!
Correct models are even greater!

[email protected]

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: New HTML Fragment
« Reply #2 on: May 16, 2019, 02:11:53 am »
Hi,

thanks for the answer.
We want to use two formats. The one with the header and the menu to navigate within all documents.
And a second format which justs shows the single diagram without menu and header.

Therefore we need a second html page.

BR