New Landing How can we help? Atelier Colour scheme CSV import

Viewing 7 posts - 1 through 7 (of 7 total)
  • Posted in: Atelier
  • #291928
    wolfl
    Member
    Post count: 33

    I’m having problems changing the colour scheme on my site.

    When I create a new scheme and save it, it gets added to the database, but HTML-encoded with a “http://” in front of it. That scheme appears in the scheme dropdown but it’s malformed and doesn’t contain any colours.

    Equally, when I download the scheme as a CSV, edit it and upload, I get notified that the file has been saved, but the scheme does not appear in the dropdown selector. I see that this exact issue was raised a year ago on here, but the message thread wasn’t continued.

    By the way, it would be really helpful if the colour administration could be simplified, so that one can set up just a few base colours to be applied to many of the various styles. Editing all those styles separately via the customiser tool is very very time-consuming!

    Attachments:
    You must be logged in to view attached files.
    #292181
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    I logged in and try to save a testing scheme and it happened me the same.
    It isn’t normal to add that http at the beginning of the name, something is affecting it.

    Can you try to disable all plugins except Swift Framework and save again the color scheme to check if the name doesn’t contain that http?

    Thanks

    -Rui

    #292182
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Thanks for the heads up, we are able to replicate and will fix this issue for next week’s update.

    The Customiser is WordPress’ tool for the functionality, however you can adjust the csv file manually if you’d prefer to do so – once this functionality is fixed of course.

    – Ed

    #292185
    wolfl
    Member
    Post count: 33

    Thank you, I’ll wait until next week’s update before I try again. I’ll leave this topic unresolved until then as well, if that makes sense.

    #292194
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Already found the issue, if you need the fix sooner you can edit the file sf-colour-scheme.php located at atelier/includes/
    and replace the line 390

    
     $schema_name = esc_url( $_REQUEST['schema_name'] );

    by this one

    $schema_name = esc_attr( $_REQUEST['schema_name'] );

    Like Ed said, we will include this in the next update.

    -Rui

    #292196
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    My solution above will only fix the saved name issue. I’m still working in fixing the issue of the 2nd screenshot.

    -Rui

    #292198
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    So in that same file that I talked above( sf-colour-scheme.php ) around line 498 replace the line below

    echo esc_html( $html );

    by this one

    echo $html;

    All this changes will be included in the next update.

    -Rui

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register