Author |
Message |
Topic: Number Formatting in .tpl files |
FrankinHolland
Replies: 7
Views: 35754
|
Forum: Feature Requests Posted: Tue Mar 27, 2012 5:18 pm Subject: Resolved |
I deleted all my Smarty files and reloaded 2.6.26 and that seems to have resolved the problem. I had mixed files and the core vs. internals\core seems to have been the problem. I want to upgrade to ... |
Topic: Warning: require_once(D: mpp\htdocs/include/tables.php) |
FrankinHolland
Replies: 1
Views: 8106
|
Forum: Installation and Setup Posted: Tue Mar 27, 2012 2:46 pm Subject: Line 8 |
Whats on line 8? Can you print it here? |
Topic: Basic installation problems, http 500 - internal server erro |
FrankinHolland
Replies: 2
Views: 8926
|
Forum: Installation and Setup Posted: Tue Mar 27, 2012 5:49 am Subject: 500 server error |
turn the rewrite module on in php extensions. I just had this problem today reinstalling |
Topic: Number Formatting in .tpl files |
FrankinHolland
Replies: 7
Views: 35754
|
Forum: Feature Requests Posted: Mon Mar 26, 2012 10:49 pm Subject: CORE path issues |
Something is wrong with my CORE files. Working on it.... Thanks for pointing me in the right direction. |
Topic: Number Formatting in .tpl files |
FrankinHolland
Replies: 7
Views: 35754
|
Forum: Feature Requests Posted: Wed Mar 21, 2012 7:33 pm Subject: SMARTY_CORE_DIR? |
Still getting the same error. This is what is triggering it:
{$FeaturedProduct[i].dPrice|string_format:"%.2f"}
I will look up info on SMARTY_CORE_DIR and double check my settings. Th ... |
Topic: Number Formatting in .tpl files |
FrankinHolland
Replies: 7
Views: 35754
|
Forum: Feature Requests Posted: Wed Mar 21, 2012 6:22 pm Subject: Is there a plugin required? |
Sorry if this is a newbie question but I am getting the following error:
Fatal error: require_once() [function.require]: Failed opening required 'SMARTY_CORE_DIRcore.load_plugins.php' (include_path ... |
Topic: Number Formatting in .tpl files |
FrankinHolland
Replies: 7
Views: 35754
|
Forum: Feature Requests Posted: Wed Mar 21, 2012 6:08 pm Subject: Thanks again! |
I can't tell you how much I have appreciated your help. |
Topic: Is it possible to do math in Section Loops? |
FrankinHolland
Replies: 2
Views: 5309
|
Forum: General Posted: Tue Mar 20, 2012 11:58 pm Subject: Thanks! |
Thanks again! I somehow missed this reply and found another way but this is very useful. |
Topic: Number Formatting in .tpl files |
FrankinHolland
Replies: 7
Views: 35754
|
Forum: Feature Requests Posted: Tue Mar 20, 2012 11:17 pm Subject: Number Formatting in .tpl files |
Hi all,
Is there any way to format number output in .tpl files? I tried the few examples on the site with no success. The output I want to modify is here:
<td height="17" class=&q ... |
Topic: Is it possible to do math in Section Loops? |
FrankinHolland
Replies: 2
Views: 5309
|
Forum: General Posted: Fri Dec 09, 2011 1:04 am Subject: Is it possible to do math in Section Loops? |
Hi. I am trying to do currency conversion on the fly in a Smarty Section Loop. This is what I have (minus irrelevant stuff):
{section name=i loop=$FeaturedProduct}
..
..
<td height="17 ... |
Topic: debug.tpl Fatal error ....syntax error: invalid attribute... |
FrankinHolland
Replies: 2
Views: 5195
|
Forum: General Posted: Fri Nov 11, 2011 12:44 am Subject: Thanks! |
Thanks for your forum. It would probably have taken me a week to figure that our if ever! |
Topic: debug.tpl Fatal error ....syntax error: invalid attribute... |
FrankinHolland
Replies: 2
Views: 5195
|
Forum: General Posted: Thu Nov 10, 2011 11:03 pm Subject: debug.tpl Fatal error ....syntax error: invalid attribute... |
Hi. I have been trying to get debug.tpl to work for about a year now with no luck. The error when I view the browser source is
<b>Fatal error</b>: Smarty: [in C:\wamp\www\templates\d ... |
Topic: compile_check sends browser to Pear smarty_compiler.class |
FrankinHolland
Replies: 1
Views: 5523
|
Forum: Installation and Setup Posted: Tue Jul 19, 2011 4:04 am Subject: Solved |
Like all good accidents there were multiple issues here. In as few words this is what I did wrong.
1) I downloaded a new smarty.compiler.class from Pear and by mistake downloaded the entire page ... |
Topic: compile_check sends browser to Pear smarty_compiler.class |
FrankinHolland
Replies: 1
Views: 5523
|
Forum: Installation and Setup Posted: Tue Jul 19, 2011 2:08 am Subject: compile_check sends browser to Pear smarty_compiler.class |
I am going crazy here. My templates won't recompile (probably server upgrade). I uploaded the latest smarty files and same. I can toggle the error by setting compile_check to true which sends the b ... |
|