Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
balise smarty imbriqué
#1
Citation :#~~~~~ DEBUT BLOC A NE PAS SUPPRIMER ~~~~~
#~ Version du CMS: #1.10.3
#~ Url du site :
#~ Hébergeur / Soft :
#~ Informations Système :
#~~~~~ FIN BLOC A NE PAS SUPPRIMER ~~~~~



Bonjour a tous.

Pour un projet j'ai besoin d'imbriqué 2 balise smarty , ex : {gallery category="{balise smarty}"} mais ca ne fonctionne pas.
il y a t'il une methode pour imbriqué des balises smarty?

merci
Répondre
#2
Code :
{capture name=mycategorie}{balise smarty}{/capture}
{gallery category=$mycategorie}

ou

Code :
{balise smarty assign="mycategorie"}
{gallery category=$mycategorie}

Selon ce que permet {balise smarty}

http://www.smarty.net/docsv2/fr/language...on.capture
Répondre


Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)