1
cgibb1014
Where do you assign values to variables?
  • 2005/10/8 4:09

  • cgibb1014

  • Just popping in

  • Posts: 12

  • Since: 2005/7/10


This might seem like a really dumb question but I'm not that familiar with php or smarty or the XOOPS structure.

All the php files that I've looked at have tons of variables like $xoops_sitename but I can't find where you can assign an actual value to the variables. The values always seem to be picked up from other variables.

Is there a central file or table or someplace where you can assign values to these global variables all at once without having to hardcode strings or values into each location where the variable is used?

When I did a lot of programming in the past we always had a way to make the change in one place, like by importing a file or running a module whose sole function was to initialize variables. But I haven't found it in XOOPS yet and all my searches of the support forums have been fruitless.

This has got to be a simple thing to do. Can anybody tell me where I do it?

Thanks.

Login

Username:
Password:

Lost Password? Register now!

Who's Online

57 user(s) are online (31 user(s) are browsing Support Forums)


Members: 0


Guests: 57


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jun 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits