Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 24, 2012, 10:56:00 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
155470
Posts in
21707
Topics by
7734
Members
Latest Member:
rofroodoOvego
WebsiteBaker Community Forum
English
Templates, Menus & Design
(Moderator:
Argos
)
Contents and image not showing on site
Pages: [
1
]
Go Down
Author
Topic: Contents and image not showing on site (Read 987 times)
applepie
Offline
Posts: 342
Contents and image not showing on site
«
on:
December 08, 2008, 07:13:49 PM »
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;
}
Logged
applepie
Offline
Posts: 342
Re: Contents and image not showing on site
«
Reply #1 on:
December 09, 2008, 01:05:58 AM »
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.
Logged
BerndJM
Offline
Posts: 1764
Re: Contents and image not showing on site
«
Reply #2 on:
December 09, 2008, 02:30:27 AM »
Hi,
any error-message if you turn the error-level on in advanced settings?
Regards Bernd
Logged
In theory, there is no difference between theory and practice. But, in practice, there is.
applepie
Offline
Posts: 342
Re: Contents and image not showing on site
«
Reply #3 on:
December 09, 2008, 03:57:57 PM »
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
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?
Logged
BerndJM
Offline
Posts: 1764
Re: Contents and image not showing on site
«
Reply #4 on:
December 09, 2008, 04:21:12 PM »
Yes,
E_ALL would be a gut choice.
The errors (if there are) will be shown on your pages.
Regards Bernd
Logged
In theory, there is no difference between theory and practice. But, in practice, there is.
applepie
Offline
Posts: 342
Re: Contents and image not showing on site
«
Reply #5 on:
December 09, 2008, 04:30:47 PM »
Quote from: BerndJM on December 09, 2008, 04:21:12 PM
Yes,
E_ALL would be a gut choice.
The errors (if there are) will be shown on your pages.
Which page? On the site? I dont see any errors. If not the site, where else can I look for it?
Logged
vyni
Offline
Posts: 566
Re: Contents and image not showing on site
«
Reply #6 on:
December 09, 2008, 05:23:14 PM »
Hi,
short-time-offer:
You mail me the complete template and I´ll have a look on it.
Maybe I find something....
Logged
PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen, ungefähr verfolgen und glauben.
applepie
Offline
Posts: 342
Re: Contents and image not showing on site
«
Reply #7 on:
December 09, 2008, 05:29:52 PM »
Quote from: vyni on December 09, 2008, 05:23:14 PM
Hi,
short-time-offer:
You mail me the complete template and I´ll have a look on it.
Thanks. Where do I mail it to?
Logged
applepie
Offline
Posts: 342
Re: Contents and image not showing on site
«
Reply #8 on:
December 10, 2008, 12:31:58 AM »
Thanks. I managed to get it working now. I am not sure if it has anythign to do with the different WB version. It works ok on older version. I had to change some codes on my CSS file and now I can see the bottom image. My only problem is that the image stays on the right of the page instead of left. How do I get it to stay on the left. I tried flush left but it didnt work. Any idea, anyone?
Cheers.
Logged
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...