Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 13 matches
Smarty Forum Index
Author Message
  Topic: http://www.papdevis.fr/
olivierpons

Replies: 0
Views: 7777

PostForum: Showcase   Posted: Mon Sep 10, 2012 10:04 am   Subject: http://www.papdevis.fr/
Multilanguage high performance oriented Website.

My own framework: classical LAMP, but you just don't see it's multi-partner + multilanguage (for each partner) oriented.

http://www.papdevis.fr/ ...
  Topic: Smarty, parsing takes too much time [solved]
olivierpons

Replies: 3
Views: 4671

PostForum: General   Posted: Fri Mar 16, 2012 12:38 pm   Subject: Smarty, parsing takes too much time [solved]
Ok it works. It's fast (~2s instead of 198s). It's still too slow for me but hey I guess this is not smarty's fault, it's the system (read a 2,5 Mb Js file in memory, allocate stuff and so on).

And ...
  Topic: Smarty, parsing takes too much time [solved]
olivierpons

Replies: 3
Views: 4671

PostForum: General   Posted: Fri Mar 16, 2012 12:31 pm   Subject: Smarty, parsing takes too much time [solved]
I'm using Smarty 3.1 I'll install 3.1.7 and tell you if it is fixed.
  Topic: Smarty, parsing takes too much time [solved]
olivierpons

Replies: 3
Views: 4671

PostForum: General   Posted: Fri Mar 16, 2012 10:58 am   Subject: Smarty, parsing takes too much time [solved]
Hi!

I've got a huge Js file that is 2,3 Mb long (it's ExtJS debug file).

All my js file are parsed through Smarty so that I can put whenever I want some "dynamic" stuff of mine.

The ...
  Topic: key and "if" comparison doesn't work [solved]
olivierpons

Replies: 2
Views: 5414

PostForum: Bugs   Posted: Sun Oct 09, 2011 3:24 pm   Subject: key and "if" comparison doesn't work [solved]
Damn I found it, but it's not logical to me. Here's the solution: ternary comparison (!==) instead of "neq".

This is not normal I think.

{if $key !== 'url_redirection'}
...
  Topic: key and "if" comparison doesn't work [solved]
olivierpons

Replies: 2
Views: 5414

PostForum: Bugs   Posted: Sun Oct 09, 2011 3:19 pm   Subject: key and "if" comparison doesn't work [solved]
Hi,

I pass an array to smarty.
The dump of this array is:

tab_authentification_ok = array (
'url_redirection' => '/intranet/',
0 => 'Bienvenue, Olivier Dofus',
1 => 'Veuil ...
  Topic: register_block: blocks with multiple content areas
olivierpons

Replies: 9
Views: 16374

PostForum: Feature Requests   Posted: Sat Aug 13, 2011 12:20 pm   Subject: register_block: blocks with multiple content areas
You are perfectly right.
This may just be a commercial's point of view: if you show that your code is 100% optimized to a non-informatician, he'll understand when you go: "show source => ever ...
  Topic: register_block: blocks with multiple content areas
olivierpons

Replies: 9
Views: 16374

PostForum: Feature Requests   Posted: Sat Aug 13, 2011 11:19 am   Subject: register_block: blocks with multiple content areas
Thank you very much for your answer and suggestion.

The code:

<div
id="foo"
class="bar"
style="width:100px"
>
foo
</div>
is valid.
...
  Topic: HTML minifying
olivierpons

Replies: 15
Views: 43711

PostForum: Feature Requests   Posted: Sat Aug 13, 2011 11:10 am   Subject: HTML minifying
Note: if you have JavaScript in your html file, using {literal} {/literal} won't touch the code between those tags, and your JavaScript won't be "stripped" Wink
  Topic: Upgrade 2.x -> 3.x helper
olivierpons

Replies: 6
Views: 11223

PostForum: Smarty 3   Posted: Sat Aug 13, 2011 10:09 am   Subject: Upgrade 2.x -> 3.x helper
You're right, I've modified my help according to what you said. Thank you.
  Topic: register_block: blocks with multiple content areas
olivierpons

Replies: 9
Views: 16374

PostForum: Feature Requests   Posted: Sat Aug 13, 2011 9:37 am   Subject: register_block: blocks with multiple content areas
another method:

{capture assign=addr}{$zipcode},{$country},{$state},{$city},{$street},{$apartment}{/capture}
{$ ...
  Topic: I passed my Engineer's degree thanks (partly) to Smarty
olivierpons

Replies: 0
Views: 19359

PostForum: Testimonials   Posted: Sat Aug 13, 2011 9:20 am   Subject: I passed my Engineer's degree thanks (partly) to Smarty
I've done a powerful and secure framework:
- full-multilanguage;
- full templating system:
- full multi-partner-oriented
- full web-optimized (= one website for web and smartphones)

It's relyin ...
  Topic: Upgrade 2.x -> 3.x helper
olivierpons

Replies: 6
Views: 11223

PostForum: Smarty 3   Posted: Sat Aug 13, 2011 9:10 am   Subject: Upgrade 2.x -> 3.x helper
Here are the problems I've encountered so far:
-----------------------------
- the template dir is not allowed to begin with "." or "../" anymore.
So you need to add this line: ...
 
Page 1 of 1
All times are GMT
Jump to:  


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