HI - still new to EE and the templating system is having me lose some hair… since I’m used to just working with CI/PHP.
I see a lot of repeat usage of the weblog:entries tag to get at information of an entry in different parts of a document. Is that the intended way of doing it?
In CI I would load a weblog entry once and then just reference it in the view (template) or nested sub-templates wherever I need it. Here it feels really verbose in the template logic to make the call over and over again.
My current case is such that I use the pages module and I have a handful of templates to which the content can be rendered. As such I open the weblog:entries container once at the top of the template and close it at the bottom of the template.
Questions:
Are there performance concerns regarding repeat access to weblog:entries with the same parameters?
Is there a way to reference the ‘current’ entry in a template variable so that it can be referenced?
Thanks,
Juergen