WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.7 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.

Donate with PayPal buttonSpenden mit dem PayPal-Button

  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Content Blocks Not Showing and/or Malfunctioning
  • Print
Pages: [1]   Go Down

Author Topic: Content Blocks Not Showing and/or Malfunctioning  (Read 10953 times)

Offline Fisherman

  • Posts: 45
Content Blocks Not Showing and/or Malfunctioning
« 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!
Logged

Offline nibz

  • Posts: 684
  • Gender: Male
Re: Content Blocks Not Showing and/or Malfunctioning
« Reply #1 on: May 20, 2012, 05:26:47 PM »
Which version and revision are you using ?
Logged

Offline Fisherman

  • Posts: 45
Re: Content Blocks Not Showing and/or Malfunctioning
« Reply #2 on: May 20, 2012, 06:04:14 PM »
Version 2.8.1
Revision 1287
Logged

Offline sky writer

  • Posts: 926
Re: Content Blocks Not Showing and/or Malfunctioning
« Reply #3 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]
Logged

Offline Fisherman

  • Posts: 45
Re: Content Blocks Not Showing and/or Malfunctioning
« Reply #4 on: May 20, 2012, 06:58:31 PM »
Yes
Logged

Offline sky writer

  • Posts: 926
Re: Content Blocks Not Showing and/or Malfunctioning
« Reply #5 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]
Logged

Offline Fisherman

  • Posts: 45
Re: Content Blocks Not Showing and/or Malfunctioning
« Reply #6 on: May 20, 2012, 07:16:54 PM »
I do now. Thanks but it didn't help.
Logged

Offline Fisherman

  • Posts: 45
Re: Content Blocks Not Showing and/or Malfunctioning
« Reply #7 on: May 20, 2012, 07:20:11 PM »
Here's what's in my template.

Code: [Select]
    <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
Code: [Select]
    $block[1]   = 'Main Page Content';
    $block[2]   = 'Right Column';
    $block[3]   = 'News';
Logged

Offline sky writer

  • Posts: 926
Re: Content Blocks Not Showing and/or Malfunctioning
« Reply #8 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:
Code: [Select]
<div id="contwrap">
<div class="content">
<?php page_content(1); ?>
    </div>
Logged

Offline Fisherman

  • Posts: 45
Re: Content Blocks Not Showing and/or Malfunctioning
« Reply #9 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?
Logged

Offline sky writer

  • Posts: 926
Re: Content Blocks Not Showing and/or Malfunctioning
« Reply #10 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]
Logged

Offline Fisherman

  • Posts: 45
Re: Content Blocks Not Showing and/or Malfunctioning
« Reply #11 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
Logged

Offline sky writer

  • Posts: 926
Re: Content Blocks Not Showing and/or Malfunctioning
« Reply #12 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.
Logged

Offline sky writer

  • Posts: 926
Re: Content Blocks Not Showing and/or Malfunctioning
« Reply #13 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?
Logged

Offline Fisherman

  • Posts: 45
Re: Content Blocks Not Showing and/or Malfunctioning
« Reply #14 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/
Logged

Offline sky writer

  • Posts: 926
Re: Content Blocks Not Showing and/or Malfunctioning
« Reply #15 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.
« Last Edit: May 21, 2012, 12:06:53 AM by sky writer »
Logged

Offline Fisherman

  • Posts: 45
Re: Content Blocks Not Showing and/or Malfunctioning
« Reply #16 on: May 20, 2012, 09:35:25 PM »
It's working fine now. Thanks for the help!
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Content Blocks Not Showing and/or Malfunctioning
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2