magiclabs/alchemy_cms — Issue #107: Behaviour of ElementsHelper#render_elements fallback option
Author: robinboening
Created: 2011-11-17 01:10:10+00:00
State: open
Labels: discussion needed

I was just writing many tests for the options of the render_elements helper.
By doing that i was wondering why we pass a page_layout to the 'from' parameter of the fallback option...

When passing a page_layout that exists more than for one page, we actually get the first page with this page_layout and try to render its element as the fallback.

I think its better to pass a certain page to the 'from' parameter, so we can be sure to get the element of that page.