The standard way of doing it is to create a page called index.dryml under
view directory for the particular controller.
You can completely redo the page in that file or you can call
<index-page></index-page> and within that tag, pass parameters to override
appropriate sections of the page (see the one generated in pages.dryml). Eg:

<index-page>
  <content-body:>
    Lots of clever stuff
  </content-body:>
</index-page>

I think what you may be doing is extending the base version of the
index-page tag which is polymorphic so I'm not sure what should happen.

Regards
Ritchie

On Mon, Aug 24, 2009 at 5:29 AM, MichelV69 <[email protected]> wrote:

>
> I'm working on my first serious Hobo project.  I need to completely
> change the behavior of the "index" for one of my views.  Easy enough,
> I would think.
>
> I have added an "index" method to the controller with the extra bits I
> need.  I can see by MySQL logs that all queries I expect to fire are
> firing.
>
> In my application.dryml, I've added the appropriate "extend tag='index-
> page'" with a simple draft of the mechanism I need.
>
> Mongrel returns no errors, but instead of seeing my content I get "The
> page you were looking for could not be found".
>
> If I introduce an error into the index-page code in application.dryml
> and refresh my browser, Mongrel spits up debugging as I would expect.
> So, I know that is -is- in fact processing that tag and my routing is
> correct.
>
> Does anyone have any ideas about what I might be doing wrong here?
>
> >
>


-- 
Ritchie Young

Email: [email protected]
Mobile: 0412 210415
Skype: ritchiey71

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to