View Single Post
  #2  
Old 01-05-2004, 02:43 PM
 
NuAlpha NuAlpha is offline
 

X-Adept
  
Join Date: Aug 2003
Location: US
Posts: 598
 

Default

Somehow, and for no apparent reason, the problem has stopped giving me the "non-object" error after I 'required' the Smarty.class.php, but any attempt to reload my pages after a change in the template says I can't redeclare a certain variable (sorry, forget name).

Also, I still cannot get variables created in a PHP document to pass into a Smarty template. Any PHP variables or Smarty variables created in a PHP document always contain nothing when inside a template. Variables I assign in a template also don't hold their data no matter what I put in them using the syntax ->
Code:
{assign var="foo" value="bar"}

This is most frustrating.

If anyone can please enlighten me as to what is going on I would appreciate it.
Reply With Quote