Using Platform Config Keys in Extensions: Difference between revisions

From osCommerce Wiki
Jump to navigation Jump to search
m (Protected "Using Platform Config Keys in Extensions" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
No edit summary
Tag: Reverted
Line 1: Line 1:
{{#seo:|title=Using Platform Config Keys in Extensions}}
{{#seo:|description=This page describes the process of using platform config keys in extensions on the osCommerce version 4.x website.}}
{{#seo:|keywords=Platform, Config, Key, Extension}}
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.
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.
[[File:Image 890.png|none|thumb|800x800px]]
[[File:Image 890.png|none|thumb|800x800px]]

Revision as of 17:04, 16 February 2023

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