Author |
Message |
Topic: plugins_dir |
andre
Replies: 3
Views: 10778
|
Forum: 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: 20535
|
Forum: 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: 12788
|
Forum: Plugins Posted: Thu Mar 11, 2004 9:31 am Subject: popup |
Hi guys
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: 15620
|
Forum: 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: 35436
|
Forum: 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: 54040
|
Forum: 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 "{$
you're right... |
Topic: looking for CMS framework |
andre
Replies: 5
Views: 24920
|
Forum: 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.
It's absolutely simple but's exactly what I needed for my father ( ... |
Topic: two diferent delimiter |
andre
Replies: 24
Views: 54040
|
Forum: 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
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: 14385
|
Forum: 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
class mySmarty extends Smarty {
function mySmarty() {
$this-> ... |
Topic: Alternative to cat? |
andre
Replies: 3
Views: 6327
|
Forum: 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: 19703
|
Forum: 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"
Try this:
+---------------------+
{section name=i start=0 loop=$max}
Hello number {$I}
{/section} |
Topic: ? using DEFINE variables inside smarty |
andre
Replies: 2
Views: 10058
|
Forum: 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: 9203
|
Forum: 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: 5285
|
Forum: 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. |
Topic: html_doctype and prepareforoutput plugins |
andre
Replies: 0
Views: 7620
|
Forum: 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 ... |
|