Setting up custom blocks

Permalink
Hello.
Im trying to learn how to make my own themes and my own custom blocks for them.
In order to start with the blocks I've looked through

https://legacy-documentation.concrete5.org/tutorials/understanding-a...
the example didnt work,
syntax error, unexpected 'Concrete' (T_STRING), expecting \\ (T_NS_SEPARATOR)

so I thought it was outdated so I looked further

and read through thesehttps://documentation.concrete5.org/developers/working-with-blocks...

at the end, there were another example which gave the exact same result as the previous.
Now, Concrete5 dosnt seem to have that useful Debuging system so I manually tried to look through the code to find anything that looked off but I cant find anything suspicious.

Do anyone know how to install a custom block and perhaps know some good resources that can be read? and I would be extraordinary happy if someone knew how to make use of the error logs in Concrete 5 XD, what file, what line etc.

 
tallacman replied on at Permalink Reply
tallacman
For blocks I would recommendhttps://www.concrete5.org/marketplace/addons/block-designer... to give you a head start on the correct coding. You can also start with the Hello World sample block available on this site.

For themes I would download a simple theme for free from the marketplace. That will give you a complete package to work with. You can then experiment with changes there.