developer.jelix.org is not used any more and exists only for
history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
developer.jelix.org 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: |
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 (1)
Change History (4)
Changed 13 years ago by mike
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.
the patch