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 19 matches
Smarty Forum Index
Author Message
  Topic: html_image can't find images that ARE there!?
till

Replies: 13
Views: 17547

PostForum: General   Posted: Thu Feb 08, 2007 4:22 pm   Subject: html_image can't find images that ARE there!?
Use a debugger then and see where it "exists" html_image ... or edit the file directly and put in little echos or something.
  Topic: html_image can't find images that ARE there!?
till

Replies: 13
Views: 17547

PostForum: General   Posted: Thu Feb 08, 2007 3:31 pm   Subject: html_image can't find images that ARE there!?
http://smarty.php.net/manual/en/language.function.html.image.php

Maybe you need to adjust the basedir? Not sure if "DOCUMENT_ROOT" equals the location of where your website is located. Th ...
  Topic: new caching model
till

Replies: 5
Views: 8416

PostForum: General   Posted: Thu Feb 08, 2007 3:07 pm   Subject: new caching model


Yeah, I guess I forgot about page blocks.

You can call blocks anything you want. Dynamic is an example to illustrate that the content is rendered dynamic (on the fly) and not from a cache. Stat ...
  Topic: new caching model
till

Replies: 5
Views: 8416

PostForum: General   Posted: Thu Feb 08, 2007 2:40 pm   Subject: new caching model
And what the difference between {insert} and {dynamic}?

No idea what "{dynamic}" is - if it's in the manual, go read about it.
  Topic: html_image can't find images that ARE there!?
till

Replies: 13
Views: 17547

PostForum: General   Posted: Thu Feb 08, 2007 1:17 pm   Subject: html_image can't find images that ARE there!?
I am not the expert when it comes to PHP on Windows, but maybe the path should be img\foo instead of img/foo ? Just a thought.

hmm...but the live version was running off a windows server and since ...
  Topic: Databse inserting problem.
till

Replies: 3
Views: 6902

PostForum: General   Posted: Thu Feb 08, 2007 12:00 pm   Subject: Databse inserting problem.
Even though the HTML code is wrong (tables, form action?), it should work never the less. I am not sure if you really made those mistakes or if you just didn't paste the entire script.

Anyway, plea ...
  Topic: undefined offset: 1
till

Replies: 8
Views: 24920

PostForum: General   Posted: Thu Feb 08, 2007 11:55 am   Subject: Arrays 101
Just make sure that you deal with an array, when you are treating a variable like one. That's all. Undefined offset always hints at the fact that you are trying to work with a key (on an array) that d ...
  Topic: html_image can't find images that ARE there!?
till

Replies: 13
Views: 17547

PostForum: General   Posted: Thu Feb 08, 2007 11:50 am   Subject: html_image can't find images that ARE there!?
I am not the expert when it comes to PHP on Windows, but maybe the path should be img\foo instead of img/foo ? Just a thought.
  Topic: how to use {assign} function to assign dynamic value
till

Replies: 1
Views: 5069

PostForum: General   Posted: Thu Feb 08, 2007 11:49 am   Subject: Re: how to use {assign} function to assign dynamic value
This function to assign a value to a variable. But, i want to assign a custom text (build from some variable) to a variable. How to do this?

Ex:
{assign var='sString2' value=$sString1 + '=' + ...
  Topic: new caching model
till

Replies: 5
Views: 8416

PostForum: General   Posted: Thu Feb 08, 2007 11:46 am   Subject: Re: new caching model
I want to know about new caching model in Smarty which currently disigning (i hope so). Maybe Smarty designers would have some talk about integrating non-cacheable blocks and other features that will ...
  Topic: html_select_date
till

Replies: 0
Views: 5297

PostForum: Plugins   Posted: Mon Sep 11, 2006 1:11 pm   Subject: html_select_date
The html_select_date is a pretty powerful function once I figured out all parameters and how to use them, however, I ran into a smaller issue, when I reused templates in two different forms.

I intr ...
  Topic: v2.6.3, is_cached(), cache ID not accepted
till

Replies: 2
Views: 10529

PostForum: Bugs   Posted: Tue Aug 17, 2004 7:36 am   Subject: v2.6.3, is_cached(), cache ID not accepted
Ah, sorry. I feel very stupid. Sad
  Topic: v2.6.3, is_cached(), cache ID not accepted
till

Replies: 2
Views: 10529

PostForum: Bugs   Posted: Mon Aug 16, 2004 7:05 pm   Subject: v2.6.3, is_cached(), cache ID not accepted
<?php
if(!$smarty->is_cached('archiv-threads.tpl', md5($_SERVER

I thought this up to generate the IDs on the fly since I do have a lot lot different pages that get generated from this templa ...
  Topic: eval() in smarty?
till

Replies: 2
Views: 9615

PostForum: Language: German   Posted: Thu Jul 08, 2004 12:46 pm   Subject: eval() in smarty?
Genialomat. Smile Muss ich wohl ueberlesen haben! Danke fuer die Antwort.
  Topic: Verschachtelte Schleifen
till

Replies: 4
Views: 13979

PostForum: Language: German   Posted: Thu Jul 08, 2004 12:42 pm   Subject: sinngemaess
Arrays:

<?php
$user


{section name=i loop=$user}
Benutzer: {$user[i].name}<br/>
{assign name=cUser value=$user[i].id}
 ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
Jump to:  


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