Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.4.0.9 version not showing setting button #90

Open
langziyang opened this issue Feb 25, 2020 · 0 comments
Open

5.4.0.9 version not showing setting button #90

langziyang opened this issue Feb 25, 2020 · 0 comments

Comments

@langziyang
Copy link

langziyang commented Feb 25, 2020

This issue is about https://devs.x-cart.com/basics/working-with-settings.html (source file: https://github.com/xcart/xcart-docs/blob/master/_pages/devs_en/basics/working-with-settings.md)
5.4.0.9 version not showing setting button
this is my Main.php
`<?php
namespace XLite\Module\JinBer\AliPay;

abstract class Main extends \XLite\Module\AModule
{
public static function getAuthorName()
{
return 'langziyang';
}

public static function getModuleName()
{
    return 'AliPay';
}

public static function getDescription()
{
    return 'AliPay payment';
}

public static function getMajorVersion()
{
    return '5.4';
}

public static function getMinorVersion()
{
    return 0;
}

public static function showSettingsForm()
{
    return true;
}

}`

and my install.yaml
`XLite\Model\Config:

  • name: html_code
    category: JinBer\AliPay
    type: textarea
    orderby: 100
    value: ''
    widgetParameters: { trusted: 1 }
    translations:
    • code: en
      option_name: Put your HTML code here
      option_comment: I am comment to the option and I am here just for show that you can put some text into me
      `
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant