Giter VIP home page Giter VIP logo

Comments (8)

joh-klein avatar joh-klein commented on July 17, 2024

Could you please check, if this fixes it for you?

from aoe_templatehints.

winkelsdorf avatar winkelsdorf commented on July 17, 2024

Gives

Parse error: syntax error, unexpected '.' in /Users/winkelsdorf/sites/magento191.dev/app/code/community/Aoe/TemplateHints/Model/Renderer/Comment.php on line 31

Need to remove either the last point in 31 or 1st in 32.

Tested with fixed dot, looks way better 👍

Just the nested blocks are created like this

 --><!-- [START: 20] catalog.topnav

But that's ok for me. The main issue was missing some START/END blocks, that's solved now.

Edit: Don't forget to back merge your repo to keep sync with master. I usually follow the guideline from SO (http://stackoverflow.com/questions/7244321/how-to-update-github-forked-repository).

from aoe_templatehints.

joh-klein avatar joh-klein commented on July 17, 2024

Argh, sorry. Stupid mistake :) Try it like this, please.

from aoe_templatehints.

winkelsdorf avatar winkelsdorf commented on July 17, 2024

Nevermind, In my own repo I made a mess yesterday too, due to too early commits and small typos 😂

Looks way better! Just after the start block, right before the content (see bottom of the screenshot) needs one more linebreak probably? But we are both very pedantic about 😆

In line 29 of your code:

   '<!-- [START: %1$s] %4$s'."\n".'%5$s -->'.  "\n".

Edit: Yes, that works. Just add the \n there too :)

screen shot 2015-04-29 at 15 44 25

from aoe_templatehints.

joh-klein avatar joh-klein commented on July 17, 2024

How we doing now? I added another linebreak before the [END] too (just for good measure)

from aoe_templatehints.

winkelsdorf avatar winkelsdorf commented on July 17, 2024

Just tested, works perfectly fine and it's very readable now. Thank you 👍

Hopefully this patch makes it into the master repo :)

from aoe_templatehints.

fbrnc avatar fbrnc commented on July 17, 2024

Merged into master. Thank you for contributing and testing this!

from aoe_templatehints.

winkelsdorf avatar winkelsdorf commented on July 17, 2024

You're welcome, Thank you both too!

from aoe_templatehints.

Related Issues (19)

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.