Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 7 matches
Smarty Forum Index
Author Message
  Topic: Is it possible access conf variables within insert function?
totoole

Replies: 2
Views: 2978

PostForum: General   Posted: Fri Sep 02, 2005 10:19 pm   Subject: Is it possible access conf variables within insert function?
Thanks. get_config_vars was just what I needed.
  Topic: Is it possible access conf variables within insert function?
totoole

Replies: 2
Views: 2978

PostForum: General   Posted: Fri Sep 02, 2005 6:10 pm   Subject: Is it possible access conf variables within insert function?
I'm working on an insert function that would return the results of an mysql query. Does anyone know how to access the smarty config variables I've set up from within that function?
  Topic: thanks!
totoole

Replies: 0
Views: 1996

PostForum: General   Posted: Fri Apr 08, 2005 12:49 am   Subject: thanks!
I got my code working. Like a charm. Too simple really.
  Topic: using smarty with xml
totoole

Replies: 10
Views: 17893

PostForum: General   Posted: Thu Apr 07, 2005 7:56 pm   Subject: sample template?
The foreach syntax is not so easy for me to grasp. What would the template look like that iterated over a simplexml object?

{foreach from=$xmlobject item=item}
<p>$item->node->value ...
  Topic: using smarty with xml
totoole

Replies: 10
Views: 17893

PostForum: General   Posted: Sun Apr 03, 2005 6:54 pm   Subject: Smarty simplexml help
I am trying to use {foreach} to iterate through a PHP simplexml object, without success. Can anyone show me a template that does this? Thanks in advance.
  Topic: $smarty.request.username vanishing
totoole

Replies: 0
Views: 2983

PostForum: General   Posted: Sat Jan 17, 2004 2:32 pm   Subject: $smarty.request.username vanishing
The following code works to display "Sign out" after a user has successfully signed in -- but as soon as a user clicks off this page, the $smarty.request.username variable seems to vanish and all rema ...
  Topic: Multi-page forms
totoole

Replies: 2
Views: 6817

PostForum: Smarty Development   Posted: Mon Nov 10, 2003 5:12 pm   Subject: Multi-page forms
I am looking for a quick solution to making multi-page forms work with smarty. Will I have to write it myself, or is there a class available out there? Thanks in advance for any help anyone cares to o ...
 
Page 1 of 1
All times are GMT
Jump to:  


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