WebsiteBaker Community Forum
WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: Fisherman on May 20, 2012, 05:15:48 PM
-
Hi everybody!
Got a little problem that you might be able to help me with. I have my main content and two other content blocks set up in my template. The main content is fine and I can get the right column content to show up but I have to call it as 3 and not 2 or it won't show at all. I can't get the third one to show up at all.
Here's what's in my template:
Main Content
<?php page_content(); ?>
Right Column Content (gotta put 3 in this one or it won't show)
<?php page_content(2); ?>
and a wysiwyg at the bottom (if I put 3 in this one, the right column content shows here. If I put 2 in, it just dosn't show at all)
<?php page_content(3); ?>
I set up my info.php on this wise:
$block[1] = 'Main Page Content';
$block[2] = 'Right Column';
$block[3] = 'News';
What's goin' on with this thing?
Thanks guys and gals!
-
Which version and revision are you using ?
-
Version 2.8.1
Revision 1287
-
Do you have the appropriate block chosen for each WYSIWYG section, in "Manage Sections"?
[gelöscht durch Administrator]
-
Yes
-
I have no idea what knowledge you have, so excuse me if this is all basic to you... but do you have multiple menus set in "Settings".
[gelöscht durch Administrator]
-
I do now. Thanks but it didn't help.
-
Here's what's in my template.
<div id="contwrap">
<div class="content">
<?php page_content(); ?>
</div>
<div class="bottomcontent"></div>
<div id="newswrap">
<div class="news">
<?php page_content(3); ?>
</div>
<div class="newsbottom"></div></div>
</div>
<!-- end center -->
<div id="rightwrap">
<div class="rightcol">
<?php page_content(2); ?>
</div>
<div class="rightbottom"></div></div></div>
From info.php
$block[1] = 'Main Page Content';
$block[2] = 'Right Column';
$block[3] = 'News';
-
You have some extra end div's in there, but I presume they are from previous opening divs.
The only other suggestion I have is to put "1" in your main page content:
<div id="contwrap">
<div class="content">
<?php page_content(1); ?>
</div>
-
The main content works either way but doesn't make the others behave. I had to put 3 in the right column and tried changing the bottom one to 2 but that didn't work either.
I just had a maybe not so brilliant idea. Since I already have my templates all edited and ready, I could upload the install directory and go in and empty my database and just re-install the thing again. I hate to do it but I only have two pages out of 48 created so far anyway. What do you think?
-
Sorry, I have a millions things going on here. I didn't mean to say turn on multiple menus in settings, but "Section Blocks"...
[gelöscht durch Administrator]
-
Oh! Yes, I have them on too. I was wondering what multiple menu's had to do with it. LOL
-
If you want to PM me your template file, I will take a look. I could try it out on a test site.
-
You don't have anything in your CSS file which might be hiding or pushing your content out of site, do you?
-
No. That's been double checked. Here's the site. (I didn't do the design. I am trying to purdy it up for them though.) http://67.19.197.120/
-
Just uploaded to a test site and all works. Puzzling...
I've PM'ed you the zip file (renamed) with a small change to your Index.php file. Hope this helps.
-
It's working fine now. Thanks for the help!