PDA

View Full Version : Update vboption.install from template


chrisemerge
11-04-2016, 02:05 PM
I am creating a modification that adds javascript to the header.

When its first installed I have a setting called 'install' that is set to 'unregistered'.

The first time the modification is loaded into the header I want to update install to registered.

How can I update vboptions.install.

It seems {vb:set} only updates it in the template and not within the actual database.

The modification only uses an xml file right now. I would like to keep it that way if possible without having to add any more files.

Any suggestions?