Author |
Message |
Topic: Google amp project |
gtraxx
Replies: 8
Views: 9695
|
Forum: General Posted: Fri Mar 24, 2017 9:59 am Subject: Google amp project |
Thanks, Would you have a simple example of creating an AMP page? |
Topic: Google amp project |
gtraxx
Replies: 8
Views: 9695
|
Forum: General Posted: Fri Mar 24, 2017 9:52 am Subject: Google amp project |
Hi, is it possible to create a google AMP project with smarty ?
How to generate "AMP" pages with smarty ? |
Topic: compilation and plugin apc smarty 3 |
gtraxx
Replies: 3
Views: 6874
|
Forum: General Posted: Thu Feb 14, 2013 7:42 am Subject: compilation and plugin apc smarty 3 |
Thank you for your reply, I understand better how APC works
I'll also try memcached |
Topic: compilation and plugin apc smarty 3 |
gtraxx
Replies: 3
Views: 6874
|
Forum: General Posted: Wed Feb 13, 2013 8:09 am Subject: compilation and plugin apc smarty 3 |
Hi,
I add the plugin Smarty_CacheResource_Apc.
I configured like this:
$smarty->compile_check = true;
$smarty->setCaching(true);
$smarty->setCachingType('apc');
w ... |
Topic: Configuring and using the smarty cache |
gtraxx
Replies: 0
Views: 6578
|
Forum: Smarty 3 Posted: Tue Dec 13, 2011 9:06 am Subject: Configuring and using the smarty cache |
Hello, I consulted the documentation of the system cache.
I do not understand how to set it to exclude the dynamic data from mysql
Example :
$smarty->setCaching(Smarty::CACHING_L ... |
Topic: configLoad with array of files |
gtraxx
Replies: 0
Views: 4684
|
Forum: Smarty 3 Posted: Thu Sep 29, 2011 11:22 am Subject: configLoad with array of files |
Hello,
it is possible to provide an array configLoad sections as a parameter but it can also provide an array of files?
array configLoad sections
$smarty->configLoad('my.conf', array(' ... |
Topic: compilation with setConfigDir |
gtraxx
Replies: 0
Views: 4943
|
Forum: Smarty 3 Posted: Thu Sep 29, 2011 10:20 am Subject: compilation with setConfigDir |
Hello I have a question about "configdir" !
In my default global configuration, I:
$smarty->config_dir = array($_SERVER['DOCUMENT_ROOT']."/i18n/dom/");
I load ... |
Topic: Catchable fatal error revision 4336 |
gtraxx
Replies: 0
Views: 4441
|
Forum: Bugs Posted: Wed Sep 28, 2011 8:13 pm Subject: Catchable fatal error revision 4336 |
Hello,
I did the update smarty 3 to revision 4336 and I currently have an error message
Catchable fatal error: Object of class frontend_config_smarty could not be converted to string in /Applicati ... |
Topic: Bug compile smarty 3.1 |
gtraxx
Replies: 3
Views: 12084
|
Forum: Smarty 3 Posted: Thu Sep 22, 2011 9:19 am Subject: Bug compile smarty 3.1 |
I just understand that setDeprecationNotices function does not work in this version
If I remove :
$ this-> setDeprecationNotices (false);
The error no longer appears in part
To corr ... |
Topic: Bug compile smarty 3.1 |
gtraxx
Replies: 3
Views: 12084
|
Forum: Smarty 3 Posted: Thu Sep 22, 2011 7:35 am Subject: Bug compile smarty 3.1 |
Hello, I just did the migration of smarty 3.0.8 to 3.1 and I get an error that I can not explain
Notice: Undefined property: frontend_config_smarty::$compile_error in C:\wamp\www\mytest\library\smart ... |
Topic: Problème de syntaxe sur un if |
gtraxx
Replies: 1
Views: 7647
|
Forum: Language: French Posted: Mon Aug 01, 2011 9:43 am Subject: Problème de syntaxe sur un if |
Visiblement c'est du prestashop.
il faut savoir si les variables sont définie pour commencer $page_name retourne quoi exactement ?
Bien vérifier que chaque variable dans le template fonctionne corre ... |
Topic: Rédaction de la doc française smarty 3 |
gtraxx
Replies: 2
Views: 8203
|
Forum: Language: French Posted: Sat Nov 27, 2010 3:34 pm Subject: Rédaction de la doc française smarty 3 |
Pas vraiment mais j'ai fais pas mal de recherche.
Je travail avec zend studio 8 mais peut être que pour avoir un aperçu des fichiers un autre éditeur recommandé ?
J'ai télécharger toutes la doc sur ... |
Topic: Rédaction de la doc française smarty 3 |
gtraxx
Replies: 2
Views: 8203
|
Forum: Language: French Posted: Sat Nov 27, 2010 12:22 pm Subject: Rédaction de la doc française smarty 3 |
Bonjour,
je me suis proposé pour remplir la documentation française mais je ne comprend pas comment faire.
La doc est construite avec docbook donc en xml mais comment voir le résultat lors de la réd ... |
Topic: Watchout: Smarty disables E_NOTICE reporting while rendering |
gtraxx
Replies: 16
Views: 30576
|
Forum: Smarty 3 Posted: Fri Nov 12, 2010 5:03 pm Subject: Watchout: Smarty disables E_NOTICE reporting while rendering |
Great,
I also send a fix to the google group for smarty_internal_compile_continue:
[url=http://groups.google.com/group/smarty-developers/browse_thread/thread/2857df55361d894e?hl=en]http://groups.go ... |
Topic: errror config load in parent template |
gtraxx
Replies: 1
Views: 4769
|
Forum: Smarty 3 Posted: Fri Nov 12, 2010 10:47 am Subject: errror config load in parent template |
Hello, I use config_load to load in the entire application variables that are translated.
However, since the stable release, I am obliged to call my files containing the variables in each TPL, before ... |
|