Topic: Get children page content?

Hi,

I need a bit of help/advice on this.  I want to display the content of  sub-page on the home page
For example; I have main page Services with 4 sub-pages, each sub-page will have some text.

I have  managed to show the list of the childpage using this code




But I dont know how to get the content of the sub-page as well.  Can someone give me some advice on this?

Thank you!

2 2015-04-08 08:48:43

Re: Get children page content?

@andreid

Try this:

wink

http://monstracreative.com - themes, plugins and snippets for monstra cms

:: ATTENTION ::
Need help? Login at your account at: http://monstracreative.com/users/login. -> You have a excellent support center at our website! wink

wormsunited's Website

3 (edited by andreid 2015-04-08 19:56:55)

Re: Get children page content?

Thank you for the reply.

That code doesnt work for me. Probably i dont use it as i should  I dont know much php.
What i want to achive is this
http://i59.tinypic.com/15ppu74.png.
I cant find how to get the conetnt of each subpage. Managed to get the titles though.

Re: Get children page content?

@andreid

Ho that is simple... Do this:

1 - create a template for that page
2 - Add the code you have on top, as i see its a List so you must place your

  • tags on it.

    Here is a example:

    
    
    
  • This should work for you pretty fine! wink

    http://monstracreative.com - themes, plugins and snippets for monstra cms

    :: ATTENTION ::
    Need help? Login at your account at: http://monstracreative.com/users/login. -> You have a excellent support center at our website! wink

    wormsunited's Website