Author Topic: Customising HTML output  (Read 3329 times)

mwra

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Customising HTML output
« on: January 27, 2003, 04:33:30 am »
Hi,

I'm more end-user than UML-jock so excuse my ignorance here...

We've been much impressed with the HTML export as a way to give subject matter experts a view of use case diagrams and UCs (they find the diagrams the easiest way into the model) without the hassle of them learing EA or breaking anything  ;D.  Anyway...

The issue is that info presented in the standard HTML export such as GUIDs is a bit scary for non-techs and we'd like if possible to tweak the type of fields exported so they are more suited to the type of end-user.

If this means us writing a whole custom export I guess we'll pass but I figured it was worth asking here in case there's a simpler/less complex way of doing some export customisation. I realise we can use CSS but that's look and feel as opposed to content. Sorry if I've failed properly to RTFM here.

TIA,

Mark

PhilR

  • EA User
  • **
  • Posts: 87
  • Karma: +0/-0
    • View Profile
Re: Customising HTML output
« Reply #1 on: January 27, 2003, 06:12:10 pm »
Hi Mark,

You can customise the HTML output in the following way.

Click on the "Resource View" tab in the "Project Brwoser".

Expand the "Templates" folder.

Right-click on the "Web Style Templates" folder.  A single option "Create HTML Template" will be displayed.  Select this option.

Enter a name for your template.

A new template will be created with the EA default values.

AT this point you will need to read the help file which describes how to modify the template.  I have only played about with this feature and never used it in anger, so I am not completely sure what can be achieved.

Regards,
Phil.

mwra

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Customising HTML output
« Reply #2 on: January 28, 2003, 06:42:56 am »
Phil,

Spot on!  ;D

It answers the content customisation issue.  On an ease of use note it would be useful to be able to add (or have a build-in stubs for) things like a custom top frame to put a external links, logos, etc, etc.  This is quite useful for using the HTML set in an extenal end-user context.

At present I've amended the 'Index' frames set to add a top 'banner' frame and then manually add the banner HTML page and its images to the exported EA HTML.  

[Feature request] It would be neat if I could add the the
custom frame's HTML to the list in the "HTML and CSS Style Editor" dialog and to add the custom page's images as a project reference of some kind so that their inclusion ceases to be a manual edit post HTML export.[/Feature request]

Not complaining though as I've achieved the initial aim.

Regards

Mark