Page 1 of 1

joshua_nino question

Posted: Fri Jun 02, 2006 2:46 am
by neov
I'm trying to remove the trackbacks and comments from entries using this theme, but I'm not having much luck. I'm assuming that since there is no "entires.tpl" file that this is controlled by the "style.css" file. My problem is that I have no clue as to which section of that file does this, or even if I'm in the right place.

Any help would be greatly appreciated.

Posted: Fri Jun 02, 2006 5:35 am
by carl_galloway
That's a great looking theme and I'm sure you'll be happy with it once you've solved this problem. The way it works is that if a theme doesn't have the file you're looking for then Serendipity uses the file with the same name from the default theme.

So what you want to do is copy the entries.tpl file from the default theme into your joshua-nino folder, then you just need to delete the sections that deal with comments and trackbacks. There should be two main sections, the counter in your entry footer, and then some code further down that displays theme if you're in detail mode. Shouldn't be too hard to figure out which bits you need to delete and I'm not at my regular PC so I can't include any code or line numbers. I'm sure someone else will come along soon who'll be able to provide these if you get stuck.

Posted: Fri Jun 02, 2006 12:39 pm
by neov
Carl, I did as you suggested, using an "entires.tpl" file for another category that I have working the way I want it to and it worked great except for one thing. I ended up with " DATE_FORMAT_ENTRY_ANDREAS" in the title line. Other than that, it works just fine. Any idea what's causing the problem?

Posted: Fri Jun 02, 2006 12:47 pm
by neov
Never mind. I used a different "entries.tpl" file from a category that was similar in format and it worked great.

Thanks Carl!