Author |
Message |
Topic: Smarty 3.0: initial discussion |
swapo
Replies: 172
Views: 535769
|
Forum: Smarty Development Posted: Thu Jul 13, 2006 4:07 pm Subject: Smarty 3.0: initial discussion |
edited... content comes back soon |
Topic: Frames und Smarty |
swapo
Replies: 7
Views: 12511
|
Forum: Language: German Posted: Tue Jul 11, 2006 4:22 pm Subject: Frames und Smarty |
Als Beispiel würde ich z.B. das Backend von Typo3 anführen. Wenn man sehr lange Seiten- oder Dateibäume hat, ist es nervig, wenn man bei jeder Änderung neu an die entsprechende Stelle scrollen muss.
... |
Topic: Welcher PROVIDER unterstützt SMARTY?? |
swapo
Replies: 4
Views: 7917
|
Forum: Language: German Posted: Tue Jul 11, 2006 4:07 pm Subject: Welcher PROVIDER unterstützt SMARTY?? |
Smarty sollte wirklich praktisch überall laufen können, da es keine besonderen Abhängigkeiten etc. hat.
Wenn bei deinem Hoster Typo3 läuft, stellt Smarty definitv kein Problem dar.
Dein Hoster kan ... |
Topic: Smarty 3.0: initial discussion |
swapo
Replies: 172
Views: 535769
|
Forum: Smarty Development Posted: Tue Jul 11, 2006 3:57 pm Subject: Smarty 3.0: initial discussion |
@deixu
I'm very interested and glad if you'd let me have a look.
I wrote a more general API suggestion several months ago. Perhaps I could combine that with your stuff.
@cameron_m | the xml ide ... |
Topic: problem mit include_php |
swapo
Replies: 9
Views: 13965
|
Forum: Language: German Posted: Tue Nov 08, 2005 9:44 pm Subject: problem mit include_php |
Ich hab's jetzt mehrmals gelesen, verstehe es aber nicht. Welche Variable wird
nicht übergeben? Was versuchst Du zu plotten? |
Topic: problem mit include_php |
swapo
Replies: 9
Views: 13965
|
Forum: Language: German Posted: Tue Nov 08, 2005 2:58 pm Subject: problem mit include_php |
Dann weise das zu.
Um einen doppelten Slash in den Pfaden zu vermeiden, kannst Du die Variable
beim Include auch in Backticks setzen.
{include_php file="`$sb_include_path`index.php&qu ... |
Topic: problem mit include_php |
swapo
Replies: 9
Views: 13965
|
Forum: Language: German Posted: Tue Nov 08, 2005 1:38 pm Subject: problem mit include_php |
Vermutlich kannst Du den include_path einmal vorweg angeben.
<?php
$smarty = new Smarty();
$smarty->assign('sb_include_path', 'sb');
?>
{include_php file="$sb_include_path/ ... |
Topic: Smarty 3.0: initial discussion |
swapo
Replies: 172
Views: 535769
|
Forum: Smarty Development Posted: Mon Nov 07, 2005 12:20 pm Subject: Smarty 3.0: initial discussion |
@Swatinem
That's what I meant when I was writing about a meta format.
@Razor's Edge UK
Of course you can work around missing PHP5 functions. But the OOP features aren't
really portable back to P ... |
Topic: Has anybody written any code to detect mobile device |
swapo
Replies: 1
Views: 9670
|
Forum: Smarty Development Posted: Mon Nov 07, 2005 12:03 pm Subject: Has anybody written any code to detect mobile device |
No,
but that's not the way I'd go. There are too many possible UAs and resolutions.
Build semantic (as semantic as possible) HTML without embedded layout information
instead and layout it with CSS. ... |
Topic: Smarty 3.0: initial discussion |
swapo
Replies: 172
Views: 535769
|
Forum: Smarty Development Posted: Sun Nov 06, 2005 9:21 pm Subject: Smarty 3.0: initial discussion |
Uhm,
although it may be a nice usage for smarty, I think it's nothing for the core.
But if the new API is finished, it might become quiet easy to build a set of plugins
that turn smarty into a pure ... |
Topic: How to assign echoed data? |
swapo
Replies: 2
Views: 4995
|
Forum: General Posted: Wed Nov 02, 2005 8:54 pm Subject: How to assign echoed data? |
Two possibilities:
1. Put the titles together into one string and assign that string.
2. Put the titles into an array, assign that array and loop through it in the template.
I'd prefer the seco ... |
Topic: Smarty 3.0: initial discussion |
swapo
Replies: 172
Views: 535769
|
Forum: Smarty Development Posted: Tue Nov 01, 2005 6:24 pm Subject: Smarty 3.0: initial discussion |
Sounds good. I'd like to set up a 5.1RC system too but I'm short of time. That's
the reason I haven't answered yet.
I think we're getting to the interesting part: making Smarty as abstract as poss ... |
Topic: thumb plugin error |
swapo
Replies: 11
Views: 17095
|
Forum: Plugins Posted: Tue Nov 01, 2005 9:37 am Subject: thumb plugin error |
The undefined indexes are easy to fix. Just have a look at the undefined "dev" above
and do the same with "offset_w". |
Topic: change include command in compiled template |
swapo
Replies: 8
Views: 11019
|
Forum: General Posted: Mon Oct 31, 2005 9:50 am Subject: change include command in compiled template |
Uhhm... okay, I guess you've got a real good reason, why you're unable to touch
the templates.
You could change the fetch method of Smarty, but I'd call that an ugly hack.
Warning: I haven't test ... |
Topic: change include command in compiled template |
swapo
Replies: 8
Views: 11019
|
Forum: General Posted: Sun Oct 30, 2005 10:11 pm Subject: change include command in compiled template |
Uhm, isn't that what I suggested above?
$smarty->assign('includeTpl', true); // or false
$smarty->display('main.tpl')
{if $includeTpl}
{include file="1.tpl"} ... |
|