Not as far as I know; I used weblinks under the folders to link back to the folders themselves.
-
- 205 Posts
Hi Sottwell,
Ok thanks, how do I do that please, can you point me in the right direction.
I did not want to create another page as the section home page because I plan to use Newssnippet on the folder page itself 15 in my example) and if I had to create an additional page within this folder then the newssnippet would also list the information from this page.
I just need to have section home pages somehow which will use newslisting to summarize all the pages within that section
Under the folder in question, create a weblink with the url of the page for the folder with the url
where xx is the ID of the folder.
I’ve made a small hack to the parser at line 1046 of document.parser.class.inc.php that will allow for [~xx~] tags in the url field:
// check whether it's a reference
if($this->documentObject['type']=="reference") {
// if it's an internal docid tag, process it
if(strpos($this->documentObject['content'],'[~') !== false) {
// generate a url
$this->documentObject['content'] = $this->rewriteUrls($this->documentObject['content']);
}
$this->sendRedirect($this->documentObject['content']);
}
-
- 205 Posts
Thanks, very much appriciated
I will have a go and see how I get on