hellojsw_nz wrote:I am wondering why I cannot get Pappnase's original topic of creating content for the right section of a given page to work. Spent a considerable amount of time and likely it is something I am overlooking. BTW, I gave Spirou's hack a go, but found, like others, the upgrade (I think it was RC2 to RC3) confounded it. So I thought the original post by Pappnase based on his method might work. I believe I have done everything to prescripion:
"Create a blank pagelayout size all blocks 150 and the main block also 150. all others set to 0" //two parameters inputed: all blocks: 172, main 172, all others 0 in my case
"create an template leave all exept the main block put there the {content} replacement tag inside." simple ...did this {CONTENT}
"create a hidden sitestructure set it to visible and public. also give an alias and choose for this the "blank" template." //did this, in my case community
"get in your template where you wanna show these content an place in the "right" {PHP:http://www.domain.com/index.php?alias}
//did this within my index page template with right section at a width of 172, there i put this code:
version 1: {PHP:http://localhost/phpwcms2/index.php?community}
version 2: {PHP:index.php?community}
Neither work as called from within the template. I am working off my local box, thus the localhost prefix.
BTW: entering this in my browser:
****//localhost/phpwcms2/index.php?community
works like a charm
also have run other {PHP:script.php} instances successfully
I also created a custom page community_1.php
and run {PHP:community_1.php} successfully
I am wondering why this is not working and wanted to ask if others (including Pappanase himself) if they have gotten this elegant gem to work in RC4. I am wondering if header info generated by the template by default does not get truncated. I think Oliver's code takes care of this. The source code of the standalone page **** (see above) includes header info, with a call to frontend.css, and default <body tags> At the end of the day, what would be compatible, it would seem, would be the <table><tr><td> content only.
Code: Select all
<td valign="top"></td> <td valign="top" width="172"><a name="jump7"></a><br><img src="img/leer.gif" width="1" height="5" alt="" /><br /><div class="articleSummary">Part of the really new initiatives of the Sport Otago web site will be a new community profile section that will highlight how sports life in the region has been enhanced and enriched</div><br><img src="img/leer.gif" width="1" height="8" alt="" /></td> <td valign="top"></td>
Would love to get this running....as a reasonable way to populate the right area on a given page. Any suggestions/pointers would be apreciated.
cheers,
jsw
i will test my solution today with the new release!