Using Platform Config Keys in Extensions: Difference between revisions

From osCommerce Wiki
Jump to navigation Jump to search
(Created page with "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 '''Ne...")
 
m (Protected "Using Platform Config Keys in Extensions" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
(One intermediate revision by the same user not shown)
Line 1: Line 1:
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]]
Under '''Common''' tab check '''Use platform config keys''' option and click on Next button.
Under '''Common''' tab check '''Use platform config keys''' option and click on '''Next''' button.
[[File:Image 889.png|none|thumb|800x800px]]
[[File:Image 889.png|none|thumb|800x800px]]
Under '''Advanced''' tab click on '''Generate''' button to generate the zip file with the extension.
Under '''Advanced''' tab click on '''Generate''' button to generate the zip file with the extension.

Revision as of 16:09, 14 November 2022

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