Page 2 of 2

Re: Variable lists and what they point to.

Posted: Sun Mar 14, 2010 7:17 pm
by Izal
Thanks, I shall look in to your suggestions, I have been going through the site codebase looking to see what or if any useful clues can be gained and I did find that some $smarty variables have been set in the site code and thought I would try them. Seems that they either produce an erro, contain nothing or output a string.

The odd thing is that the errors with the $smarty vars that have been set state that the property is not set ?!?!?! When I have seen the $smarty->assign(  "blah" , "something_var" ) set, but accessing it using $smarty.blah produces unexpected results.

So I will back burner that idea for now and see what happens with the new information.

Re: Variable lists and what they point to.

Posted: Sun Mar 14, 2010 8:08 pm
by Peciura
I have seen the $smarty->assign(  "blah" , "something_var" ) set, but accessing it using $smarty.blah produces unexpected results.
You should use

Code: Select all

{$blah}

Re: Variable lists and what they point to.

Posted: Mon Mar 15, 2010 12:28 pm
by Izal
Thank you, that has helped me out.

I can actually do something in the template with that information as well.

It turns out that $friendly_position is what I really need.

Once again, many thanks.