Creating the Entry Handler Template

So far into the course and we're just doing Entry templates? Yes, but all of this prep work is going to speed things up. Let's make the entries come alive!

Back in the con­trol pan­el, if we look at the sec­tions in the site, we notice that all of the sec­tions have the same entry tem­plate defined, just the tem­plate called entry, which lives in the root of the templates directory.

This is because the entry tem­plate is the han­dler tem­plate that han­dles all of the indi­vid­ual entry requests for all sec­tions in the site. Because we keep it very gener­ic, we only need to cre­ate one of those. We can cre­ate sup­port­ing tem­plates that do more spe­cif­ic implementation.

Topic
Instructor
Ryan Irelan
Level
Intermediate
Date Published
February 12, 2021
Ryan Irelan

I am the creator of CraftQuest, a web developer, and former software team manager. I spend most of my time improving CraftQuest with code and courses. When I'm not in front of the computer, I spend my time with my family, and running on the roads and trails of Austin, TX.