Ticket #553 (closed enhancement: fixed)

Opened 3 months ago

Last modified 3 months ago

Adding some style from templates

Reported by: mike Assigned to:
Priority: lowest Milestone: Jelix 1.1 beta 1
Component: jelix:plugins Version: 1.0.3
Severity: minor Keywords: css meta
Cc: Php version:
Review: review+ Hosting Provider:
Documentation needed: 0 Blocking:

Description

It would be nice if we could add some CSS into the style header from templates. Currently we can only do that from the jResponseHtml object with the method addStyle(). So doing this using the meta_html plugin would be great, because we can easily override styles when needed.

For example:

{meta_html style array('#main'=>'width: 1000px;')}

Attachments

patch_style_553.diff (1.8 kB) - added by mike on 04/22/08 19:44:50.
the patch

Change History

04/22/08 19:44:50 changed by mike

  • attachment patch_style_553.diff added.

the patch

04/22/08 19:47:26 changed by mike

  • review set to review?.

04/24/08 23:19:02 changed by laurentj

  • review changed from review? to review+.
  • milestone set to Jelix 1.1 beta 1.

It's ok for me.

04/29/08 11:19:57 changed by bastnic

  • status changed from new to closed.
  • resolution set to fixed.

Commited ;).

Download in other formats: Comma-delimited Text Tab-delimited Text RSS Feed