There isn't a place for "site-wide" actions/views/etc.  I tend to
create them under the Default module, but you can put them anywhere
you want (as long as it's within some module).

so my site template goes in: webapp/templates/Default.php
my MenuSlotAction goes in:
webapp/modules/Default/actions/MenuSlotAction.class.php
MenuSlotSuccessView goes in:
webapp/modules/Default/views/MenuSlotSuccessView.class.php
the template goes in: webapp/modules/Default/templates/MenuSlot.php

etc..

Hope that helps,
--Bob


On 9/5/05, Greg Donald <[EMAIL PROTECTED]> wrote:
> Sorry if this is the wrong list to post my Agavi 'user' questions to,
> I didn't see a general user list.
> 
> I was reading this page:
> http://trac.agavi.org/trac.cgi/wiki/UsingDecorators learning how to
> use decorators.  I want to make a site wide view with slots for menu
> and content.  Where in my webapp directory would I put the views for
> the overall site template?  Where exactly would the menu files as
> described in the page I listed above go?  I want it so any module I
> specify could use my site wide template and menu setup.
> 
> I see after making my initial Agavi project I have webapp/templates,
> but shouldn't there also be a webapp/actions and webapp/views for site
> wide stuff?  If not where does stuff go?
> 
> Thanks,
> 
> 
> --
> Greg Donald
> Zend Certified Engineer
> MySQL Core Certification
> http://destiney.com/
> _______________________________________________
> agavi-dev mailing list
> [email protected]
> http://labworkz.com/cgi-bin/mailman/listinfo/agavi-dev
>
_______________________________________________
agavi-dev mailing list
[email protected]
http://labworkz.com/cgi-bin/mailman/listinfo/agavi-dev

Reply via email to