Variable lists and what they point to.

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Izal

Re: Variable lists and what they point to.

Post 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.
Peciura

Re: Variable lists and what they point to.

Post 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}
Izal

Re: Variable lists and what they point to.

Post 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.
Locked

Return to “CMSMS Core”