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 10 matches
Smarty Forum Index
Author Message
  Topic: parse a "template" a second time?
JOat

Replies: 4
Views: 6588

PostForum: General   Posted: Tue May 27, 2008 1:02 am   Subject: parse a "template" a second time?
thank you!
  Topic: parse a "template" a second time?
JOat

Replies: 4
Views: 6588

PostForum: General   Posted: Tue May 27, 2008 12:41 am   Subject: parse a "template" a second time?
Use the {eval} tag to parse your content for other Smarty tags. See

doesn't work Sad

am i right if i put the {eval ...} into the content which is stored in the database?

If yes, the output is ...
  Topic: parse a "template" a second time?
JOat

Replies: 4
Views: 6588

PostForum: General   Posted: Mon May 26, 2008 9:00 pm   Subject: parse a "template" a second time?
hello,

can smarty parse templates a second time? i load content from a database and i want to use the include function from smarty ({include file="abc.tpl"})

content from the database ...
  Topic: Creating a community with smarty?
JOat

Replies: 0
Views: 4665

PostForum: Smarty Development   Posted: Mon Feb 11, 2008 5:30 pm   Subject: Creating a community with smarty?
Hello,

i want to redo our [url=http://www.schwarze-staedte.de/]community with smarty

i have done some small (mostly static pages) with smarty and i have done two "big" community pages ...
  Topic: Banner nur 1mal ausgeben
JOat

Replies: 1
Views: 4327

PostForum: Language: German   Posted: Fri Jun 23, 2006 12:31 am   Subject: Banner nur 1mal ausgeben
ich lasse mir per section 5 newseinträge ausgeben zwischen dem ersten und zweiten eintrag soll ein banner angezeigt werden (per funktion)

wie bringe ich smarty dazu den banner nur 1 mal anzuzeigen? ...
  Topic: Funktion im Template ausführen
JOat

Replies: 0
Views: 3742

PostForum: Language: German   Posted: Sun Jun 04, 2006 7:39 pm   Subject: Funktion im Template ausführen
hallo,

es geht um folgendes:

in einer tabelle ist ein artikel + userID abgespeichert im template müsste ich nun wenn eine userID kommt eine funktion aufrufen können die in der usertabelle nach ...
  Topic: Plugin for FCKeditor
JOat

Replies: 50
Views: 193565

PostForum: Plugins   Posted: Thu May 25, 2006 11:05 am   Subject: Plugin for FCKeditor
mmmmm i dont get the fileupload working.

the upload for PHP is enabled ...

the dir. looks like this:

FCKeditor
libs
templates
templates_c
UserFiles

the USerFiles dir. has 777 but i ca ...
  Topic: Suchergebnisse & regex_replace
JOat

Replies: 0
Views: 3969

PostForum: Language: German   Posted: Wed May 10, 2006 3:20 pm   Subject: Suchergebnisse & regex_replace
ich hab volgende ausgabe:

{$db[db].Title|truncate:32:"...":true|regex_replace:"/$search/i":"<span style=\"background:#ff0\">$search</span>"}

wobei in $search ein $_POST wert drin ist ...
  Topic: Dateistruktur header / footer / etc
JOat

Replies: 1
Views: 6244

PostForum: Language: German   Posted: Mon Feb 07, 2005 2:19 am   Subject: Dateistruktur header / footer / etc
moin....


bin gerade dabei die struktur zur umstellung von http://www.schwarzes-traunstein.de zu planen....

jetzt stellt sich die frage wie struktur am besten ist......

ich habe verschiedene ...
  Topic: Smarty-Variablen innerhalb {php}-Tags verwenden
JOat

Replies: 5
Views: 22403

PostForum: Language: German   Posted: Sun Sep 05, 2004 4:32 am   Subject: Smarty-Variablen innerhalb {php}-Tags verwenden
{foreach from=$movie item=movie}
{php}{$movie.id}{/php}
{/foreach}

das geht ja so nicht....

wie kommt ich nun im {php} {/php} and die smarty v ...
 
Page 1 of 1
All times are GMT
Jump to:  


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