Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#386 closed enhancement (fixed)

Customize browser title through configuration

Reported by: cvillemure Owned by:
Priority: major Milestone: 1.2.0
Component: packaging/scripts/config Version: 1.0
Keywords: bis-1.2.0 title configuration Cc:

Description

Be able to customize the content of the "<title>" HTML node through configuration (config.xml).

Should/Could we make it customizable (overriden) by workspace?

Change History (5)

comment:1 by adube, 12 years ago

Keywords: bis-1.2.0 added

comment:2 by adube, 12 years ago

Here's how we could accomplish this.

Proposition

  • add a new 'pageTitle' option for the mappanel widget
  • add a new 'printPageTitle' template (method) in the mappanel widget that could be called in the .xslt template file. Its purpose would be to print the <title> tag containing the 'pageTitle' mappanel option value. If not set, print 'GeoPrisma' (defaults).
  • replace the <title> tag in the sample.xslt file
  • since it would be a mappanel option, it could be overriden in a workspace using the mappaneloptions tag, see #398.

Support

  • all config drivers would support this new feature
  • the option value would support i18n

comment:3 by adube, 12 years ago

#409 is required by this ticket.

comment:4 by adube, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in r1308, which features everything mentioned above, plus :

  • documentation
  • samples updated to demonstrate this new feature.

comment:5 by cvillemure, 12 years ago

I confirm that this widget is stable.

Note: See TracTickets for help on using tickets.