Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

Inexperienced Programmer needs better understanding of Twig

Started by Jim Heil 6 years ago · 5 replies · 439 views
6 years ago

Hi, I am new to Grav and relatively new to programming. I know HTML and CSS but am not a programmer. I'm finding the documentation is going over my head and I'm not sure how to develop my custom template further. Are there any tutorials out there that would help me writing Twig and also to become an expert at custom Grav Theme development?

6 years ago

Thanks! I've looked at that. I'm actually using 2.0 because I started with the tutorial on Tutsplus and that's what she was using. Would learning PHP and Symphony help me better understand Grav and Twig?

6 years ago

@jimheil,

My experience:

  • Twig: If you want to make changes to existing themes, knowledge about Twig is almost a requirement. Unless changing some config variables will do.
    And there are also Grav users who get things done solely based on questions/answers here on the forum :-)
  • PHP: You don't need to learn PHP to understand Twig, nor Grav.
    Learning PHP becomes a necessity though when you start building a Grav plugin.
  • Symfony: No, you don't need to know about Symfony. I have never looked at it myself...

Having said that, all knowledge helps, but it all depends on how deep your want to go down the rabbit hole..

6 years ago

oh thanks! I do want to learn plugins at some point.

6 years ago

@jimheil, For most common extensions to Grav, there are already plugins available. See the plugin list.

And writing your own plugin for the fun of it is also a good way to expand your scope/knowledge ;-)

Suggested topics

Topic Participants Replies Views Activity
General · by Hanns Mattes, 13 hours ago
1 16 5 hours ago
General · by Andy Miller, 6 hours ago
0 16 6 hours ago
General · by Jerry Hunt, 5 days ago
2 137 1 day ago
General · by pamtbaau, 2 days ago
1 94 2 days ago
General · by Andy Miller, 2 days ago
0 78 2 days ago