Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS /

Merge content of multiple page on homepage


Reply


296 Views

Avatar
s_a_m_y

Community Member, 26 Posts

21 March 2014 at 4:42pm

Hi All,

I'm not sure this is the right category to post in, but I am hoping for your help.

I have a new project which is supposed to have a parallax-homepage, that combines the content of what usually would be separate pages. I can see to solve this by just adding the required fields of the "pages" in the backend and structuring it with tabs. But they also want to teaser their last projects there. the projects are stored with the DataObjectAsPage module. It's a great tool and has always served me well. I am just not very strong when it comes to accessing the database outside a written path. Could anyone point me in the right direction on how I could access the content of the projects from the homepage class? I guess I have to do this in the php-file and there is no way to do this only in the template, correct?

Sorry for sounding like a total newbie. It's just a first for me. Thanks for any suggestions.
Cheers
Samy