I’ve tried look on the internet for the answer, but it is very hard to find anything near what I need.
Do you people can help me understand what is best way to fetch some date form an entity (for example, a node, a product, etc) and send to the frontpage template?
For example: I have a custom theme that I will create a new template html–front or something similar. Then I want to fetch some data and send to this template.
Most examples on the internet simply create a new page and go to the admin interface to change the default homepage to the new page created. I don’t want to do this, I want to know what is the best way to not change the page, and send some new data to it.
Thanks for the help.