Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 7 matches
Smarty Forum Index
Author Message
  Topic: La funzione insert
ciri

Replies: 1
Views: 21018

PostForum: Language: Italian   Posted: Thu Dec 27, 2007 1:22 pm   Subject: La funzione insert
Salve!

All'interno del mio template ho:
{insert name="getNumero"}
dove la funzione getNumero mi restituisce un numero casuale.

Tale template mi rappresenta un form.
Come f ...
  Topic: caratteri speciali e smarty
ciri

Replies: 8
Views: 43852

PostForum: Language: Italian   Posted: Wed Dec 12, 2007 2:28 pm   Subject: caratteri speciali e smarty
Ecco ho risolto!

Ho provato a fare l'inserimento da script.. e non da phpmyadmin. Poi a riestrarre la stringa e quindi visualizzarla.
Visualizzo la lettera accentata correttamente! Smile

A quanto ...
  Topic: caratteri speciali e smarty
ciri

Replies: 8
Views: 43852

PostForum: Language: Italian   Posted: Wed Dec 12, 2007 1:37 pm   Subject: caratteri speciali e smarty
Questa parte è ok!
Adesso, però, ho un altro problemino.. Confused
Se voglio recuperare il contenuto della mia pagina da db mysql e poi passarlo a smarty, ho lo stesso problema sui caratteri accentati. ...
  Topic: caratteri speciali e smarty
ciri

Replies: 8
Views: 43852

PostForum: Language: Italian   Posted: Wed Dec 12, 2007 11:49 am   Subject: caratteri speciali e smarty
Hai ragione! Ho provato a creare il file prova.tpl con blocco note e impostare la codifica a utf-8. Così torna. Grazie della dritta! Wink
  Topic: caratteri speciali e smarty
ciri

Replies: 8
Views: 43852

PostForum: Language: Italian   Posted: Wed Dec 12, 2007 11:25 am   Subject: caratteri speciali e smarty
Ho realizzato il tutto con eclipse.
Scusa la domanda.. ma come faccio a verificare se il file è salvato in utf8? Come faccio a salvare in utf-8 da eclipse? Sad
  Topic: caratteri speciali e smarty
ciri

Replies: 8
Views: 43852

PostForum: Language: Italian   Posted: Wed Dec 12, 2007 10:58 am   Subject: caratteri speciali e smarty
Salve a tutti!
Se visualizzo il file PROVA.HTML così fatto:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quo ...
  Topic: Smarty con Eclipse
ciri

Replies: 4
Views: 35321

PostForum: Language: Italian   Posted: Wed Dec 12, 2007 10:58 am   Subject: Smarty con Eclipse
ottimo! Corro a provarlo!
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP