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 12 years ago

Closed 9 years ago

#786 closed new feature (wontfix)

Possibility to define default variables in templates

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

Description

Some times we could need to assign same variables in most of template we create.

We could provide a way to assign automatically some values.

This values could be constants, globals variables, and why not, request parameters.

Perhaps we could have new sections in the config files, which define the name of this variables to import automatically in a template.

Change History (1)

comment:1 Changed 9 years ago by laurentj

  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.