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!
Newbie Has Blog Question...
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Newbie Has Blog Question...
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:
Regards,
Garvin
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"}
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/
# 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/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
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
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/
# 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/