Oh those notorious tables...BASIC CODING HELP

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
User avatar
MightyFoxling
Newbie
Posts: 17
Joined: Thu Nov 24, 2005 8:50 am
Location: Hell
Contact:

Oh those notorious tables...BASIC CODING HELP

Post by MightyFoxling »

I was wondering how I would set up my site to display my comments to the side of my comic, as in tables, much like the format of http://www.questionablecontent.net

I don't know if that's possible, simply because "commentary" is treated like a second comic upload. Would I just create its own table in the text file maybe?

Anyways, help would be much appreciated.

User avatar
TTE
Regular Poster
Posts: 77
Joined: Wed Mar 29, 2006 11:03 am
Location: Manitoba, Canada
Contact:

Post by TTE »

Thanks to STrRedWolf, you now can, and here's how: use the ***todays_notes*** tag.

Next, within your workspace folder, create a folder called data, and within there, a folder named notes, so that you'll have workspace/data/notes.

Next, upload what you want to say into that folder, and name them as the same date as the comic, in the YYYYMMDD.txt format.

And now the actual code. It basically would go like this (you can add other attributes later, try visiting Echo Echo, then go to Tutorials>HTML>Tables):

Code: Select all

<TABLE />
<TR />
<TD />
***todays_comics***
</TD>
<TD />
***todays_notes***
</TD>
</TR>
</TABLE>
Also, look at this CG Wiki Article for a little more info.

Hope that helps.

User avatar
MightyFoxling
Newbie
Posts: 17
Joined: Thu Nov 24, 2005 8:50 am
Location: Hell
Contact:

Post by MightyFoxling »

GASP! Awesome! Thank you so much!

*runs off to do that, glee!*

User avatar
TTE
Regular Poster
Posts: 77
Joined: Wed Mar 29, 2006 11:03 am
Location: Manitoba, Canada
Contact:

Post by TTE »

Not at all! Glad I was able to help.

Good luck with your site!

User avatar
MightyFoxling
Newbie
Posts: 17
Joined: Thu Nov 24, 2005 8:50 am
Location: Hell
Contact:

Post by MightyFoxling »

Hmm.

It worked the first time beautifully, but after that it stopped updating the notes when I put them in the workspace/data/notes folder. It just keeps the first note.

The notes inside are:
20060504b.txt <---worked
20060510b.txt <---didn't work
20060515.txt <---didn't work

I tried changing their filenames to have the b on the end since that was how the first one was, and the first one worked. But it didn't do anything.

http://tarandfeathers.comicgenesis.com

Any thoughts?

User avatar
MightyFoxling
Newbie
Posts: 17
Joined: Thu Nov 24, 2005 8:50 am
Location: Hell
Contact:

Post by MightyFoxling »

Woops, nevermind, it's working!

Post Reply