why is record.twig important in bolt CMS ?
Posted: Fri Jan 01, 2016 10:33 am
I was just going through this tutorial HERE http://www.sitepoint.com/using-boltcms- ... s-website/ , if you scroll past half the page you'll find the following section:
Retrieving Content From Database Records
The author says the following:
can somebody explain ?
Thank you.
Retrieving Content From Database Records
The author says the following:
I am not quite understanding the above explanation, why is record.twig important and why will an error be throw ??By default, Bolt looks for a record.twig template file to output the “record”, or the contenttype entry. If we preview that testimonial we just created, we’ll get an error thrown at us telling us that Bolt tried to use record.twig, and it doesn’t exist. Let’s create that and throw in some dummy content:
can somebody explain ?
Thank you.