Include newest wiki page in homepage Posted by Agrophobic 19 Aug 2006 23:42 UTC G'Day, I am trying to include the most recently created wiki page into the bottom of my wiki homepage, any suggestions??
Posted by Gary Cunningham-Lee 22 Aug 2006 06:56 UTC Do you mean the name of the latest page, or the page content? If just the name, you could use the latest-pages module and limit its rows to one. (Or maybe clone the latest-pages module and give the clone a new name if you want the title to be singular and/or if you want it to have special style features.) If you want the latest page content to appear, the INCLUDE plugin is for including one wiki page in another, but the name of the included page would have to be input manually. -- Gary - themes.tw.o
Posted by Agrophobic 23 Aug 2006 08:09 UTC > G'Day, > > I am trying to include the most recently created wiki page into the bottom of my wiki homepage, any suggestions?? If you want the latest page content to appear, the INCLUDE plugin is for including one wiki page in another, but the name of the included page would have to be input manually. -- Gary Yep. I wanted the content to be included automatically. Failing that can I set it so that the newest created page is the homepage automatically. Same result but without the content of the homepage...
Posted by Gary Cunningham-Lee 29 Aug 2006 03:31 UTC > Yep. I wanted the content to be included automatically. > > Failing that can I set it so that the newest created page is the homepage automatically. Same result but without the content of the homepage... There is no mechanism for doing this in Tiki, as far as I know. You would need a tiki-index script that will query the database for the most recently changed page (I'm not sure new edits of existing pages and actual new page creations are even distinguished) and then displays it. This is possible, I guess, but there apparently hasn't been a pressing need for it so no one has done the work. So for it to happen, you'll have to persuade/pay somebody with the skills to do it. -- Gary