 |
 |
 |
 |
 |
| Author |
Message |
koning
Joined: 31 May 2008 Posts: 3
|
|
Full story doesn't show correct |
|
I've added the line in the head
 |  | <?php include("cms/head.php");?> |
In my website i have included page/home.php with:
 |  | <?php
if (isset($_GET["page"])) {
if (file_exists("page/".$_GET["page"].".php")) {
include("page/".$_GET["page"].".php");
} else {
include("/page/home.php");
}
} else {
include("page/home.php");
}
?> |
The cms/show_news.php i've included in the page/home.php with  |  | <?php include $cutepath.'/show_news.php'; ?> |
In my site, it gives a perfect 'small story', but when I click on read more the story is still good, but my design is messed up. Normally, it is just the root, but when you go to the full story, is say's as a link: website.com/index.php/2008/05/30/test.html.
The full story's displays good, but the image/css-links are not good. How can I solve this?
|
|
| Sat May 31, 2008 5:31 pm |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
koning
Joined: 31 May 2008 Posts: 3
|
|
|
|
Problem solved, I needed to make all the path's absolute (/images/bg.jpg).
Thanks to a friend, I'm such a noob 
|
|
| Sat May 31, 2008 5:48 pm |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1802 Location: US |
|
|
|
 |  | I'm such a noob |
Hehe, we've all been there.. trust me. Glad you got it figured out 
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Mon Jun 02, 2008 4:39 am |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|
 |
 |
 |
|