- Moderated by:
- Support Team
-
- rank:
-
Freshman
- registered:
- September 2007
- Status:
- offline
- last visit:
- 14.11.08
- Posts:
- 19
I've been at this for over a week, been all over and can't fathom why others aren't having this problem. Some info & facts:
1) Using PN 0.7.6.4
2) Xanthia version 2.1
3) Postwrap 2.5
4) pnRender 1.0
As you can see, I'm veryu up to date, and perhaps that's my problem (I've no previous versions to compare with - new contract).
aquaria, an XHTML based theme blessed by PNuke, runs great except for rendering a completely blank center block (where the postwrapped stuff should be). Apparently Postwrap needs some tables to anchor onto, or somethign like that. I haven't ruled out pnRender, but only because I haven't dug into that module.
PiterPanV2, an HTML based theme blessed by PNuke as a core theme, works great with PostWrapped content.
Any work around for this problem? Actually, since I've found virtually NO evidence that anybody has a problem like this, does anybody have this problem? (I can hear my empty echo already) -
- rank:
-
Professional
- registered:
- September 2006
- Status:
- online
- Posts:
- 1451
Did you tried to assign other a modified template to the PostWrap module?
i mean, create a template with some tricks extracted if the PiterPanV2 layout, that let your postwrap module to work correctly, and insert this template in your theme, and assign it to PostWrap in Xanthia Admin Panel.
Did you tried it?
--
- Mateo T. -
Mis principios... son mis fines -
- rank:
-
Freshman
- registered:
- September 2007
- Status:
- offline
- last visit:
- 14.11.08
- Posts:
- 19
Yes I did. Keep in mind that this works the same on any browser. I took the (tabled) home.htm working elements of PiterPanV2/modules/home.htm and replaced the non-working (XHTML)elements in aquarius/modules/home.htm with them. Here are the before & after areas:
ORIGINAL START: (uh-oh - I don't see my pasted info - NOT GOOD - do U see it??)
[quote]
Code
<div id="page">
<div id="content">
<!--[$centerblocks]-->
<!--[$maincontent]-->
</div>
<!-- end #content -->
<div id="sidebar">
<!--[$leftblocks]-->
</div>
<!-- end #sidebar -->
<div > </div>
</div>
<!-- end #page -->
ORIGINAL END:
MODIFIED START:
Code
<div id="page">
<!-- LDH - begin #page . Added in hopes that PostWrap likes the table format instead -->
<table width="<!--[$pagewidth]-->" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="9"><img src="<!--[$imagepath]-->/pix-t.gif" height="5" alt="" /></td>
</tr>
<tr>
<td align="center" valign="top">
<!-- Left Block Start -->
<!--[$leftblocks]-->
<!-- Left Block End -->
</td>
<td ><img src="<!--[$imagepath]-->/pix-t.gif" width="5" height="1" alt="" /></td>
<td ><img src="<!--[$imagepath]-->/pix-t.gif" width="1" height="1" alt="" /></td>
<td ><img src="<!--[$imagepath]-->/pix-t.gif" width="5" height="1" alt="" /></td>
<td valign="top">
<!-- Content Start -->
<!--[$centerblocks]-->
<!--[$maincontent]-->
<!-- Content End -->
</td>
<td ><img src="<!--[$imagepath]-->/pix-t.gif" width="5" height="1" alt="" /></td>
<td ><img src="<!--[$imagepath]-->/pix-t.gif" width="1" height="1" alt="" /></td>
<td ><img src="<!--[$imagepath]-->/pix-t.gif" width="5" height="1" alt="" /></td>
<td align="center" valign="top">
<!-- Right Block Start -->
<!--[$rightblocks]-->
<!-- Right Block End -->
</td>
</tr>
</table>
</div>
<!-- end #page -->
MODIFIED END:
Then I noticed that the aquarius theme doesn't even have home.htm configured as a module template (URL:http://localhost/pnuke/index.php?module=Xanthia&type=admin&func=editTemplates&skin=aquaria). Matter of fact, it has absolutely NO template modules defined at all. Is that a default thing? Who knows - the Xanthia documentation doesn't describe what's connected with other things, what depends on something else and what's defaulted. It's all a jumlble of old & new forum postings, as if you can clearly find the answer to your probblem. Anyways, after the add, NOTHING's ADDED! It's as if I didn't do the add at all (WTF??).
This is VERY different from the working PiterPanV2 theme, that happens to have lots of templates defined.
I noticed that the page rendering for PiterPanV2 places the PostWrap'd content where I'm expecting, while the aquarius one has me stymied as to what the hell center block 'thingy' it's calling. Check out the page source here:
Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<title>Us4earth :: Join Our Adventure</title>
</head>
<body>
<div id="menu">
<ul>
<li class="active"><a href="#" accesskey="1" title="">Home</a></li>
<li><a href="#" accesskey="2" title="">Blogs</a></li>
<li><a href="#" accesskey="3" title="">Photos</a></li>
<li><a href="#" accesskey="4" title="">Links</a></li>
<li><a href="#" accesskey="5" title="">About</a></li>
<li><a href="#" accesskey="6" title="">Contact</a></li>
</ul>
</div>
<!-- end #menu -->
<div id="header">
<div id="logo">
<h1><a href="#">Us4earth </a></h1>
</div>
<div id="banner"><a href="#">Join Our Adventure</a></div>
</div>
<!-- end #header -->
<div id="page">
<div id="sidebar">
<ul>
<li>
<!-- LDH left something block (lsb) -->
<h2>Main Menu</h2>
<ul><li><ul>
<li><a href="index.php" title="Back to the home page..">Home</a></li>
<li ></li>
<li><a href="/pnuke/index.php?module=PostWrap&page=join" title="10 Ways you can participate">You Are Invited</a></li>
<li><a href="index.php?name=PNphpBB2" title="BB style forum">EnviroForum</a></li>
<li><a href="index.php?name=News" title="Latest us4earth related news">EnviroNews</a></li>
<li><a href="index.php?name=Reviews" title="Review a video or its author">YouTube Reviews</a></li>
<li><a href="index.php?name=Search" title="Search our website..">Search</a></li>
<li><a href="/pnuke/index.php?module=PostWrap&page=store_catalog" title="Go shopping on us4earth, buy an EnviroPass">EnviroShop</a></li>
<li><a href="/pnuke/index.php?module=PostWrap&page=store_donate" title="Donate an item to the us4earth store">Donate</a></li>
<li><a href="mailto:contact@us4earth.org" title="Communicate with Us4earth">Contact Us</a></li>
<li><a href="/pnuke/index.php?module=PostWrap&page=coppermine" title="Picture Gallery [pnCPG ! wrk]">EnviroGallery</a></li>
<li><a href="http://localhost/pnuke/index.php?module=pnCPG" title="test for unwrapped pnCPG module">pnCPG</a></li>
<li ></li>
<li><a href="index.php?name=Web_Links" title="Links to other enviro-sites.">Other Sites</a></li>
<li><a href="index.php?name=pnForum" title="Yet another BB style forum">EnviroForum#2</a></li>
</ul>
</li></ul>
</li>
</ul><ul>
<li>
<!-- LDH left something block (lsb) -->
<h2>Login</h2>
<ul><li><form action="user.php" method="post"><div>
<label for="uname">User name</label>
<input type="text" name="uname" id="uname" size="14" maxlength="25" tabindex="0"
value="User name"
onblur="if(this.value=='')this.value='User name';"
onfocus="if(this.value=='User name')this.value='';" /><label for="pass">Password</label>
<input type="password" name="pass" id="pass" size="14" maxlength="20" tabindex="0" />
<input type="checkbox" value="1" name="rememberme" id="rememberme" tabindex="0" />
<label for="rememberme">Remember me</label>
<input type="hidden" name="module" value="User" />
<input type="hidden" name="op" value="login" />
<input type="hidden" name="url" value="http://localhost/pnuke/index.php?module=PostWrap&page=join" />
<input title="Cookies must be enabled past this point." type="submit" value="Log in" />
<a href="user.php?op=lostpassscreen&module=LostPassword">Log in Problems?</a> New User? <a href="user.php">Sign Up!</a></div></form>
</li></ul>
</li>
</ul><ul>
<li>
<!-- LDH left something block (lsb) -->
<h2>Online</h2>
<ul><li>There are 1 unlogged user and 1 registered user online.
You can <a href="user.php">log-in or register for a user account here</a>.</li></ul>
</li>
</ul><ul>
<li>
<!-- LDH left something block (lsb) -->
<h2>Languages</h2>
<ul><li><div>Preferred language:<form method="post" action="index.php"><div><select name="newlanguage" onchange="top.location.href=this.options[this.selectedIndex].value"><option value="index.php?module=PostWrap&page=join&newlang=eng" selected="selected">English</option>
</select></div></form></div></li></ul>
</li>
</ul>
</div>
<!-- end #sidebar -->
<!-- start #content -->
<div id="content">
<!--
************************* PostWrap 2.5 (content start) **************************
-->
<div class="pn-pagetitle" align="center"></div>
Sorry, your browser does not understand iframes. Here is the <a class="pn-pagetitle" href="http://localhost/join.htm" target="_blank">link</a> to the page.
<div class="pn-pagetitle" align="center"></div>
<!--
************************* PostWrap 2.5 (content end) ****************************
-->
</div>
<!-- end #content -->
<div > </div>
</div>
<!-- end #page -->
<div id="footer">
<!-- PLEASE DO NOT REMOVE THESE LINES -->
<p id="legal">Copyright © 2007 Aquaria. Designed by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a></p>
<p id="links">-- Xanthia by:<a title="Your PostNuke Theme Resource" href="http://www.cmods-dev.de/">cmods-dev</a><align="left"><a href="http://www.vir2us.com"><img src="../img/vir2us.jpg" alt="Web site created by Vir2us, Inc." width=119 /></a> All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest (c) 2007 by Vir2us, Inc. Us4Earth is a project of Vir2us, Inc. <I>Dance, Sing, Love, Change the World.</I>
<!--
************************* PostWrap 2.5 (resize start) ***************************
-->
<!--
************************* PostWrap 2.5 (resize end) *****************************
-->
</p>
</div>
<!-- end #footer -->
</body>
</html>
I was expecting to see a "" from ccblock.htm, so I've no idea what I need to do to get the postwrap'd stuff visible with these kinds of templates. What I can tell you, is the page isn't being rendered correctly, but shows ZERO errors.Code
<!-- Start Center Block -->
I've spent WAY, WAY too much time on something I had chosen to be a easy presentation cobbler that is a nightmare. Any ideas?
edited by: lhale, Sep 28, 2007 - 07:42 PM -
- rank:
-
Freshman
- registered:
- September 2007
- Status:
- offline
- last visit:
- 14.11.08
- Posts:
- 19
Did ANYTHING come through? I see just a BLANK textarea for my reply. So, as painful as it is for everybody, I'm going to split up post #2 into however many replies it takes to get ALL the information visible...
Yes I did. Keep in mind that this works the same on any browser. I took the (tabled) home.htm working elements of PiterPanV2/modules/home.htm and replaced the non-working (XHTML)elements in aquarius/modules/home.htm with them. Here are the before & after areas:
ORIGINAL START: (uh-oh - I don't see my pasted info - NOT GOOD - do U see it??)
[quote]
Code
<div id="page">
<div id="content">
<!--[$centerblocks]-->
<!--[$maincontent]-->
</div>
<!-- end #content -->
<div id="sidebar">
<!--[$leftblocks]-->
</div>
<!-- end #sidebar -->
<div > </div>
</div>
<!-- end #page -->
ORIGINAL END:
MODIFIED START:
Code
<div id="page">
<!-- LDH - begin #page . Added in hopes that PostWrap likes the table format instead -->
<table width="<!--[$pagewidth]-->" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="9"><img src="<!--[$imagepath]-->/pix-t.gif" height="5" alt="" /></td>
</tr>
<tr>
<td align="center" valign="top">
<!-- Left Block Start -->
<!--[$leftblocks]-->
<!-- Left Block End -->
</td>
<td ><img src="<!--[$imagepath]-->/pix-t.gif" width="5" height="1" alt="" /></td>
<td ><img src="<!--[$imagepath]-->/pix-t.gif" width="1" height="1" alt="" /></td>
<td ><img src="<!--[$imagepath]-->/pix-t.gif" width="5" height="1" alt="" /></td>
<td valign="top">
<!-- Content Start -->
<!--[$centerblocks]-->
<!--[$maincontent]-->
<!-- Content End -->
</td>
<td ><img src="<!--[$imagepath]-->/pix-t.gif" width="5" height="1" alt="" /></td>
<td ><img src="<!--[$imagepath]-->/pix-t.gif" width="1" height="1" alt="" /></td>
<td ><img src="<!--[$imagepath]-->/pix-t.gif" width="5" height="1" alt="" /></td>
<td align="center" valign="top">
<!-- Right Block Start -->
<!--[$rightblocks]-->
<!-- Right Block End -->
</td>
</tr>
</table>
</div>
<!-- end #page -->
MODIFIED END: -
- rank:
-
Freshman
- registered:
- September 2007
- Status:
- offline
- last visit:
- 14.11.08
- Posts:
- 19
Then I noticed that the aquarius theme doesn't even have home.htm configured as a module template (URL:http://localhost/pnuke/index.php?module=Xanthia&type=admin&func=editTemplates&skin=aquaria). Matter of fact, it has absolutely NO template modules defined at all. Is that a default thing? Who knows - the Xanthia documentation doesn't describe what's connected with other things, what depends on something else and what's defaulted. It's all a jumlble of old & new forum postings, as if you can clearly find the answer to your probblem. Anyways, after the add, NOTHING's ADDED! It's as if I didn't do the add at all (WTF??).
This is VERY different from the working PiterPanV2 theme, that happens to have lots of templates defined.
I noticed that the page rendering for PiterPanV2 places the PostWrap'd content where I'm expecting, while the aquarius one has me stymied as to what the hell center block 'thingy' it's calling. -
- rank:
-
Freshman
- registered:
- September 2007
- Status:
- offline
- last visit:
- 14.11.08
- Posts:
- 19
Check out the page source here:
From:
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<title>Us4earth :: Join Our Adventure</title>
</head>
<body>
<div id="menu">
<ul>
<li class="active"><a href="#" accesskey="1" title="">Home</a></li>
<li><a href="#" accesskey="2" title="">Blogs</a></li>
<li><a href="#" accesskey="3" title="">Photos</a></li>
<li><a href="#" accesskey="4" title="">Links</a></li>
<li><a href="#" accesskey="5" title="">About</a></li>
<li><a href="#" accesskey="6" title="">Contact</a></li>
</ul>
</div>
<!-- end #menu -->
<div id="header">
<div id="logo">
<h1><a href="#">Us4earth </a></h1>
</div>
<div id="banner"><a href="#">Join Our Adventure</a></div>
</div>
<!-- end #header -->
<div id="page">
<div id="sidebar">
<ul>
<li>
<!-- LDH left something block (lsb) -->
<h2>Main Menu</h2>
<ul><li><ul>
<li><a href="index.php" title="Back to the home page..">Home</a></li>
<li ></li>
<li><a href="/pnuke/index.php?module=PostWrap&page=join" title="10 Ways you can participate">You Are Invited</a></li>
<li><a href="index.php?name=PNphpBB2" title="BB style forum">EnviroForum</a></li>
<li><a href="index.php?name=News" title="Latest us4earth related news">EnviroNews</a></li>
<li><a href="index.php?name=Reviews" title="Review a video or its author">YouTube Reviews</a></li>
<li><a href="index.php?name=Search" title="Search our website..">Search</a></li>
<li><a href="/pnuke/index.php?module=PostWrap&page=store_catalog" title="Go shopping on us4earth, buy an EnviroPass">EnviroShop</a></li>
<li><a href="/pnuke/index.php?module=PostWrap&page=store_donate" title="Donate an item to the us4earth store">Donate</a></li>
<li><a href="mailto:contact@us4earth.org" title="Communicate with Us4earth">Contact Us</a></li>
<li><a href="/pnuke/index.php?module=PostWrap&page=coppermine" title="Picture Gallery [pnCPG ! wrk]">EnviroGallery</a></li>
<li><a href="http://localhost/pnuke/index.php?module=pnCPG" title="test for unwrapped pnCPG module">pnCPG</a></li>
<li ></li>
<li><a href="index.php?name=Web_Links" title="Links to other enviro-sites.">Other Sites</a></li>
<li><a href="index.php?name=pnForum" title="Yet another BB style forum">EnviroForum#2</a></li>
</ul>
</li></ul>
</li>
</ul><ul>
<li>
<!-- LDH left something block (lsb) -->
<h2>Login</h2>
<ul><li><form action="user.php" method="post"><div>
<label for="uname">User name</label>
<input type="text" name="uname" id="uname" size="14" maxlength="25" tabindex="0"
value="User name"
onblur="if(this.value=='')this.value='User name';"
onfocus="if(this.value=='User name')this.value='';" /><label for="pass">Password</label>
<input type="password" name="pass" id="pass" size="14" maxlength="20" tabindex="0" />
<input type="checkbox" value="1" name="rememberme" id="rememberme" tabindex="0" />
<label for="rememberme">Remember me</label>
<input type="hidden" name="module" value="User" />
<input type="hidden" name="op" value="login" />
<input type="hidden" name="url" value="http://localhost/pnuke/index.php?module=PostWrap&page=join" />
<input title="Cookies must be enabled past this point." type="submit" value="Log in" />
<a href="user.php?op=lostpassscreen&module=LostPassword">Log in Problems?</a> New User? <a href="user.php">Sign Up!</a></div></form>
</li></ul>
</li>
</ul><ul>
<li>
<!-- LDH left something block (lsb) -->
<h2>Online</h2>
<ul><li>There are 1 unlogged user and 1 registered user online.
You can <a href="user.php">log-in or register for a user account here</a>.</li></ul>
</li>
</ul><ul>
<li>
<!-- LDH left something block (lsb) -->
<h2>Languages</h2>
<ul><li><div>Preferred language:<form method="post" action="index.php"><div><select name="newlanguage" onchange="top.location.href=this.options[this.selectedIndex].value"><option value="index.php?module=PostWrap&page=join&newlang=eng" selected="selected">English</option>
</select></div></form></div></li></ul>
</li>
</ul>
</div>
<!-- end #sidebar -->
<!-- start #content -->
<div id="content">
<!--
************************* PostWrap 2.5 (content start) **************************
-->
<div class="pn-pagetitle" align="center"></div>
Sorry, your browser does not understand iframes. Here is the <a class="pn-pagetitle" href="http://localhost/join.htm" target="_blank">link</a> to the page.
<div class="pn-pagetitle" align="center"></div>
<!--
************************* PostWrap 2.5 (content end) ****************************
-->
</div>
<!-- end #content -->
<div > </div>
</div>
<!-- end #page -->
<div id="footer">
<!-- PLEASE DO NOT REMOVE THESE LINES -->
<p id="legal">Copyright © 2007 Aquaria. Designed by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a></p>
<p id="links">-- Xanthia by:<a title="Your PostNuke Theme Resource" href="http://www.cmods-dev.de/">cmods-dev</a><align="left"><a href="http://www.vir2us.com"><img src="../img/vir2us.jpg" alt="Web
