Since templates are slower than theme hooks, I'm wondering if I might be able to use them for my application. Here's what I'm trying to do:
Right now I have about 10 content types on my site and I've created a separate template file for each because I want each to have a <div>
with a specific 'id' so I can target those pages with CSS. I also give each a separate template file so I can determine on a case by if they should have a secondary sidebar or not.
Those are the only reasons I'm using all these template files.
Two Part Question:
Can what I'm trying to do be reasonably accomplished with theme hooks, and if so, how?
Since templates are slower than theme hooks
where did you get this from?node.bundle|clean_class
and build a specific id.