Re: [Radiant] Use sub folder url with share_layouts

2008-12-15 Thread Chris Parrish
Hello Vincent.  I've been working with ShareLayouts a bit recently, 
maybe I can help.  Can you give more details, though?


I'd like to know:

   * Are you using the latest version of ShareLayouts from GitHub?
   * Can you provide your route(s)?
   * Can you provide any of your actions/views (enough to show what's
 using what).
   * It sounds like you're using an Application Page in Radiant with
 the URL of /project/ is this correct? Is there anything fancy
 there?  Do you have an Application Page at /project/list too?

-Chris

Vincent Pérès wrote:

Hello,

I'm using share_layouts in a page '/project' which is using a layout
'Content'.
I created an extension, with routes, controllers etc. to map the project
page.
Everything is working, the 'part' is display thanks to the layout.

Then, I created a new page '/project/list'. I maped it again etc., but
the final display is strange : I got the content of the 'project' page
(only from database not from my view), the content of my new page and
the view of my new page.
In fact the normal page + '/project' content.

Is it normal or did I forgot something?

Thanks
Vincent
  


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Use sub folder url with share_layouts

2008-12-15 Thread Vincent Pérès
Hello,

I'm using share_layouts in a page '/project' which is using a layout
'Content'.
I created an extension, with routes, controllers etc. to map the project
page.
Everything is working, the 'part' is display thanks to the layout.

Then, I created a new page '/project/list'. I maped it again etc., but
the final display is strange : I got the content of the 'project' page
(only from database not from my view), the content of my new page and
the view of my new page.
In fact the normal page + '/project' content.

Is it normal or did I forgot something?

Thanks
Vincent
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant