Hi Everyone,
i'm trying to show the Content of a GridField on my HomePage PageType on all other Pages with a different PageType.
A little bit like the LatestArticles on HomePage.
I tried to do it like this.
Page.php -> http://pastie.org/6036705
SliderObject.php -> http://pastie.org/6036716
HomePage.php -> http://pastie.org/6036721
Slider.ss -> http://pastie.org/6036729
The "getPageByClass" function worked fine for me on the Old SS Release and although when I want to display content form not gridfields on other pages in SS3.
But now when i put in <% control getPageByClass(HomePage) %> the sldier displays nothing :( not on HomePage and not on any other Page.
I althoug tried to put the getSlides function into Page.php but it doesn't work too, i think because the function can't find Slides on Page.php but how can i Link this function on the Page.php to Slides on HomePage.php
Can someone please help me?
Thx a lot!
-hobenni