Even if the state.content is still availlable (return the name of the
current page) the direct call to  cmsfn.page(state.content)) is not working.

I will continue investigation but thanks for this track.

P

From:  Will Scheidegger <[email protected]>
Reply-To:  Magnolia Dev-List <[email protected]>
Date:  Thursday 13 September 2012 16:40
To:  Magnolia Dev-List <[email protected]>
Subject:  Re: [magnolia-dev]  cmsfn.page(content) on inherited content

Back in 4.4 we used state.mainContent. Give it a try and give us feedback if
this still works!

-will

On 13.09.2012, at 16:37, Benoit Poncelet wrote:

> Hello magnolia dev user,
> 
> I need your experience about the inherited contentŠ
> 
> We are using a Magnolia 4.5.4 where we created a website module without the
> STK. We also tried to avoid to use Java model to be able to quickly react on
> productions website. That's for the context.
> 
> We have Multiple page level where we inherit content from the parent (In our
> case, the Header/Footer). In this header, we have some link to switch to an
> other language to the same page (/fr/current-page.html ==>
> /en/current-page.html).
> 
> Our problem is: If you use the syntax "cmsfn.page(content)", the returned page
> is always the inherited page ant not the current one. Do you know how we can
> get in inherited content, the page of the current page with having java model
> ?
> 
> Thanks for your help.
> 
> Ponpon 
> 
>  
> 
> 
> 
> ----------------------------------------------------------------
> For list details, see:
> http://www.magnolia-cms.com/community/mailing-lists.html
> Alternatively, use our forums: http://forum.magnolia-cms.com/
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------




----------------------------------------------------------------
For list details, see:
http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------




----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to