Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 33 matches
Smarty Forum Index
Author Message
  Topic: PB with output filter plugin
::downtown::

Replies: 4
Views: 23890

PostForum: Plugins   Posted: Fri Nov 10, 2006 10:44 am   Subject: PB with output filter plugin
I think a modfier is the better way to solve your problem.

{assign var="resultat" value='index.php?cat=21'}
{$resultat|rewrite_url}



<?php
/*
* Smarty plu ...
  Topic: Linebreak to paragraph
::downtown::

Replies: 10
Views: 17445

PostForum: General   Posted: Fri Nov 10, 2006 10:31 am   Subject: Linebreak to paragraph
<?php
/*
* Smarty plugin
* -------------------------------------------------------------
* File: modifier.ptags.php
* Type: modifier
* Name: ptags
* ----------- ...
  Topic: caching off - still writes
::downtown::

Replies: 7
Views: 8502

PostForum: General   Posted: Fri Nov 10, 2006 10:27 am   Subject: caching off - still writes
Don't forget 2 Things

$smarty->force_compile = false ; // do not force compiling templates
$smarty->caching = 2; // set cache lifetime see

see: http://smarty.php.net/manual/en/variable ...
  Topic: Smarty Designing Help Required
::downtown::

Replies: 4
Views: 6805

PostForum: General   Posted: Fri Nov 10, 2006 10:14 am   Subject: Smarty Designing Help Required
Obviously Dreamweaver has no way of dealing with the $imgSource variable so it skips it. This means I don't get to see the images, css or anything else thats referenced in the page.

You need to vi ...
  Topic: Freiwillige gesucht: Pflege der deutschen Dokumentation.
::downtown::

Replies: 15
Views: 25917

PostForum: Language: German   Posted: Tue Mar 14, 2006 8:54 am   Subject: CVS ;- (
Ich muss mich auch wieder mit CVS anfreunden. Wie läuft das alles ? Wo kann ich nachschauen, wer was macht. Wo gibt's alle Informationen ?

Bye
  Topic: Freiwillige gesucht: Pflege der deutschen Dokumentation.
::downtown::

Replies: 15
Views: 25917

PostForum: Language: German   Posted: Fri Mar 10, 2006 2:25 pm   Subject: Ich bin auch dabei
Hallo,

Ich würde mich auch anbieten. Leider ist meine Zeit relativ begrenzt aber als Zuarbeiter würde ich mich freuen diesem excellenten Produkt auf die Sprünge zu helfen ;- )
  Topic: XHTML-Fehler bei radio Buttons
::downtown::

Replies: 9
Views: 12579

PostForum: Language: German   Posted: Fri Mar 10, 2006 2:22 pm   Subject: Eigenes Plugin
Dann schreibe dir doch ein eigenes Plugin .
  Topic: Doppeltes Parsen
::downtown::

Replies: 5
Views: 8970

PostForum: Language: German   Posted: Tue Jan 10, 2006 11:27 am   Subject: Doppeltes Parsen
{$thumb_folder} wird in der PHP Datei definiert.
Ok...
Meine frage ist wie kann ich es machen, dass dies ersetzt wird sodass,
statt {$thumb_folder}/bild1.gif z.Bsp: upload/thumbnails/bild1.gif
D ...
  Topic: days counter Project , needs help .
::downtown::

Replies: 1
Views: 4774

PostForum: General   Posted: Mon Jan 09, 2006 3:14 pm   Subject: days counter Project , needs help .
{$time_stamp|date_format:""}

@see
http://smarty.php.net/manual/en/language.modifier.date.format.php
  Topic: problem implementing self written function
::downtown::

Replies: 3
Views: 6038

PostForum: General   Posted: Mon Jan 09, 2006 3:12 pm   Subject: problem implementing self written function
Do you have your code in the correct directory ?
Normally all plugins are loaded from "$smarty->plugins_dir" .
  Topic: Alternatives Templateverzeichnis
::downtown::

Replies: 5
Views: 8843

PostForum: Language: German   Posted: Mon Jan 09, 2006 3:00 pm   Subject: Alternatives Templateverzeichnis
Andere Pfade nutzen:

http://smarty.php.net/manual/de/template.resources.php

Ist immer noch die beste Möglichkeit.

Templates kompilieren.


$smarty->fetch();


Damit wird es k ...
  Topic: Smarty index.php und variablen
::downtown::

Replies: 2
Views: 5768

PostForum: Language: German   Posted: Mon Jan 09, 2006 2:52 pm   Subject: Smarty richtig nutzen ;- )
Das beste du includierst deine zusätzlichen Scripte in der index.php .

Zum Beispiel

http://www.mysite.de/index.php&content=links

index.php

if ( $_GET['content'] == 'links'  ...
  Topic: Doppeltes Parsen
::downtown::

Replies: 5
Views: 8970

PostForum: Language: German   Posted: Mon Jan 09, 2006 2:49 pm   Subject: Doppelt parsen
Hallo,

Am besten includest du das Template einfach zweimal


{include file="myTemplate.tpl"}
{include file="myTemplate.tpl"}

Oder machst es direkt im ...
  Topic: HTML Sonderzeichen automatischen umwandeln?
::downtown::

Replies: 3
Views: 7345

PostForum: Language: German   Posted: Mon Jan 09, 2006 2:46 pm   Subject: Modifiers
Das brauchste

http://smarty.php.net/manual/de/variable.default.modifiers.php
  Topic: Anfängerfrage: PHP Script in Template einbinden
::downtown::

Replies: 2
Views: 6132

PostForum: Language: German   Posted: Mon Jan 09, 2006 2:45 pm   Subject: Plugins
Hier steht alles wichtige:

http://smarty.php.net/manual/de/plugins.php
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT
Jump to:  


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