Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Proposal: Stylesheet Overrides for Weblogs

StatusProposal under development

accepted and in progress

Target Release

4.0

Original Authors

Allen Gilliland

...

The basic idea here is to be more simplistic in our approach to weblog styling overrides than the theme properties and simply define a standard way for weblogs to plug in a custom stylesheet. This approach would be very similar to the way WordPress allows users to do stylesheet customizations to change the way their blogs are formatted.

...

  • provide a way for custom weblog stylesheets to be defined to manipulate that allow for the manipulation of weblog styling without forcing users to "customize" their theme and edit its templates.

...

No Format
<link rel="stylesheet" href="$url.page($model.weblog.customStylesheet)" type="text/css" />

All of the actual interface for editing the custom stylesheet would simply be the existing templates editing UI and the custom stylesheet would be treated and stored just like any other weblog templateWhen a user decides to create a custom stylesheet override for their weblog all they are really doing is creating a custom page, so the editing process is the same as editing any other template. The custom stylesheet operates just like all other custom pages and would be accessible via <weblog>/page/<custom-stylesheet> and it is this url which is being inserted into the weblog templates as detailed above. When a user decides to customize the styling of their theme we would simply automate the process of creating the custom stylesheet template and then allow theme them to edit it however they wish. Links to guide the user in doing the stylesheet customization will be provided on the theme selection page.

Image Added

Comments

Comments ...