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 11 matches
Smarty Forum Index
Author Message
  Topic: $smarty->config_load(...)
jav664

Replies: 2
Views: 4909

PostForum: General   Posted: Wed Feb 17, 2021 6:43 am   Subject: $smarty->config_load(...)
mhhh...my mistake.

with

new SmartyBC

it works as expected.
  Topic: $smarty->config_load(...)
jav664

Replies: 2
Views: 4909

PostForum: General   Posted: Tue Feb 16, 2021 9:04 pm   Subject: $smarty->config_load(...)
smarty 2

in php i use:

$smarty->config_load()

with smarty 3 i got the error

Uncaught --> Smarty: Smarty->config_load() undefined method

any ideas?
  Topic: Will Smarty2 work with php8?
jav664

Replies: 9
Views: 11105

PostForum: General   Posted: Tue Feb 16, 2021 8:56 pm   Subject: Will Smarty2 work with php8?
smarty 3 runs smoothly under PHP8.
  Topic: Uncaught --> Smarty: Unable to load template
jav664

Replies: 2
Views: 17198

PostForum: Installation and Setup   Posted: Fri Mar 10, 2017 11:35 am   Subject: Uncaught --> Smarty: Unable to load template
I need a small hint.

whats going wrong?
  Topic: Uncaught --> Smarty: Unable to load template
jav664

Replies: 2
Views: 17198

PostForum: Installation and Setup   Posted: Thu Mar 09, 2017 10:31 pm   Subject: Uncaught --> Smarty: Unable to load template
i have smarty 3.1.30 and a problem
here are the tests with $smarty->testInstall();


Smarty Installation test...

Testing template directory...
I:\_htdocs\shop\templates\darktheme is OK.

...
  Topic: dateien in "templates_c" werden zig-mal erstellt
jav664

Replies: 0
Views: 4829

PostForum: Language: German   Posted: Sat Feb 09, 2013 3:22 pm   Subject: dateien in "templates_c" werden zig-mal erstellt
hallo community...bei einem, und nur bei einem, meiner projekte tritt folgendes auf - nicht ganz einfach zu erklären:

beim aufruf der seite werden die template dateien zig mal hintereinander erstel ...
  Topic: smarty-first steps: statt foreach auf eine variable gezielt
jav664

Replies: 5
Views: 8640

PostForum: Language: German   Posted: Sat Mar 05, 2011 6:52 pm   Subject: smarty-first steps: statt foreach auf eine variable gezielt
{$Artikel->Attribute[0]->cName}

so gehts.
  Topic: smarty-first steps: statt foreach auf eine variable gezielt
jav664

Replies: 5
Views: 8640

PostForum: Language: German   Posted: Sat Mar 05, 2011 6:44 pm   Subject: smarty-first steps: statt foreach auf eine variable gezielt

->Attribute = Array (1)
0 => stdClass Object (3)
->nSort = "1"
->cName = "farbe"
->cWert = "0"



vielleicht trä ...
  Topic: smarty-first steps: statt foreach auf eine variable gezielt
jav664

Replies: 5
Views: 8640

PostForum: Language: German   Posted: Fri Mar 04, 2011 6:16 pm   Subject: smarty-first steps: statt foreach auf eine variable gezielt
{foreach name=Attribute from=$Artikel->Attribute item=Attribut}

<p><b>{$Attribut->cName}:</b> {$Attribut->cWert}</p>

...
  Topic: smarty-first steps: statt foreach auf eine variable gezielt
jav664

Replies: 5
Views: 8640

PostForum: Language: German   Posted: Fri Mar 04, 2011 6:12 pm   Subject: smarty-first steps: statt foreach auf eine variable gezielt
exakt.

allerdings hat das array nur einen eintrag...bis jetzt.
  Topic: smarty-first steps: statt foreach auf eine variable gezielt
jav664

Replies: 5
Views: 8640

PostForum: Language: German   Posted: Fri Mar 04, 2011 5:32 pm   Subject: smarty-first steps: statt foreach auf eine variable gezielt
hallo community,

ich bin neu in sachen smarty und hänge gleich mal fest.

hier, dieser codeschnipsel:


{foreach name=Attribute from=$Artikel->Attribute item=Attribut}

& ...
 
Page 1 of 1
All times are GMT
Jump to:  


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