Page 1 of 1

next_day tag

Posted: Fri Sep 02, 2005 7:32 am
by Avatar007
Finally got my site online, and the only grievous error that I found is in one of my navigation buttons. For some reason, the ***next_day*** tag that I use isn't being handled by auotkeen (shows up as nothing in the index.html file after updating).

The website is <a href="http://coldfeet.comicgenesis.com">Cold Feet</a>, and as you can see at the top right there's one nav button missing. My website code (snippet of interest) is as follows:

Code: Select all

<div class="comNav" style="float:right;"> 
	
	<ul>
		<li>***first_day***</li>
		<li>***previous_day***</li>
		<li>***next_day***</li>
		<li>***last_day***</li>
	</ul>

</div>
Thoughts?

Thanks for your help.

Posted: Fri Sep 02, 2005 7:41 am
by LibertyCabbage
Try putting a space between the <li> tags and the codes. Comicgen is probably reading the <li> tags and the navigation tag as one entity.

So,
<li> ***first_day*** </li>
instead of
<li>***first_day***</li>
I don't see why the ***next_day*** was excluded but see if it works after you do these changes.

Posted: Fri Sep 02, 2005 10:15 am
by Oualawouzou
You have only one comic on your site, right? Unless I'm mistaken, the ***next_day*** icon will not display until you have two comics.

Posted: Fri Sep 02, 2005 7:00 pm
by Avatar007
Try putting a space between the <li> tags and the codes. Comicgen is probably reading the <li> tags and the navigation tag as one entity.
Tried the spaces thing already, didn't work. Besides which, the other three tags work with the same non-spacing.
You have only one comic on your site, right? Unless I'm mistaken, the ***next_day*** icon will not display until you have two comics.
It should use my next_day_ghosted.png image, the same as the other three buttons, right?


Is it possible that the ***next_day*** tag is actually syntactically incorrect? I mean, is it actually supposed to be ***next_comic*** or something simple like that?

Posted: Fri Sep 02, 2005 7:23 pm
by Oualawouzou
If you have only one comic, the ***next_day*** tag will do nothing at all: no text link, no image, no ghosted image. As soon as you upload a second one, it will correctly use the ghosted image on your index page and the regular image on the archived comics pages.

Posted: Sat Sep 03, 2005 6:14 am
by Avatar007
Oh. That's kind of strange, considering the other three show up regardless of only having a single comic online.

Thanks for the info!

Posted: Sat Sep 03, 2005 11:45 pm
by KittyKatBlack
avatar__007 wrote:Oh. That's kind of strange, considering the other three show up regardless of only having a single comic online.

Thanks for the info!
Yeah. I still don't know why it's just that one, but it is. I had the same problem when I started to. Someone really should get around to fixing that. :D

Still no ghosted tag

Posted: Wed Sep 07, 2005 7:34 am
by Avatar007
Ehm... Well, on my archive pages the ***next_day*** image shows up just fine. In my index.html page, however, the ghosted image is AWOL.

It couldn't be a typo in my code since I use the same code for both pages. The filenames are exactly "next_day.png" and "next_day_ghosted.png".

Is there some trick to this that I'm unaware of?

<a href="http://coldfeet.comicgenesis.com/">http ... is.com/</a>

Posted: Wed Sep 07, 2005 7:42 am
by Phalanx
Hm, I think I've heards news about ghosted images not working correctly. Haven't used any myself so can't say, but anyone here able to shed light on this if they've tried it?

Posted: Wed Sep 07, 2005 3:40 pm
by -Fanny pack
Either ***next_day*** or ***last_day*** does not produce a ghosted image properly. I'm not sure which one it is, but I do know that it is one and not the other. I suppose, based on this thread, that it must be ***next_day***.

Posted: Wed Sep 07, 2005 4:12 pm
by Oualawouzou
Yes it is. I just checked and only "last_day_ghosted.jpg" shows up on my index page as well.

One thing you can do is manually put in the "next_day_ghosted.jpg" image in your indextemplate.html instead of the ***next_day*** tag.

Posted: Wed Sep 07, 2005 4:34 pm
by -Fanny pack
Oualawouzou wrote:Yes it is. I just checked and only "last_day_ghosted.jpg" shows up on my index page as well.

One thing you can do is manually put in the "next_day_ghosted.jpg" image in your indextemplate.html instead of the ***next_day*** tag.
ORRRR you could put neither ***next_day*** nor ***last_day*** on the front page! Which simplifies everything!

Posted: Thu Sep 08, 2005 3:00 am
by Phalanx
http://longestsojourn.comicgenesis.com

I just directly link the images in my indextemplate. Since they don't need to be clicked a tag isn't needed anyway.

Almost the perfect solution. But...

Posted: Wed Sep 14, 2005 12:03 pm
by Avatar007
Unfortunately I can't just link the picture. Well, I could link the top navigation bar picture, but the bottom navigation bar is contained within my 20050901b.txt (etc.) files which are displayed in both the index.html page and the archive pages.

Is it possible that there's another workaround to this problem?

Posted: Wed Sep 14, 2005 3:53 pm
by Oualawouzou
Text comment files (such as 20050901b.txt) are converted to html at the time of update. So you can replace ***next_day*** in your text files with the proper html code to display your next_day_ghosted image.

Posted: Tue Sep 20, 2005 2:03 pm
by Avatar007
Text comment files (such as 20050901b.txt) are converted to html at the time of update. So you can replace ***next_day*** in your text files with the proper html code to display your next_day_ghosted image.
Except that in the archive pages -- where I want the actual button to be -- will instead be a static image.

Sorry to keep harping on the issue, but I would like to fix this issue.