Navigation

Affiliates

Myra

Misc.

online
Valid CSS
(Mostly) Valid XHTML

Installing Cutenews

Cutenews is actually one of the easiest scripts to install. I will guide you through the process, short though it may be, step by step ^^
Before: You must download the zipfile and unzip it.

Step One- Create a folder


In the main area of your site, create a folder. Cutenews is probably the best name to choose :P

Step Two- Upload


Upload all the files from the zip file into the folder you created.

Step Three- CHMODing


Now, you need to CHMOD the files in the folder Cutenews to 777. How? Using an FTP program:
Check the options at the top of the page (File, help, commands, etc.), and read down the list until you find something that says CHMOD, Properties/CHMOD, etc. When you click and highlight all the files, go back to that, click it, and set the permissions as 777. You may need to check boxes, and if so, make sure that read, write, and execute are checked in each column, but nothing else.

Step Four- Cleaning Up


Go to yourdomain.whatever/cutenews. Follow through the installation. Then, go to yourdomain.whatever/cutenews again and sign in! When you first sign in, you should see a small yellow box, telling you that the installation module is still located in the link folder. Click the link that says, "Try to delete the file automatically". It should work. If it doesn't, you're going to have to go into the .inc folder and delete the installation module manually (the exact name of the file you need to delete is in the yellow box.)

Step Five- Preparing to Customize


First, go to options. Click on edit templates, then create a new template. Keep the template based on default, and then choose a name. You could choose one that matches the layout name, or you could simply put 'my_template'. Heck, if you felt like it, you could name it Bob =D (Yes, the template I use is indeed name Bob.) It will then say, Template Created

A new template was created with name Bob
Then, click go back. First things first, you should see how the default looks. How? You need to get the link for your news! Click on help/about at the top of the page. Then, click on internal help documentation. The first thing on the page is what you need to put on the page you want your news on. Go ahead and copy and paste it, and put it on your page. It should look like this:
[?PHP include("cutenews/show_news.php"); ] (Change the []'s to <>) If you named the folder cutenews. If not, substitute your folder's name in for 'cutenews'. Now, save that page. Go back to your cutenews and click 'Add news'. Add a short little paragraph, click 'add news', and veiw the page you put your news on!
Step Six- Customization
So, now you've seen what you would like to change. First, go back to yourdomain.whatever/cutenews, click options, then click edit templates. Then switch templates to Bob (or whatever you named it). Now, the first part we need to change is labeled active news. Click on it to expand it.
Active News
First, we will almost certainly need to change the width. How big is your layout? You might know, and you might not. Experiment if you don't. Put a new number where it says #HERE: <div style="width:#HEREpx; margin-bottom:30px;"> Where it says: border-top:1px solid #D3D3D3;"> You can do one of many things. You can change border-top to:
border (goes all the way around)
border-bottom (border on the bottom)
border-left
border-right
...you get the idea.
Then, you can change 1px solid to:
1px dotted (FF only, shows up as dashed in IE)
1px dashed
3px double
And that isn't even ALL the things you can change it to, just some ;D Now, simply change the color, and you're mostly done. You can now either save your template, and change your news code to [?PHP $template = "bob/your template"; include("path/to/show_news.php"); ] (Change the []'s to <>!!) Or you can keep editing. It's really up to you, but this is where the tutorial ends! ;D
Did something go wrong? If you need my help, contact me!

Tree