Where is this variable set with(in) php SMARTY?


I'm editing a site built with php SMARTY (template engine). I'm new to smarty, but managing OK, except for 1 thing.

I can't seem to find out where these variables (and other alike) are set:
{if $show_managment_menu == true}
{if $show_admin_menu == false}

There are a few more of these variables stated in the template to determine which parts of the menu to show to specific users. But I can't find where any of these are set. Doing a site wide search on all the files in Dreamweaver only shows these variables in 3 template files, as if they aren't set anywhere.

Where / how to start?


Ps. This is a local site.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
When I was asked to edit a SMARTY site, I couldn't find anything.  Turns out that SMARTY compiles the info into the database and runs the site from there.  As I understand it, you will never find some of the stuff by using Dreamweaver.  You have to run whatever the site / template generator is.
peps03Author Commented:
How do i do that?

The code logic should be set somewhere so it knows what to put into the database i think? The variable needs to be declared somewhere right?

I downloaded the database and did a search for these variables: also not found.

These is a template folder: "templates_c" which contains the php of the files, but i think it is compiled.
Dave BaldwinFixer of ProblemsCommented:
Since the condition of the client site is not known, you may have to do a fresh install of SMARTY on another machine and follow the directions to see how it works.  You can't simply edit anything since it expects to compile the site.  FYI... NetObjects Fusion works the same way and Microsoft's Front Page used to also.

Here http://www.smarty.net/ is the SMARTY site with lots of info.
peps03Author Commented:
I was able to edit stuff in the site's files and make it work..

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
peps03Author Commented:
it worked
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.