CuteNews

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> CuteNews - Problem with website structure
go4java
post Mar 12 2012, 06:40 PM
Post #1


Newbie
*

Group: Members
Posts: 1
Joined: 12-March 12
Member No.: 75,567



Hi,
I generally like the idea of CuteNews, installation went fine and test with examples worked as well - as long as I do not leave the directory /cutenews!
In my website the directory structure is as follows and I do not want to copy/move CuteNews to the website root:
/html => this is the root of all website files with other subfolders such as /images etc.
/html/cutenews: this is the path where all CuteNews files have been copied automatically.
I now have an index.html or index.php on root level => /html and need to address cutenews from within this file, so that everything else is working (subfolders etc.).
But it doesn't... How to get the pathes right???
Thanks and BR
Go to the top of the page
 
+Quote Post
Damoor
post Mar 12 2012, 09:21 PM
Post #2


Damoor
***

Group: Members
Posts: 1,781
Joined: 16-August 05
From: Scaro
Member No.: 5,445



Your index.php file should be in the public_html directory, the same directory as your cutenews folder.


--------------------
Damoor
It's better to keep your mouth shut and appear stupid than open it and remove all doubt:- Mark Twain
Go to the top of the page
 
+Quote Post
Filou83
post Mar 13 2012, 10:01 AM
Post #3


Advanced Member
***

Group: Members
Posts: 159
Joined: 14-October 09
From: Germany
Member No.: 32,006



/html/cutenews - directory with cutenews
/html/index.php - your website main page should include cutenews like this:

include("cutenews/show_news.php");

Please be sure to read readme.htm. If it doesn't work, try to copy the example2.php to your websites root and change the paths from:

include('./search.php');
include('./show_archives.php');
include("./show_news.php");

to:

include('cutenews/search.php');
include('cutenews/show_archives.php');
include("cutenews/show_news.php");


--------------------
Regards from Germany :D
Personal website: http://mb-wallpaper.de
Go to the top of the page
 
+Quote Post

Fast ReplyReply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 20th May 2013 - 06:37 AM