I've got a basic index.php, it has a column on the right with some links and links to news stories - I'd like to populate this section with page entry list.
I know I can use rss / magpie to do this if I posted entries - but entries use number url ie: e=4 - where as the pages use real text ie: p=this-is-my-news-page ( better for seo )
So, I'd like to create a page which I can include to my custom page - ie: require_once('pivotx/newslist.php')
- Code: Select all
pages="<li %active%><a href='%link%' title='%subtitle%'>%title%</a></li>"
Actually set up a new template with only a call to the aforementioned code and placed my file in the same directory - it only works if i have the ?P=blah after the file name - or else it renders the entire page from my second column.
So can anyone recomend what to hack so that I can just have the page list being generated in a single file which I can include via php?
Thanks in advance.
ps - I already creating a copy of render.php and setting $p = "news"; ( My page entry with editied template )