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: urgent object array question!!
rob ganly

Replies: 4
Views: 6982

PostForum: General   Posted: Thu Jun 02, 2005 1:39 pm   Subject: urgent object array question!!
>>You can access methods if they exist:

yay- i'd just left the brackets off of my method call so it didn't work- works now though!!!

cheers,

happy rob ganly
  Topic: urgent object array question!!
rob ganly

Replies: 4
Views: 6982

PostForum: General   Posted: Thu Jun 02, 2005 1:33 pm   Subject: urgent object array question!!
thanks mort- got it working now like this:

{foreach key=key item=asset from=$obArr}
<br /><br /> <u>Asset </u>{$key}
<br />title : {$asset->title}
<br / ...
  Topic: urgent object array question!!
rob ganly

Replies: 4
Views: 6982

PostForum: General   Posted: Thu Jun 02, 2005 1:10 pm   Subject: urgent object array question!!
hi all,

ok, so i've successfuly passed an array of objects to a template (as the debug screen is telling me).

now i simply need to be able to loop through the array and on each iteration call a ...
  Topic: How to retrieve the querystring?
rob ganly

Replies: 6
Views: 12657

PostForum: General   Posted: Thu May 26, 2005 12:26 pm   Subject: How to retrieve the querystring?
is it definately in a template file? i'm not sure then, never used it but according to the documentation it should work
  Topic: Smarty Sample Application
rob ganly

Replies: 65
Views: 502851

PostForum: General   Posted: Thu May 26, 2005 10:36 am   Subject: Smarty Sample Application
i'm liking the guestbook app- it has helped me lots... i have noticed however that there are not that many sample smarty apps with available source code around.

i'd love to see more to see how peop ...
  Topic: How to retrieve the querystring?
rob ganly

Replies: 6
Views: 12657

PostForum: General   Posted: Thu May 26, 2005 10:27 am   Subject: How to retrieve the querystring?
hi aubrey,

think you can use:

{$smarty.get.user}

rob ganly
  Topic: Smarty class/function reference is here
rob ganly

Replies: 13
Views: 33606

PostForum: Smarty Development   Posted: Thu May 26, 2005 10:15 am   Subject: Smarty class/function reference is here
looks like it..
  Topic: jump menu dropdowns
rob ganly

Replies: 4
Views: 11275

PostForum: Smarty Development   Posted: Thu May 26, 2005 10:13 am   Subject: jump menu dropdowns
thanks a lot for for the reply mohrt, however it is only the function that is in literal braces. the call to the function, i.e.:

<select name="blah" onChange="MM_jumpMenu('parent',this,0,'{$SCR ...
  Topic: jump menu dropdowns
rob ganly

Replies: 4
Views: 11275

PostForum: Smarty Development   Posted: Wed May 25, 2005 12:51 pm   Subject: jump menu dropdowns
hi- i solved the above problem by using javascript in the {literal} tag and calling it from within the select tag definition (don't need to touch the html_options function) however i have one more ann ...
  Topic: jump menu dropdowns
rob ganly

Replies: 4
Views: 11275

PostForum: Smarty Development   Posted: Wed May 25, 2005 10:02 am   Subject: jump menu dropdowns
hi all,

i really need to be able to do jump menus in my templates (i.e dropdowns where on select you are redirected to a diff page/section).

i'm pretty sure that i could do this by putting the j ...
 
Page 1 of 1
All times are GMT
Jump to:  


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