is not used any more and exists only for history. Post new tickets on the Github account. n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 13 years ago

Closed 13 years ago

#553 closed enhancement (fixed)

Adding some style from templates

Reported by: mike Owned by:
Priority: lowest Milestone: Jelix 1.1 beta 1
Component: jelix:plugins Version: 1.0.3
Severity: minor Keywords: css meta
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:


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 (1)

patch_style_553.diff (1.8 KB) - added by mike 13 years ago.
the patch

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by mike

the patch

comment:1 Changed 13 years ago by mike

  • review set to review?

comment:2 Changed 13 years ago by laurentj

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

It's ok for me.

comment:3 Changed 13 years ago by bastnic

  • Resolution set to fixed
  • Status changed from new to closed

Commited ;).

Note: See TracTickets for help on using tickets.