Ticket #247 (closed Improvement)

Opened 3 years ago

Last modified 3 years ago

Document type specific XSLT are not inherited between skins

Reported by: bruno@… Owned by: somebody
Priority: Minor Milestone:
Component: Frontend (wiki) Version: 1.5
Keywords: Cc:

Description

[jira2trac import : issue created on March 2, 2006 9:28:56 AM CET http://issues.cocoondev.org/browse/DSY-247 ]

For skins, there's a fallback system for resources.

For the document type specific XSLs, which are also managed per skin, this is not the case, requiring to duplicate them for all skins.

Actually, since the document type specific XSLs are per skin, we should consider moving them into the skin directory. Make more sense, and the fallback would work automatically.

Change History

comment:1 Changed 3 years ago by paul

  • Status changed from new to closed

[jira2trac import : comment created by bruno on March 3, 2006 10:45:21 AM CET]

I realise now that the reason the doctype specific XSLs aren't in the skins directory themselve is because otherwise you would be modifying the skins when you want to add some doctype styling.

So we'll need to look into using the fallback source for the doctype XSLs too (as well as for the query styling).

comment:2 Changed 3 years ago by paul

[jira2trac import : comment created by bruno on May 31, 2006 10:48:59 AM CEST]

With the wikidata directory, this could become easier again...

It is now possible to create a 'default' directory in the wikidata/resources/skins directory, without having to touch the original directory of the default skin.

So unless I'm overseeing something, there's now no reason anymore not to put the doctype & query XSLs in the skin directories themselves, which will make the fallback work.

So, thinking of doing this for Daisy 1.5 after all.

comment:3 Changed 3 years ago by paul

[jira2trac import : comment created by bruno on June 1, 2006 5:19:33 AM CEST]

Resolved as explained in the last comment, moved document-styling and query-styling into the skin directory.

Note: See TracTickets for help on using tickets.