Question: Is there a way to set a config. variable.
for example. I want to set the following var:
<%set config.review_enabled = "Yes'"%> So I can turn on and turn of the reviews. But when I do this, the build all process actually writes the value to the config/data.pm file as a scalar reference so the next time I go or use this tag <%Links::Config::load_vars%> I get this error message:
Modification of a read-only value attempted at GT::CGI::html_escape line 570.
The value that was stored in the config file looks like this:
'review_enabled' => \'Yes',
The thing is, I want this variable saved in the config file.
Anway to accomplish that?
thanks.
for example. I want to set the following var:
<%set config.review_enabled = "Yes'"%> So I can turn on and turn of the reviews. But when I do this, the build all process actually writes the value to the config/data.pm file as a scalar reference so the next time I go or use this tag <%Links::Config::load_vars%> I get this error message:
Modification of a read-only value attempted at GT::CGI::html_escape line 570.
The value that was stored in the config file looks like this:
'review_enabled' => \'Yes',
The thing is, I want this variable saved in the config file.
Anway to accomplish that?
thanks.