Bambuleproduction Posted December 4, 2013 Share Posted December 4, 2013 Salve a tutti, ho iniziato a sviluppare un modulo per prestashop. Avrei necessita si stampare nel file tpl il contenuto di una variabile del file php. Ho visto che si utlizza la funzione $smarty->assign. Ho provato ad inserire nel file php questo codice: $smarty->assign("test", "bla bla"); e nel file tpl: valore: {$test} abilitando il debug viene visualizzato questo errore: Warning: Creating default object from empty value in.... non riesco a capire dov'è che sbaglio. grazie mille Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now