From: Justin T. <jus...@gm...> - 2008-10-14 00:19:11
|
I'm trying to familiarize myself with how the entity pages are assembled. To start with, I'm trying to understand how the new entity page works. I've followed the instructions on adding fields<http://wiserplatform.org/documentation/index.php?title=Adding_fields_to_an_entity>successfully. This is what I've got so far: /wiser_platform/apps/frontend/templates/layout.php is the master template with contains a variable called '$content'. >From what I can tell the value of '$content' is populated by: /wiser_platform/apps/frontend/modules/<entity>/templates/common/newSuccess.php I can't figure out where/how '$content' gets populated by the code in newSuccess.php. Something must be weaving these two pieces together. Right now all entities share the common template ('newSuccess.php') but I need to tweak my install so each entity will use their own version of newSuccess.php because I'm adding questions and sustainability indicators that are unique to each entity. thx Justin |