|
|
(One intermediate revision by one user not shown) |
Line 50: |
Line 50: |
| |} | | |} |
| {| | | {| |
− | |style="padding: 0px 0px 10px 15px;"|'''2. In the downloaded file you might find one or two packages that support different PHP versions.'''<br/> | + | |style="padding: 0px 0px 15px 15px;"|'''2. Extract the package and upload its content into the main WHMCS directory. <br/> |
− | In the most recent versions of the module, you will find only one package that supports PHP 7.1 and later.<br/> <!-- If you need a package for the previous versions of PHP, please [https://www.modulesgarden.com/support/ticket/general-support contact our support]. -->
| + | |
− | |}
| + | |
− | {|
| + | |
− | |style="padding: 0px 0px 20px 25px;"|[[File:PHP71_74.png]]
| + | |
− | |}
| + | |
− | {|
| + | |
− | |style="padding: 0px 0px 15px 15px;"|'''Previous updates of the module may contain two packages dedicated to various PHP versions.'''<br/>
| + | |
− | The first one that supports PHP 5.6 up to PHP 7.0, and the second one addressed to PHP 7.1 up to PHP 7.3.<br/>
| + | |
− | '''''Note:''' Keep in mind that PHP versions 5.6 up to 7.0 are no longer officially supported and their security issues are not fixed or released any more. Find more info [http://php.net/supported-versions.php here].''
| + | |
− | |}
| + | |
− | {|
| + | |
− | |style="padding: 0px 0px 20px 25px;"|[[File:PHP56_73.png]]
| + | |
− | |}
| + | |
− | {|
| + | |
− | |style="padding: 0px 0px 10px 15px;"|'''Note''': You can check the current PHP version in your WHMCS. To do so, proceed to ''' 'Utilities' → 'System' → 'PHP Info'.'''
| + | |
− | |}
| + | |
− | {|
| + | |
− | |style="padding: 0px 0px 15px 15px;"|'''3. Extract the package and upload its content into the main WHMCS directory. <br/>
| + | |
| The content of the package to upload should look like this. | | The content of the package to upload should look like this. |
| |} | | |} |
Line 75: |
Line 57: |
| |} | | |} |
| {| | | {| |
− | |style="padding: 0px 0px 15px 15px;"|'''4. If you want to slightly adjust the final look of the widget, open the '' 'widgetConfig.json' '' file located at ''/modules/widgets/ModulesGardenProducts'' directory. <br/> | + | |style="padding: 0px 0px 15px 15px;"|'''3. If you want to slightly adjust the final look of the widget, open the '' 'widgetConfig.json' '' file located at ''/modules/widgets/ModulesGardenProducts'' directory. <br/> |
| * '''priority''' - define the widget priority among other widgets - the lower the number, the higher the widget will be located on the dashboard.<br/>'''''Note 1:''' Refer to [[#Tips|Tips]] section point 3 to learn how to define priorities in WHMCS.''<br/> '''''Note 2:''' WHMCS 7.7. supports the "Drag&Drop" feature so if you are using this version or any later, you do not need to set the position in the file, but simply move the widget on the dashborad.'' | | * '''priority''' - define the widget priority among other widgets - the lower the number, the higher the widget will be located on the dashboard.<br/>'''''Note 1:''' Refer to [[#Tips|Tips]] section point 3 to learn how to define priorities in WHMCS.''<br/> '''''Note 2:''' WHMCS 7.7. supports the "Drag&Drop" feature so if you are using this version or any later, you do not need to set the position in the file, but simply move the widget on the dashborad.'' |
| * '''productListHeight''' - define the widget list of products length - you may decide how many products will be visible, the rest of them will appear when you scroll down. The value is provided in pixels. <br/> | | * '''productListHeight''' - define the widget list of products length - you may decide how many products will be visible, the rest of them will appear when you scroll down. The value is provided in pixels. <br/> |