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

Search found 164 matches
Smarty Forum Index
Author Message
  Topic: plugins_dir
andre

Replies: 3
Views: 7282

PostForum: Language: German   Posted: Fri Apr 30, 2004 6:02 am   Subject: plugins_dir
Ebenso kann man so auch "interne" Plugins durch eigene überladen, wenn der eigene Plugin-Pfad in der Liste vor dem von smarty/libs steht

Das ist vor allem hilfreich, da dann die original Distributi ...
  Topic: [Output Filter] Obfuscating email addresses
andre

Replies: 7
Views: 15763

PostForum: Plugins   Posted: Tue Mar 16, 2004 8:30 am   Subject: [Output Filter] Obfuscating email addresses
Hi,

for a very small CMS I wrote I needed an output filter which obfuscates all email addresses to prevent spam robots from harvesting them. To use the Smarty built-in {mailto} plugin wasn't possi ...
  Topic: popup
andre

Replies: 3
Views: 8602

PostForum: Plugins   Posted: Thu Mar 11, 2004 9:31 am   Subject: popup
Hi guys Smile

Regarding OverLIB:
To access the up-to-date cvs follow this link: HTMLArea:
The CVS version is still maintained and can be found here: overlib(MWS) and htmlarea (and sometimes even Sm ...
  Topic: block functions without content (XHTML compatible)
andre

Replies: 5
Views: 10311

PostForum: Feature Requests   Posted: Fri Feb 27, 2004 7:40 am   Subject: block functions without content (XHTML compatible)
You could create your own prefilter (see http://smarty.php.net/manual/en/advanced.features.prefilters.php) which expands {block /} to {block}{/block} automatically during compilation using a regular e ...
  Topic: Best Pratices for modules templates
andre

Replies: 11
Views: 18021

PostForum: General   Posted: Fri Feb 27, 2004 7:36 am   Subject: Best Pratices for modules templates
Hi mshaffer!

I've invested quite alot time in my theming engine. Here's how it works basically:

All themes extend a basic theme class (ngTheme) which offers functions for displaying the output ( ...
  Topic: two diferent delimiter
andre

Replies: 24
Views: 35891

PostForum: Feature Requests   Posted: Wed Feb 25, 2004 3:33 pm   Subject: two diferent delimiter
I think it's not as simple as just looking for "{$

Crying or Very sad you're right...
  Topic: looking for CMS framework
andre

Replies: 5
Views: 20253

PostForum: Frameworks   Posted: Wed Feb 25, 2004 3:28 pm   Subject: looking for CMS framework
If you have time you could look on my source code for a very small - ... ehm ... - content (without management?!) system. Wink

It's absolutely simple but's exactly what I needed for my father ( ...
  Topic: two diferent delimiter
andre

Replies: 24
Views: 35891

PostForum: Feature Requests   Posted: Tue Feb 24, 2004 1:35 pm   Subject: two diferent delimiter
I put it here: http://lammfellpuschen.de/html_delimiters/

Very nice Smile

I like this approach because it integrates very nice. But there's still the problem with designers always using "{&q ...
  Topic: Constructor defaults: function Smarty ( $base_dir = '.' )
andre

Replies: 2
Views: 10203

PostForum: Feature Requests   Posted: Thu Feb 12, 2004 1:25 pm   Subject: Constructor defaults: function Smarty ( $base_dir = '.' )
Normally you should create your own template class which handles setting the parameters for you Smile


class mySmarty extends Smarty {
function mySmarty() {
$this-> ...
  Topic: Alternative to cat?
andre

Replies: 3
Views: 4138

PostForum: General   Posted: Fri Jan 30, 2004 7:11 am   Subject: Alternative to cat?
{assign var="body_template" value="file:`$smarty.server.DOCUMENT_ROOT`/templates/articles/`$article.file`"}

Please read the manual or use the search option next ti ...
  Topic: How do i set up a counter in smarty?
andre

Replies: 4
Views: 14668

PostForum: Tips and Tricks   Posted: Thu Jan 22, 2004 8:40 am   Subject: How do i set up a counter in smarty?
The "somespecialtag" is "section" Smile

Try this:
+---------------------+
{section name=i start=0 loop=$max}
Hello number {$I}
{/section}
  Topic: ? using DEFINE variables inside smarty
andre

Replies: 2
Views: 7693

PostForum: General   Posted: Mon Jan 19, 2004 12:27 pm   Subject: ? using DEFINE variables inside smarty
{$smarty.const.INPUT_MENU} should work.
  Topic: {strip} tag - not working...
andre

Replies: 8
Views: 5786

PostForum: General   Posted: Fri Jan 16, 2004 7:45 am   Subject: {strip} tag - not working...
Make sure you clear the templates_c and cache directory on your live computer. The {strip} plugin has changed sometimes in the last few versions of Smarty.
  Topic: Send Smarty Output In An Email
andre

Replies: 2
Views: 3143

PostForum: General   Posted: Thu Jan 15, 2004 2:06 pm   Subject: Send Smarty Output In An Email
As mailing class you could use [url=http://phpmailer.sourceforge.net/]phpMailer which is very good ... check it out. Smile
  Topic: html_doctype and prepareforoutput plugins
andre

Replies: 0
Views: 5040

PostForum: Plugins   Posted: Thu Jan 15, 2004 8:30 am   Subject: html_doctype and prepareforoutput plugins
I've updated the [url=http://smarty.incutio.com/?page=DOCTYPEHeaderPlugin]html_doctype plugin on the wike pages and added a new one: [url=http://smarty.incutio.com/?page=PrepareForOutput]PrepareForOut ...
 
Page 1 of 11 Goto page 1, 2, 3 ... 9, 10, 11  Next
All times are GMT
Jump to:  


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