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 11 matches
Smarty Forum Index
Author Message
  Topic: Integrating Smarty with cakePHP
Margodth

Replies: 2
Views: 18085

PostForum: Installation and Setup   Posted: Fri Jun 21, 2013 4:18 pm   Subject: Integrating Smarty with cakePHP
I hope someone can gave a hint on how to do this. I moved to cakephp recently and I'm a smarty user since 2004. I love smarty and can't wait to use it on cake.

Thanks
  Topic: Unable to load template file
Margodth

Replies: 4
Views: 23868

PostForum: Bugs   Posted: Thu Mar 01, 2012 6:29 am   Subject: Unable to load template file
After a couple of days, today I came back with a solved mark! Very Happy and a new problem Twisted Evil Twisted Evil

I've always used this config: $template->setTemplateDir( './tdir/');

Before smarty 3.1 ...
  Topic: Facing a culture problem
Margodth

Replies: 3
Views: 8703

PostForum: Smarty 3   Posted: Sun Jan 15, 2012 12:25 am   Subject: Facing a culture problem
While rodneyrehm solution looks nicer, U.Tews solution it's easier to implement and iterates less.
I've been trying to implement U.Tews solution before, but I mixed up some things in a not happy way ...
  Topic: Facing a culture problem
Margodth

Replies: 3
Views: 8703

PostForum: Smarty 3   Posted: Mon Jan 09, 2012 11:40 pm   Subject: Facing a culture problem
I'm making an app that requires different cultures.
When trying to format numbers I have to format numbers like this

{$myVar|number_format:2:".":","}

...
  Topic: Unable to load template file
Margodth

Replies: 4
Views: 23868

PostForum: Bugs   Posted: Mon Jan 09, 2012 11:20 pm   Subject: Unable to load template file
I've made use of php function realpath, but there is still the same message.

$this->_template->setTemplateDir( realpath( $conf['app']['templatepath'] . $this->_tem ...
  Topic: Unable to load template file
Margodth

Replies: 4
Views: 23868

PostForum: Bugs   Posted: Sat Jan 07, 2012 2:35 pm   Subject: Unable to load template file
I'm not sure if it's really a bug, but I couldn't find anything in the changelogs and I couldn't solve it with the help of other topics in the forum.

I wanted to upgrade from version 3.0.8 to 3.1.7 ...
  Topic: spaces
Margodth

Replies: 3
Views: 5886

PostForum: Bugs   Posted: Fri Jul 08, 2011 11:32 am   Subject: spaces
Smarty 3.0.8 solved the problem without touching a single line of code.

Thanks for the answers.
  Topic: spaces
Margodth

Replies: 3
Views: 5886

PostForum: Bugs   Posted: Fri Jul 08, 2011 10:16 am   Subject: spaces
Today I've made the upgrade from version 2.6 to 3.0.7.
I've seen a lot of changes but my entire site stop running. No messages of errors and the header, menu and footer was working, so I had no Idea ...
  Topic: Strange behaviour
Margodth

Replies: 3
Views: 7134

PostForum: Bugs   Posted: Fri Jun 17, 2005 2:13 pm   Subject: Strange behaviour
You need something like unique compile_id's.

http://smarty.php.net/manual/en/api.display.php

Even though, the $force_compile didn't have to recompile the template?
  Topic: Strange behaviour
Margodth

Replies: 3
Views: 7134

PostForum: Bugs   Posted: Fri Jun 17, 2005 4:23 am   Subject: Strange behaviour
I have 2 templates with the same name in diferent folders.
my code looks something like this


$template = new Smarty();
$template->cache_dir = $root_path . 'smarty/cache/';
$template ...
  Topic: Spaces
Margodth

Replies: 2
Views: 9234

PostForum: Bugs   Posted: Sun Mar 28, 2004 2:57 am   Subject: Spaces
I'm new using smarty so I don't know if this is a bug or just a config of my smarty.
I made a tpl file and It works fine but when I see the html code that has been created, I see that there are a lot ...
 
Page 1 of 1
All times are GMT
Jump to:  


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