History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: NXP-1274
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Jean-Marc Orliaguet
Reporter: Anahide Tchertchian
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Google issue summary
Nuxeo Enterprise Platform

Add customizable fragments in the theme definition

Created: 27/06/07 01:15   Updated: 27/06/07 19:12
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.RC

Time Tracking:
Not Specified

Resolution Date: 27/06/07 19:12
Require Callback: No
Participants: Anahide Tchertchian, Florent Guillaume and Jean-Marc Orliaguet
Date of First Response: 27/06/07 01:39
Tags:


 Description  « Hide
It would be very useful to be able to include some fragments in the head of every page in the theme, so that we can define (for instance) a base url for all the pages.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Florent Guillaume - 27/06/07 01:39
There's already a way to include an icon using <icon>, can we have the same for the base URL?


Jean-Marc Orliaguet - 27/06/07 12:48

it is possible to add a

<base href="..."/>

directly in ./nuxeo-theme-jsf/src/main/resources/nxthemes/jsf/widgets/theme-view.xml

the <icon> tag however is a property of the theme whereas the base url is rather a property of the application.

I'd rather add a tag similar to <nxthemes:accesskeys> or <nxthemes:resources> such as

<nxthemes:head>

into which application properties can be registered, like meta tags, or even a default page title ..

Jean-Marc Orliaguet - 27/06/07 19:12
fixed in:
http://svn.nuxeo.org/trac/nuxeo/changeset/21512

<nxthemes:head /> now inserts:

- the shortcut icon
- the theme's styles
- the base url

other types of head elements could be inserted too (meta tags, ...) but a mechanism must be defined for that.

also the bookmark URL could be inserted in that way