WebsiteBaker Support (2.8.x) > Templates, Menus & Design

Contents and image not showing on site

(1/2) > >>

apple:
Hi, I am not sure what I have done wrong here. None of the contents on this section of my template is showing on the site. Please help.

index.php file_______________ _____

<div id="news">
    <?php display_news_items(0, 8, 50, 2,
  'The latest news', 'show full news text', 'uups, no news available',
  true, '<a><img>', false, ' (h:i, d.m.Y)'); ?>
</div>
<?php if(SHOW_SEARCH) { /* Only show search box if search is enabled */ ?>
            <br />
             Search: <br />
            <form name="search" action="<?php echo WB_URL; ?>/search/index.php" method="get">
                <input type="text" name="string" style="width: 100%;" />
                <input type="submit" name="submit" value="<?php echo $TEXT['SEARCH']; ?>" style="width: 100%;" />
            </form>
        <?php } ?>    

<div id="footer">

<div id="bottom-body">

<div id="footer-text">
<?php page_footer(); ?>
</div>
<div id="icons">
<a href=""><img src="<?php echo TEMPLATE_DIR; ?>/images/icon1.jpg" alt="" /></a>
<a href=""><img src="<?php echo TEMPLATE_DIR; ?>/images/icon2.jpg" alt="" /></a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>




CSS for the above______________ ___

#news {
    position: absolute;
    top: 320px;
    left: 95px;
    z-index: 5;
    width: 165px;
    height: 225px;
}

#footer {
    background-image: url(img/background.jpg) repeat-x;
    width: 100%;
    height: 155px;
   
}

#footer-text {
    position: absolute;
    left: 135px;
    top: 45px;    
}

#bottom-body {
    background-image: url(img/body-bottom.jpg) no-repeat;
    height: 155px;
    width: 911px;
    position: relative;    
}

apple:
Nobody can help? Where are all the CSS enthusiast?? The codes is only part of my index.php file. The rest of the template is fine except the section mentioned.

BerndJM:
Hi,

any error-message if you turn the error-level on in advanced settings?

Regards Bernd

apple:

--- Quote from: BerndJM on December 09, 2008, 02:30:27 AM ---any error-message if you turn the error-level on in advanced settings?

Regards Bernd

--- End quote ---

Do you mean 'PHP Error Reporting Level:' in the settings? There are a few options. Which one should i choose? Where do I view the error-message?

BerndJM:
Yes,
E_ALL would be a gut choice.
The errors (if there are) will be shown on your pages.

Regards Bernd

Navigation

[0] Message Index

[#] Next page

Go to full version