 |
 |
 |
 |
 |
| Author |
Message |
John
Joined: 14 May 2008 Posts: 4
|
|
Problem with CuteNews (latest version) |
|
Hello, all.
Well i have a problem with my CuteNews Ru installation. I tried to install it on my site, but i get.....nothing.
I include the head.php file between <head></head>
And then later include cutenews ru like this:
<?PHP
$number = 5;
$category = '1';
$template = 'Default';
include $cutepath.'/show_news.php'; ?>
Inclusion of the head.php
<?php include("site-admin/head.php"); ?>
The rest of the page is 100% xhtml and does not have any variables nor anything. So does anyone know what can be wrong?
Thanks in advance.
John.
|
|
| Tue Jun 24, 2008 12:40 pm |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
Partyism
Joined: 25 Sep 2007 Posts: 268
|
|
|
|
You need to include your head.php on the top of the page
|
|
| Tue Jun 24, 2008 12:48 pm |
|
 |
John
Joined: 14 May 2008 Posts: 4
|
|
|
|
Yes, as i did.
Here is my head:
<head>
<?php include("site-admin/head.php"); ?>
<link rel="shortcut icon" href="favicon.ico"/>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
<meta name="description" content=""/>
<meta name="keywords" content=""/>
<meta name="author" content=""/>
<link rel="stylesheet" type="text/css" href="images/style.css" media="screen"/>
<title>Title</title>
</head>
But i still have the problem. No news are shown on the page.
|
|
| Tue Jun 24, 2008 1:01 pm |
|
 |
Spoon
Joined: 02 Apr 2008 Posts: 42
|
|
|
|
I think the show_news.php is in the same directory as head.php
try to add the path
something like this??
include $cutepath.'site-admin/show_news.php'; ?>
|
|
| Tue Jun 24, 2008 2:59 pm |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1843 Location: US |
|
|
|
So I'm assuming you have cutenews.ru installed in a directory called 'site-admin' so in theory you should be able to make a test.php file on your server with this code:
 |  | <?php include("site-admin/head.php"); ?>
<?php
$number = "10";
include("site-admin/show_news.php");
?> |
If that doesn't work, something else is wrong.. not cnr.
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Tue Jul 08, 2008 10:45 pm |
|
 |
|
|
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
|
|
 |
 |
 |
|