WebsiteBaker Community Forum (upd)

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: Fisherman on May 20, 2012, 05:15:48 PM

Title: Content Blocks Not Showing and/or Malfunctioning
Post 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!
Title: Re: Content Blocks Not Showing and/or Malfunctioning
Post by: nibz on May 20, 2012, 05:26:47 PM
Which version and revision are you using ?
Title: Re: Content Blocks Not Showing and/or Malfunctioning
Post by: Fisherman on May 20, 2012, 06:04:14 PM
Version 2.8.1
Revision 1287
Title: Re: Content Blocks Not Showing and/or Malfunctioning
Post by: sky writer on May 20, 2012, 06:48:50 PM
Do you have the appropriate block chosen for each WYSIWYG section, in "Manage Sections"?

[gelöscht durch Administrator]
Title: Re: Content Blocks Not Showing and/or Malfunctioning
Post by: Fisherman on May 20, 2012, 06:58:31 PM
Yes
Title: Re: Content Blocks Not Showing and/or Malfunctioning
Post by: sky writer on May 20, 2012, 07:09:03 PM
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]
Title: Re: Content Blocks Not Showing and/or Malfunctioning
Post by: Fisherman on May 20, 2012, 07:16:54 PM
I do now. Thanks but it didn't help.
Title: Re: Content Blocks Not Showing and/or Malfunctioning
Post by: Fisherman on May 20, 2012, 07:20:11 PM
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';
Title: Re: Content Blocks Not Showing and/or Malfunctioning
Post by: sky writer on May 20, 2012, 07:24:33 PM
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>
Title: Re: Content Blocks Not Showing and/or Malfunctioning
Post by: Fisherman on May 20, 2012, 07:31:46 PM
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?
Title: Re: Content Blocks Not Showing and/or Malfunctioning
Post by: sky writer on May 20, 2012, 07:45:26 PM
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]
Title: Re: Content Blocks Not Showing and/or Malfunctioning
Post by: Fisherman on May 20, 2012, 07:47:53 PM
Oh! Yes, I have them on too. I was wondering what multiple menu's had to do with it. LOL
Title: Re: Content Blocks Not Showing and/or Malfunctioning
Post by: sky writer on May 20, 2012, 07:49:43 PM
If you want to PM me your template file, I will take a look.  I could try it out on a test site.
Title: Re: Content Blocks Not Showing and/or Malfunctioning
Post by: sky writer on May 20, 2012, 07:52:16 PM
You don't have anything in your CSS file which might be hiding or pushing your content out of site, do you?
Title: Re: Content Blocks Not Showing and/or Malfunctioning
Post by: Fisherman on May 20, 2012, 07:59:12 PM
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/
Title: Re: Content Blocks Not Showing and/or Malfunctioning
Post by: sky writer on May 20, 2012, 08:30:00 PM
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.
Title: Re: Content Blocks Not Showing and/or Malfunctioning
Post by: Fisherman on May 20, 2012, 09:35:25 PM
It's working fine now. Thanks for the help!