Page 2 of 2

Posted: Tue Sep 18, 2007 5:07 pm
by Luke
I thought I had all this working :( I can now get it to render the right view in the right module, but when I do something like the following in my template, it can't find the correct file :(

Code: Select all

<?php echo $this->render('header.phtml'); ?> <!-- finds this because it is in views/common/_elements -->
<?php echo $this->render('menu.phtml'); ?> <!-- cant find this because it is in views/default/vendors -->

<h1>This is a template!</h1>
<p>Yay a template! w00t! I love being a template!</p>

<?php echo $this->render('footer.phtml'); ?> <!-- finds this because it is in views/common/_elements -->
(see my directory structure above)

So do I have to put it in common/default or something?