Git Product home page Git Product logo

Comments (4)

akasharkbow avatar akasharkbow commented on July 25, 2024 1

Thanks for that. Some feedback for the docs for dummies like me, I would suggest a sample file with a typical code set-up. You probably need 2-3 then a quick breakdown of things. There are lots of awesome sample code through the docs but having a working sample with the <?php at the start makes it easy to work off.

Also, you mention the file location for Sage 10. For those using Sage 9 it doesn't go in the theme root directory but it goes into /resources along with the other files like function.php.

Thanks again for your help getting me back on the right path!

from intervention.

darrenjacoby avatar darrenjacoby commented on July 25, 2024

Try remove the braces { } around β€œall”, that was in the docs to illustrate a variable. I will update the docs to make that more obvious tomorrow.

from intervention.

darrenjacoby avatar darrenjacoby commented on July 25, 2024

I have renamed {role} to $role for better clarity.

from intervention.

darrenjacoby avatar darrenjacoby commented on July 25, 2024

Thanks @akasharkbow , I will create a demo file and mention the config file should be from the stylesheet directory versus root folder. Closing for now.

from intervention.

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.