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

Search found 62 matches
Smarty Forum Index
Author Message
  Topic: unlink fails
toma

Replies: 3
Views: 4467

PostForum: Smarty 3   Posted: Mon Nov 23, 2009 10:17 pm   Subject: unlink fails
I've changed the code. I'll report back in a few days whether I see any more warnings.
  Topic: unlink fails
toma

Replies: 3
Views: 4467

PostForum: Smarty 3   Posted: Mon Nov 23, 2009 9:47 pm   Subject: unlink fails
Two warnings my site has spit out on 4

WARNING [2] unlink(/public/projects/etree/projects/dev.etreedb.org/cache/1498912485.freetext.tpl.php) [function.unlink]: No such file or directory

Warning ...
  Topic: spl_autoload issue
toma

Replies: 11
Views: 18276

PostForum: Smarty 3   Posted: Thu Nov 05, 2009 2:36 am   Subject: spl_autoload issue
Something else to consider on this topic: users may want to use their autoloader instead of adding a second autoloader on the stack. e.g.


class smartyAutoloader Implements Zend_Loader_Autoloade ...
  Topic: Spelling Error
toma

Replies: 0
Views: 3401

PostForum: Smarty 3   Posted: Thu Nov 05, 2009 1:51 am   Subject: Spelling Error
libs/sysplugins/smarty_internal_compilebase.php

"unexspected"
  Topic: spl_autoload issue
toma

Replies: 11
Views: 18276

PostForum: Smarty 3   Posted: Thu Nov 05, 2009 1:29 am   Subject: spl_autoload issue
I just solved a problem I thought was related to this. Using 5.3 I would receive

"Fatal error: Class 'Smarty_Internal_Template' not found in C:\projects\db\library\pear\Text\Diff.php on line ...
  Topic: Site engine
toma

Replies: 1
Views: 2691

PostForum: General   Posted: Fri May 18, 2007 6:21 pm   Subject: Site engine
Check my article on organizing a Smarty project, http://smarty.incutio.com/?page=SmartestSmartyPractices and reply back with any specific questions you still have.

Tom A.
  Topic: Language tags inside {paginate} tag
toma

Replies: 3
Views: 4485

PostForum: General   Posted: Sun Apr 22, 2007 5:30 pm   Subject: Language tags inside {paginate} tag
Your 'custom' translate function doesn't support assign of course so of course you should change it
  Topic: Language tags inside {paginate} tag
toma

Replies: 3
Views: 4485

PostForum: General   Posted: Sat Apr 21, 2007 10:16 pm   Subject: Language tags inside {paginate} tag
{trans id='whatchamacallit' assign='next'}
...
{paginate_next text=$next}
  Topic: header and footer question
toma

Replies: 2
Views: 3658

PostForum: General   Posted: Sun Apr 08, 2007 6:03 pm   Subject: header and footer question
I prefer to assign page specific parameters before including the files:

{assign var="title" value="Page Title"}
{include file="header.tpl"}
  Topic: Array help
toma

Replies: 2
Views: 3298

PostForum: General   Posted: Fri Mar 30, 2007 5:07 am   Subject: Array help
You'll probably want to flip it, do a foreach iteration, etc. etc.
  Topic: Cacheing not working with dynamic content
toma

Replies: 4
Views: 5097

PostForum: General   Posted: Mon Mar 26, 2007 2:07 am   Subject: Cacheing not working with dynamic content
I finally gave up on inject or whatever that function is. Check db.etree's common header for a fine workaround.
  Topic: period in field name, how to handle in section?
toma

Replies: 2
Views: 3679

PostForum: General   Posted: Sun Mar 25, 2007 4:29 am   Subject: period in field name, how to handle in section?
Modify your abstraction layer to rename all column names, replacing . with _

Good luck!
  Topic: Remove smarty templating from PHP scripts?
toma

Replies: 7
Views: 7421

PostForum: General   Posted: Sat Mar 24, 2007 5:46 pm   Subject: Remove smarty templating from PHP scripts?
I'd like to apologize on behalf of the forums for our disappointing tally of only one insulting comment.

Your mother writes SGML!
  Topic: Moving a Smarty within a file...
toma

Replies: 2
Views: 3163

PostForum: General   Posted: Sat Mar 24, 2007 5:43 pm   Subject: Moving a Smarty within a file...
Copy the contents of top_menu into your file then see if moving that html makes sense.
  Topic: Template metadata from php code
toma

Replies: 2
Views: 14302

PostForum: Frameworks   Posted: Fri Mar 23, 2007 11:06 pm   Subject: Template metadata from php code
{* Comments? *}
 
Page 1 of 5 Goto page 1, 2, 3, 4, 5  Next
All times are GMT
Jump to:  


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