Using Platform Config Keys in Extensions

From osCommerce Wiki
Revision as of 16:09, 14 November 2022 by Admin (talk | contribs) (Protected "Using Platform Config Keys in Extensions" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

If you create an extention using the extension generator tool (https://generator.tllab.co.uk/) under General tab fill in the required fields and click on the Next button.

Image 890.png

Under Common tab check Use platform config keys option and click on Next button.

Image 889.png

Under Advanced tab click on Generate button to generate the zip file with the extension.

Image 888.png

If we open the Setup file for this extension we will see that the only difference between platform config keys and config keys is one additional line for platform config keys.

Image 887.png

Then unpack this zip file in the required place and insall this extension from the admin area.

Image 886.png

While installing this extention you can see that the platform settings are applied to this extension and they include the information about the config keys. If there are more than one platform these settings will be applied to each platform separately.

Image 891.png