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

Closed 14 years ago

#346 closed enhancement (fixed)

ajouter la variable j_themepath à jtpl

Reported by: bibo Owned by:
Priority: low Milestone: Jelix 1.0 RC1
Component: jelix:tpl Version: 1.0 beta 3.1
Severity: minor Keywords:
Cc: Blocked By:
Blocking: Documentation needed:
Hosting Provider: Php version:

Description

En ajoutant :

jTpl.class.php, ligne 42

$this->_vars['j_themepath'] = $gJConfig->urlengine['basePath'].'themes/'.$gJConfig->theme.'/';

Il sera possible d'obtenir le chemin du thème courant depuis n'importe quel template

Change History (1)

comment:1 Changed 14 years ago by laurentj

  • Milestone set to Jelix 1.0 RC1
  • Priority changed from normal to low
  • Resolution set to fixed
  • Severity changed from normal to minor
  • Status changed from new to closed

Patch ajouté dans le trunk. Merci pour le patch !

Note: See TracTickets for help on using tickets.