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 31 matches
Smarty Forum Index
Author Message
  Topic: how to install smarty in windows in xampp
suf3r

Replies: 4
Views: 17928

PostForum: Installation and Setup   Posted: Tue Jan 17, 2012 5:05 pm   Subject: how to install smarty in windows in xampp
Damn... Smarty only works with PHP and install windows in xampp <-- that's real SHIT!

Anyway, install XAMPP in windows is easy, just read here: http://www.apachefriends.org/en/xampp-windows.html
  Topic: template compile error's
suf3r

Replies: 4
Views: 10348

PostForum: Installation and Setup   Posted: Wed Jan 11, 2012 12:33 pm   Subject: template compile error's
I didn't tryed yet, thanks for suggestion. Then i have time, will try it and post result's.
  Topic: template compile error's
suf3r

Replies: 4
Views: 10348

PostForum: Installation and Setup   Posted: Tue Jan 10, 2012 3:00 pm   Subject: template compile error's
Version: 3.1.7 According download page, latest/stable release.
  Topic: template compile error's
suf3r

Replies: 4
Views: 10348

PostForum: Installation and Setup   Posted: Tue Jan 10, 2012 8:38 am   Subject: template compile error's
Hi, if first compiling template, it give's these error's:

Error: 'E_WARNING' -> Message: 'unlink(/opt/lampp/htdocs/includes/tpl/tpl_compile/b50210332960d8bcf4f07f41ddb3220cf227e602.c ...
  Topic: Error 500 - Class smarty not found
suf3r

Replies: 12
Views: 19618

PostForum: General   Posted: Sun Jan 08, 2012 6:35 pm   Subject: Error 500 - Class smarty not found
I think it should be: $smarty = new Smarty;

Try require_once instead.
  Topic: foreach result's in template
suf3r

Replies: 2
Views: 4542

PostForum: General   Posted: Sun Jan 08, 2012 6:32 pm   Subject: foreach result's in template
thanks
  Topic: foreach result's in template
suf3r

Replies: 2
Views: 4542

PostForum: General   Posted: Sat Jan 07, 2012 5:48 pm   Subject: foreach result's in template
Hi, for this moment using this code:

If (isset($_POST['numserials']) && !empty($_POST['numserials']))
{
For ($a = 1; $a <= $_PO ...
  Topic: Easiest way for multilanguage
suf3r

Replies: 1
Views: 13964

PostForum: Tips and Tricks   Posted: Mon Jan 02, 2012 10:02 pm   Subject: Easiest way for multilanguage
Hi, several days ago explored chevero script and founded how they implemented multilanguage, afcourse i like it and decided to share with rest.

For path example's i used lampp, so leaved path's how ...
  Topic: function assign problems
suf3r

Replies: 2
Views: 4862

PostForum: General   Posted: Sat Dec 31, 2011 7:57 pm   Subject: function assign problems
Thanks, forgeted that...
  Topic: function assign problems
suf3r

Replies: 2
Views: 4862

PostForum: General   Posted: Fri Dec 30, 2011 6:11 pm   Subject: function assign problems
Hi, doing this:

$smarty->assign('show_lang_hello', show_lang_txt('hello'));

It's a part of new language integration in script.

function check_value($value) {
...
  Topic: a small smarty question
suf3r

Replies: 3
Views: 6698

PostForum: General   Posted: Tue Oct 04, 2011 4:12 pm   Subject: a small smarty question
If path correct, then maybe template doesn't exist ?

I can guarantee, problem will be with your patch or template doesn't exist.
  Topic: access config vars in php
suf3r

Replies: 2
Views: 4657

PostForum: General   Posted: Tue Oct 04, 2011 1:18 pm   Subject: access config vars in php
Thanks, did not spot that.

EDIT:
Before using config vars it need to be loaded!
$smarty->configLoad('config_name.conf');
Then:

$config_var = $smarty->getConfigVars('var') ...
  Topic: a small smarty question
suf3r

Replies: 3
Views: 6698

PostForum: General   Posted: Tue Oct 04, 2011 1:18 pm   Subject: a small smarty question
Make sure templates folder specified correct and by the way: why such old version ?
  Topic: access config vars in php
suf3r

Replies: 2
Views: 4657

PostForum: General   Posted: Mon Oct 03, 2011 6:40 pm   Subject: access config vars in php
Hi, in FAQ found it can be done, but how about 3.x version of smarty ?
It's even possible ?
  Topic: installation error
suf3r

Replies: 1
Views: 5653

PostForum: Installation and Setup   Posted: Sun Oct 02, 2011 4:48 pm   Subject: installation error
I always doing like this:
define('START', dirname(__FILE__));
require_once START . '/Smarty-3.0.8/Smarty.class.php';

This works if your ini.php in root folder. If not, then it wil ...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT
Jump to:  


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