*Solved* Totally confused about News Boxes

For requests for help from CG administrators, Wranglers, and experienced CG members. Please read the FAQ before posting. Also look at CG Wiki for tutorials and how-tos written by other CG webtoonists.
Post Reply
We cansleeptomorrow
Newbie
Posts: 7
Joined: Sun Aug 02, 2009 10:48 am

*Solved* Totally confused about News Boxes

Post by We cansleeptomorrow »

So I used one of the pre-made CSS newsboxes for my comic http://wecansleeptomorrow.comicgenesis.com/, and I can't figure out how to post a news item/comment with a comic. I know there's a box for it in the css that looks like this:

news h1 {margin: 0; margin-left: .25em;}
.news h2 {margin: 0; margin-left: .25em;}
.news p {margin: 1em;}

.news iframe
{
width: 100%;
height: 350px;
border: 0;
}

I also know there is a spot for it in the indextemplate.html file:

<div class="news">
<h1>News</h1>
***todays_notes***
</div>

But I seem to be missing the next crucial step.

I tried using this tutorial: http://cgwiki.comicgenesis.com/index.ph ... d_Comments. But my site ended up looking all funky (as you can see for yourselves).

So what the heck is it that this html/internet dunce is missing here?
Last edited by We cansleeptomorrow on Fri Aug 14, 2009 9:56 pm, edited 1 time in total.

We cansleeptomorrow
Newbie
Posts: 7
Joined: Sun Aug 02, 2009 10:48 am

Re: Totally confused about News Boxes

Post by We cansleeptomorrow »

Okay, now how about something that isn't spam :shifty:

Edit by Dr Neo Lao: A spam post above this post was deleted.

User avatar
Lianweijun086
Regular Poster
Posts: 135
Joined: Tue Dec 09, 2008 6:31 am

Re: Totally confused about News Boxes

Post by Lianweijun086 »

Hey, as far as I can tell, nothing is really wrong. I went to your site, and it looks like the first (maybe?) post is under the comic. Granted, it's not very aesthetically pleasing, but it's there. Could you be more specific with what you need help with? We'd all be able to assist better that way. Thanks!
Image
Updates Tuesdays and Saturdays. Any and all comments/criticisms will be greatly appreciated!

User avatar
Dr Neo Lao
Cartoon Hero
Posts: 2397
Joined: Wed Oct 18, 2006 5:21 am
Location: Australia

Re: Totally confused about News Boxes

Post by Dr Neo Lao »

You're not missing anything as far as the html and css is concerned - you have a fully functional newsbox.

What wasn't explained to you is how the ***todays_notes*** KeenTag works (Read the link for some more details. DOn't worry, I'll wait here patiently while you read).

Okay, now that you're back - this is the final step in getting your newsbox working.

As per the instructions on how to get ***todays_notes*** working, in the workspace folder, create the folder "data" and inside that, the folder "notes".

Create text files, one for each day that you want to put up some news, named for the date you want them to appear on. Upload these to the workspace/data/notes folder. The news will automatically be added to your comic on that day when the server updates.

Note that the way this system works is that the text you add for that days' news will stay with that day's comic. So if you made a newspost about how you had to shovel snow on Christmas 2004, the 2004 Christmas comic will show said post about snow shoveling.

Also note that if you upload some news on Day 1, no news for days 2 to 5 then something fro Day 6 - the news from Day 1 will be shown on days 2 to 5. Also note that if you upload a news file for day 7 but no comic, the news will be updated to the front page but there will be no comic displayed.

We cansleeptomorrow
Newbie
Posts: 7
Joined: Sun Aug 02, 2009 10:48 am

Re: *Solved* Totally confused about News Boxes

Post by We cansleeptomorrow »

Alright, awesomesauce, it works. May not be the prettiest thing here, but it works :-)

Post Reply