Last night i've played again with the Theme vars.
For me, theme vars controls many things of your theme if you want, and are usable by the Theme, so i don't understand the problem.:
I think the problem (if it is a bug) lies in how the existing variables are being read into a variable
In the '
BlankTheme', i need to make easy to select the theme-vars default values.
The possible values are limited, so i can make a SELECT list.
Here's an example of two theme-vars definitions (themevariables.ini):
[variables]
template = grid
layout = crl
[template]
type = select
values = 2col,3col,grid
output = 2 columns,3 columns,grid
[layout]
type = select
values = c,lc,cr,lcr
output = center,left-center,center-right,left-center-right
So, when i go to edit the Theme Variables in the Admin Panel, it shows me a SELECT list, with the output text options, and the values defined for each one.
I guess it's intuitive that if i add a new variable, and i desire to make it "private" (non-editable), i can have a definition like:
[variables]
privatevar = myNonEditableValue
[privatevar]
editable = 0
Now 'privatevar' can't be editable from the Theme Admin Panel.
So, what's your point?
what do you want to do with Theme vars?
or what's the conflict? a Theme var is overriding a module-assigned var?
you don't want to have the variables in all the templates just in some sections?
see ya!
edited by: nestormateo, Feb 02, 2008 - 04:38 PM
--
-
Mateo T. -
Mis principios... son mis fines