Author |
Message |
Topic: how to install smarty in windows in xampp |
suf3r
Replies: 4
Views: 17950
|
Forum: 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: 10365
|
Forum: 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: 10365
|
Forum: 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: 10365
|
Forum: 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: 19637
|
Forum: 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: 4548
|
Forum: 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: 4548
|
Forum: 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: 14049
|
Forum: 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: 4868
|
Forum: General Posted: Sat Dec 31, 2011 7:57 pm Subject: function assign problems |
Thanks, forgeted that... |
Topic: function assign problems |
suf3r
Replies: 2
Views: 4868
|
Forum: 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: 6701
|
Forum: 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: 4661
|
Forum: 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: 6701
|
Forum: 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: 4661
|
Forum: 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: 5665
|
Forum: 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 ... |
|