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.

Opened 7 years ago

Last modified 5 years ago

#1199 assigned enhancement

{ifuserconnected} and {ifuserconnected} should optionnally concern metas too

Reported by: bricet Owned by: bricet
Priority: normal Milestone:
Component: jelix:plugins:tpl Version: trunk
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

{ifuserconnected} and {ifuserconnected} jTpl plugin only concern content for now. It would be interesting if they concerned also metas.

This is currently {meta} and {meta_html} tags. This should also concern {include} and {zone} if #1196 and #1197 are accepted.

Here is a patch.

Attachments (1)

ticket_1199.patch (2.8 KB) - added by bricet 7 years ago.

Download all attachments as: .zip

Change History (6)

Changed 7 years ago by bricet

comment:1 Changed 7 years ago by bricet

  • review set to review?

comment:2 Changed 7 years ago by laurentj

  • Milestone Jelix 1.2 deleted

sorry, too late for 1.2

comment:3 Changed 5 years ago by laurentj

  • Component changed from jelix to jelix:plugins:tpl

comment:4 Changed 5 years ago by laurentj

  • Owner set to bricet
  • review review? deleted
  • Status changed from new to reviewing

comment:5 Changed 5 years ago by laurentj

  • Status changed from reviewing to assigned

I prefer a {meta_ifconnected} instead. It will be more elegant.

However, we should support "meta compiler" plugins, if we don't want to hard code this into jTplCompiler.

Note: See TracTickets for help on using tickets.