View Single Post
  #1  
Old 04 Nov 2016, 16:05
chrisemerge chrisemerge is offline
 
Join Date: May 2016
Update vboption.install from template

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?
Reply With Quote