Newbie Has Blog Question...

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
karlbeau
Posts: 2
Joined: Fri Oct 24, 2008 9:22 pm

Newbie Has Blog Question...

Post by karlbeau »

Hello,

I apologize if this is a stupid question. I have created a blog at dwdining.com. My problem is that I can seem to get the posts to display anywhere except for the first page. And that display doesn't come with the form below it for adding comments. How do I display the posts in separate categories and with the comment form?

Thanks!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Newbie Has Blog Question...

Post by garvinhicking »

Hi!

By default, serendipity only shows entry overviews on the "start" and "category" pages. You have to click on an entry to view the entry form. Most blogs work like this, and it would be very confusing to have multiple entries on the page, each with their comment form.

I really suggest not do to that, it is very uncommon.

If you still want to make that happen, you would need to edit some templates files to create your own template variant. There you could remove some special Smarty IF-Checks that usually make sure the commentform is shown on the entry-detail page. By removing those, the comments would also show up on the overview pages.

You could try to do that by editing the file /templates/default/entries.tpl and at the very beginning insert this code:

Code: Select all

{assign var="is_single_entry" value="true"}
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
karlbeau
Posts: 2
Joined: Fri Oct 24, 2008 9:22 pm

Post by karlbeau »

Thanks for your response! However, that is where I am confused. I have published each of my posts within a category, but when I click the category - nothing shows up. It is as if the only way to see my posts is by scrolling through the first page. Is there a solution to this?

Thanks!
Karl M Beaudry
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Can you check which database type and version you are using? I belive this "no entries to print" error can only happen on very old MySQL Versions (3.23...).

Also, which other event plugins are you using? It might be that one of them could be responsible...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply