Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get content published in other page
#1
Hi, and thanks for this great CMS.

I'm trying to find a solution to build a kind of "Events page" where I could post new events as they happen.
For exemple :
Quote:Events :

05/05/2009 Event 3
During this event ...

03/03/2009 Event 2
During this event ...

01/01/2009 Event 1
During this event ...

I don't want to edit the "Events page" each time there is a new event Cool , so I think it could be interesting to have functions in theme editing to get child pages and content of those pages :

The structure of pages would be :
* Events page
** Event 3
** Event 2
** Event 1

and the theme for "Events page" would do something like this :

Code:
foreach (get_children(current_page) as $child) {
   echo $child->get_title();
   echo $child->get_content();
}

I hope what I tried to explain is quite clear (I'm french :/ )
Maybe it is already possible ?

Thanks !!
Reply


Messages In This Thread
Get content published in other page - by Soueb - 2009-08-19, 00:11:54
Get content published in other page - by ccagle8 - 2009-12-14, 12:09:24
Get content published in other page - by focoves - 2009-12-16, 05:59:36
Get content published in other page - by focoves - 2009-12-19, 02:11:25
Get content published in other page - by melmoth - 2010-02-04, 22:03:52
Get content published in other page - by melmoth - 2010-02-05, 21:41:03
Get content published in other page - by melmoth - 2010-02-10, 19:32:26
Get content published in other page - by geggal - 2010-09-28, 05:30:45
Get content published in other page - by geggal - 2010-09-28, 06:04:57
Get content published in other page - by geggal - 2010-09-28, 06:35:27



Users browsing this thread: 1 Guest(s)