Giter Club home page Giter Club logo

Comments (5)

CatalinRobert avatar CatalinRobert commented on June 5, 2024 1

Hey. Sorry to interrupt. I suppose I found another issue.
When I enter Settings->Themes->Edit default theme(static content)->error atttached.
image
Please be aware that I have the latest code, and all what I have changed in bagisto was the currency. (in mysql I have utf8mb4_unicode_ci). Thank you!

from bagisto.

phyothiha avatar phyothiha commented on June 5, 2024 1

@CatalinRobert

When I create a new theme slider carousel it's not displayed on dashboard. In table theme_customizations I have the record I created. If I edit the url /admin/settings/themes/edit/{id} I can see the theme...

When a user creates a new theme, after success, the system is redirected to the edit page, and there are two options.

Save

UI

  1. Fill required field(s) or add new row like (image_carousel, services_content) type and save.
  2. Created theme will appear in the datagrid.

Backend

  1. Creating theme data will insert into theme_customizations table.
  2. Editing the theme by filling required field(s) or adding new row data will insert into theme_customization_translations table.

Back

UI

  1. Created theme will not appear in the datagrid

The reason is...

The query is joining two tables (theme_customizations and theme_customization_translations). If the user did not edit the theme, there is no row for theme_customizations in theme_customization_translations table. If you are curious, check prepareQueryBuilder() method in this packages/Webkul/Admin/src/DataGrids/Theme/ThemeDatagrid.php file.

from bagisto.

suraj-webkul avatar suraj-webkul commented on June 5, 2024 1

Hi CatalinRobert,
This issue has already been fixed by this PR, and there is a minor issue. After creating the theme and not updating, the theme was not appearing into the datagrid. Now it's fixed by this PR.

from bagisto.

ashishkumar-webkul avatar ashishkumar-webkul commented on June 5, 2024

@suraj-webkul
Checked and Found that the Inactive State Entry is appearing in the Datagrid now.

Video

Fixed.mp4

from bagisto.

ashishkumar-webkul avatar ashishkumar-webkul commented on June 5, 2024

Checked and Found that the issue has been fixed and PR have been merged hence I am closing the issue from here, please check the video for reference.

Video

Videos.mp4

from bagisto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.