Author |
Message |
Topic: Smarty Debug Console and scopes |
ne0hype
Replies: 1
Views: 3485
|
Forum: General Posted: Sun Apr 14, 2013 6:27 pm Subject: Smarty Debug Console and scopes |
Hi,
i am wondering, while i am coding my first smarty template with scope.
i am creating a data object with createData(). But the assign variables does not appear in the smarty debug console.
... |
Topic: Array Perfomance im Loop |
ne0hype
Replies: 11
Views: 22471
|
Forum: Language: German Posted: Mon Apr 08, 2013 7:20 pm Subject: Array Perfomance im Loop |
Hi
um vielleicht den Thread nochmals zu pushen..
Ich hab nun folgendes gemacht:
Ich verwende die in PHP 5 eingeführte Iterator-Klasse
<?php
/**
* @package 22-CMS 3.0
* @internal ... |
Topic: Array Perfomance im Loop |
ne0hype
Replies: 11
Views: 22471
|
Forum: Language: German Posted: Tue Jan 08, 2013 10:50 pm Subject: Array Perfomance im Loop |
Stichwort: Suchmaschinen.
Soweit ich weiß haben alle Crawler noch nicht die Möglichkeit die Seite dann zu indizieren. |
Topic: Pointing Blocks dynamic |
ne0hype
Replies: 8
Views: 12318
|
Forum: Language: German Posted: Tue Jan 08, 2013 10:49 pm Subject: Pointing Blocks dynamic |
Aber dann ist doch da nichts mehr dynamisch....
Dann ist das "gadget1" immer an die position des Blocks im index.tpl gebunden.
Ich möchte aber die Sammlung von Gadgets frei positionier ... |
Topic: Template Inheritance, using "append" "prepend |
ne0hype
Replies: 5
Views: 9928
|
Forum: Language: German Posted: Tue Jan 08, 2013 12:05 pm Subject: Template Inheritance, using "append" "prepend |
Hallo Uwe,
vielleicht kannst du mir sagen in welchen Dateien die Templates geladen und wo nach den Block-Tags gesucht wird. Vielleicht kann ich das selber umsetzten und ihr könnt es dann nachher im ... |
Topic: Pointing Blocks dynamic |
ne0hype
Replies: 8
Views: 12318
|
Forum: Language: German Posted: Mon Jan 07, 2013 10:26 pm Subject: Pointing Blocks dynamic |
Hallo Uwe,
der Grund warum ich den Block Tag nicht in das Kind-Template packt ist der, das ich das Kind-Template z.b. mal in den rechten oder in den linken Bereich haben möchte. Ich möchte also das ... |
Topic: Array Perfomance im Loop |
ne0hype
Replies: 11
Views: 22471
|
Forum: Language: German Posted: Mon Jan 07, 2013 12:03 am Subject: Array Perfomance im Loop |
Also ich finde das Problem gar nicht so trivial.
Ich selber verwendete auch die 1. Variante wenn ich mehrere Daten aus der Datenbank an Smarty übergeben will.
Praktisch wäre es wenn Smarty eine ... |
Topic: Template Inheritance, using "append" "prepend |
ne0hype
Replies: 5
Views: 9928
|
Forum: Language: German Posted: Sun Jan 06, 2013 11:46 pm Subject: Template Inheritance, using "append" "prepend |
Hello again.
perhaps i did not express myself properly...
relative to that post: http://www.smarty.net/forums/viewtopic.php?t=23956
i have that content block in the main template (index.tpl)
... |
Topic: Pointing Blocks dynamic |
ne0hype
Replies: 8
Views: 12318
|
Forum: Language: German Posted: Sun Jan 06, 2013 11:36 pm Subject: Pointing Blocks dynamic |
Hello,
thanks fo your answer...
but the main problem is that the script have to get the gadget template source every time to find the compiled file
for example:
$foo = '{block name=gadg ... |
Topic: Pointing Blocks dynamic |
ne0hype
Replies: 8
Views: 12318
|
Forum: Language: German Posted: Sun Jan 06, 2013 12:59 pm Subject: Pointing Blocks dynamic |
Hi guys,
it's me again...
i have a pagelayout like this:
http://img546.imageshack.us/img546/6615/pagelayout.gif
i have some, i call it "gadgets". that are small templatefiles. f ... |
Topic: Template Inheritance, using "append" "prepend |
ne0hype
Replies: 5
Views: 9928
|
Forum: Language: German Posted: Sun Jan 06, 2013 12:44 pm Subject: Template Inheritance, using "append" "prepend |
Hello guys,
is it possible to use the append or prepend tag in the php script (smarty api)?
such like this:
$this->smarty->display('extends:file:foo.tpl|file:append ... |
Topic: Template inheritance |
ne0hype
Replies: 0
Views: 2874
|
Forum: General Posted: Fri Jul 06, 2012 10:57 pm Subject: Template inheritance |
Hi guys,
i experimenting a little bit with the template inheritance in smarty.
because, i am a lazy boy, i didnt want to add in all of my templates the {block} attribute in the head of the file. ... |
Topic: Verständnis des Scopes |
ne0hype
Replies: 2
Views: 5425
|
Forum: Language: German Posted: Sun May 09, 2010 12:22 pm Subject: Verständnis des Scopes |
Und wie gebe ich ein ge"fetches" Template nachher in einem anderen Template aus?
$data = $smarty->createData(); // create root data object
$data->assign('scope', 'ich ... |
Topic: Verständnis des Scopes |
ne0hype
Replies: 2
Views: 5425
|
Forum: Language: German Posted: Sat May 08, 2010 12:05 pm Subject: Verständnis des Scopes |
Hallo an alle,
ich bin noch nicht ganz hinter die Thematik des Scopes in Smarty 3 gestiegen.
Was ist genau Ziel dieser Eigenschaft?
Und weiter...
wenn ich jetzt einen weiteres Daten-Obj an ... |
|