PDA

View Full Version : Properly coping with empty tags


aquila
02-10-2008, 09:48 AM
(I'm absolutely new to this software so I might think too much in terms of other solutions, but I'd love to try pixelpost as it clearly seems the best option for photoblogs.)

I'd like to cope with empty tags in a nice way. When e.g. the previous or the next tag is empty, I get empty spans in my html code. That's not bad, but it gives validator warnings.
Worse is that when I have assigned no categories to an image, the "Categories: " part still appears on the page. I'd like to remove that, and only show this when there are categories assigned. Is there a way to do this without hacking index.php?

I'm having almost the same problem when assigning just 1 category. The result is a page where I get: "Categories: default, ". I'd like to get rid of the comma, because I'd like my site to be really clean.
I can't find any way of doing that, index.php seems to hardcode adding the end delimiter. Am I looking the wrong way or should I hack it in / put it in an addon myself?

Dkozikowski
02-10-2008, 01:30 PM
For your category start/end delimiter:

Admin >> Options >> Template >> CATEGORY LINKS FORMAT

aquila
02-10-2008, 02:37 PM
Thanks for your help but that doesn't help for the output, I now get:
"Category: something - "
So how can I remove that delimiter?

TunaFish
02-21-2008, 11:33 PM
I am just looking for the same thing.. get rid of the last category delimiter.
BUMP!

I bet that needs hacking.. a pitty.