show content in other then the main table
Posted: Thu 26. Feb 2004, 23:34
hello
today i had a little idea to show content in other parts of the wcms.
e.g. you wanna show content in the right part of the layout wich have a site of 150px.
1. creates an blank pagelayout size allblocks 150 and the main block also 150. all others set to 0
2. create an template leave all exept the main block put there the {content} replacement tag inside.
3. create a hidden sitestructure set it to visible and public. also give an alias and choose for this the "blank" template.
4. create an article in this blank sitestructure.
5. get in your template where you wanna show these content an place in the "right" {PHP:http://www.domain.com/index.php?alias}
i have done it with an newspart in the right block.
you can see it at test.fhss.de/index.php
sorry for the bad english but i hope everybody will understand it.
today i had a little idea to show content in other parts of the wcms.
e.g. you wanna show content in the right part of the layout wich have a site of 150px.
1. creates an blank pagelayout size allblocks 150 and the main block also 150. all others set to 0
2. create an template leave all exept the main block put there the {content} replacement tag inside.
3. create a hidden sitestructure set it to visible and public. also give an alias and choose for this the "blank" template.
4. create an article in this blank sitestructure.
5. get in your template where you wanna show these content an place in the "right" {PHP:http://www.domain.com/index.php?alias}
i have done it with an newspart in the right block.
you can see it at test.fhss.de/index.php
sorry for the bad english but i hope everybody will understand it.