Giter VIP home page Giter VIP logo

Comments (11)

martinweinmayr avatar martinweinmayr commented on June 19, 2024 1

you are welcome!
Did it worked now also for you?

from dockware.

reutli avatar reutli commented on June 19, 2024

Now I made a complete new container with dockware/dev (knowing /platform and psh.phar is missing).
Integrated the PlugIn again, activated it, and activated the theme in Admin.

tabs.html.twig is still not read in, although it's there:
www-data@0c4096fc9e32:~/html/custom/plugins/Tbcom/src/Resources/views/storefront/page/product-detail$ ls -la total 8 drwxr-xr-x 2 www-data www-data 4096 Jan 8 11:28 . drwxr-xr-x 3 www-data www-data 4096 Jan 8 11:28 .. -rw-r--r-- 1 www-data www-data 0 Jan 8 11:31 tabs.html.twig

Sure, I cleared cache (bin/console cache:clear) ;o)

Please help.

from dockware.

reutli avatar reutli commented on June 19, 2024

I'd like to push that issue, because no dev possible :o(

from dockware.

martinweinmayr avatar martinweinmayr commented on June 19, 2024

can you upload your plugin here?
i don't really think that its not working.
If your file is there and you load it properly in your plugin it should work.

from dockware.

reutli avatar reutli commented on June 19, 2024

Here we are.
Awaited reaction of front-end: Tabs are gone. But they're still there although a clean "tabs.html.twig" is loaded.
Tbcom.zip

from dockware.

martinweinmayr avatar martinweinmayr commented on June 19, 2024
  1. You have to change in your theme.json on Line 7
    "@tbcom" => "@Tbcom"
  2. you have to add a base.html.twig with
    {% sw_extends "@Storefront/storefront/base.html.twig" %}
  3. assign your theme to your saleschannel(s)

cheers

ps. this has nothing todo with dockware, this is basic shopware 6 way how themes are working.

from dockware.

reutli avatar reutli commented on June 19, 2024

Oh, then I must apologize if that was on me....!
Nevertheless, a point is not clear to me, because I have also not found in the documentation:
"you have to add a base.html.twig with
{% sw_extends "@Storefront/storefront/base.html.twig" %}"
Why and where does this need to be stored?

I didn't find this hint in the doc.
Maybe you can help me on this point?

Thanks a lot

from dockware.

martinweinmayr avatar martinweinmayr commented on June 19, 2024

Nope, but if i do not i get a error with something like "base..." not found.
So with it it works for me, as attached.
Normally i think it's not needed but i got it work with one line, so i was happy :-)
But the main goal was the Lower Uppercase typo.
If you only change this and assign your theme you will see what happens...

Tbcom.zip

from dockware.

reutli avatar reutli commented on June 19, 2024

great thanks for this outstanding support for a beginner !!!
Will try and learn ;o)

from dockware.

reutli avatar reutli commented on June 19, 2024

To my shame, I have to admit that I can't currently test it. I will test it this afternoon. Thanks again. If it does not work I would contact you again ;o)

from dockware.

reutli avatar reutli commented on June 19, 2024

it works! Thanks

from dockware.

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.