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

Search found 4 matches
Smarty Forum Index
Author Message
  Topic: blank page after install & running demo index page
genie_ru

Replies: 16
Views: 26624

PostForum: Installation and Setup   Posted: Thu Dec 23, 2004 10:41 am   Subject: blank page after install & running demo index page
I have solved my problem. I added this code to .htaccess:

<IfModule mod_php4.c>
php_value display_errors On
</IfModule>

and it told me that $compile_dir was not defined properly ...
  Topic: blank page after install &amp; running demo index page
genie_ru

Replies: 16
Views: 26624

PostForum: Installation and Setup   Posted: Thu Dec 23, 2004 1:31 am   Subject: blank page after install &amp; running demo index page
same errors on Smarty: 2.5.0. I have just installed Smarty and it gives me a blank page Sad so I inluded this code:

<?php
error_reporting(E_ALL);
require 'smarty/libs/Smarty.class.php';
$smar ...
  Topic: how $autoload_filters should work?
genie_ru

Replies: 2
Views: 7084

PostForum: Plugins   Posted: Thu Apr 15, 2004 2:52 pm   Subject: how $autoload_filters should work?
> just, make sure that autoload_filters is setup correctly everytime you use smarty

thank you Smile i'm newbee to Smarty and php.

> why would one one to have the filters applied before?

to ...
  Topic: how $autoload_filters should work?
genie_ru

Replies: 2
Views: 7084

PostForum: Plugins   Posted: Thu Apr 15, 2004 1:23 pm   Subject: how $autoload_filters should work?
First of all I created prefilter 'prefilter.add_template_name.php' and placed it to 'plugins' directory.

<?php
// put this in your application
function smarty_prefilter_add_template_name($ ...
 
Page 1 of 1
All times are GMT
Jump to:  


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