Welcome to Lethal Pink, a personal site of a not so personal woman. Here in my little web world you will find a variety of things to spark your interests. Have a look around and comment if you feel compelled. Got a question? Feel free to ask and I'll answer at my discretion. Enjoy your time and come back soon!
The name's Charity, aka CeCe. Happily married. Gemini. Proud Christian. Dog lover. Obnoxiously loud. Fatally flawed. Random. Brutally honest. Girl gamer. TV addict. Fanfic writer. Music lover. Wannabe DJ. Former dancer. Forever Nerdy. Mildly obsessive. Way compulsive. Wanna know more?
 

Installing Cutenews

If you have not already downloaded Cutenews get the zip file from here and unzip it to a location on your computer. Now before beginning make sure that the page you want to use cutenews on has the .php extension.

Now connect to your FTP server and make a new folder in your root directory, call it cutenews. Upload all the files and folders to your new directory in the same way they were found in the zip file. So now in your cutenews folder there should be files plus 4 folders: data, inc, rte, and skins all containing files as well. Next CHMOD the data folder and the files in it to 777.

Now in your web browser go to http://www.YOURSITE.com/cutenews/. If you have correctly installed it you will see an index page with a button that reads Proceed Installation. Click the button to check for errors. If you have errors you will need to fix them if not you will be taken to a page where you can create your account. Once you have filled in the information you will be the administrator. Now you will be able to add/edit news as well as change your options.

Once this is complete you will need to add the include code to your index page or wherever you want to show cutenews. To do this open the page you want to show cutenews and add this code:

<?PHP include("cutenews/show_news.php"); ?>

Now you will want to add news to view your page. If it's not exactly the way you want it to look you can always edit your templates by going to Options > Edit Templates. You can play around with it until it looks the way you want. To show your news with a new template replace the code to show your cutenews with the one below:

<?PHP $template = "NAMEOFTEMPLATE"; include("cutenews/show_news.php"); ?>

be sure to change "NAMEOFTEMPLATE" to whatever you have named your new template.

You can also choose how many latest news items to show on your page. Let's say you want to show the 5 latest posts, do so by replacing the include code with this one:

<?PHP $number = "5"; include("cutenews/show_news.php"); ?>

Now let's say you want to add the 2 latest news post to your page using the template named pink, your code would look something like this:

<?PHP $number = "2"; $template = "pink"; include("cutenews/show_news.php"); ?>

That's about it. Congratulations, you have just correctly installed cutenews to your site!





← previous | refresh | forward →


LethalPink is powered by WordPress © 2011 unless stated otherwise