I think that by default are 15 posts. How can I change it? I have not found it...
Thanks!
Change number of posts al home page
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Change number of posts al home page
Serendipity 0.8: Configuration, Numer of frontpage entries
Regards,
Garvin
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/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Change number of posts al home page
Please search the forums - you'll need to edit your layout.php file and replace 15 with your wanted number.
Regards,
garvin
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/
Re: Change number of posts al home page
I changed 15 for 25, but apparently it does not work:
And I have proven it with another navigator.
Code: Select all
# cat serendipity_layout* |grep -i 25
serendipity_printEntries(serendipity_fetchEntries(null, true, 25));
serendipity_printEntries(serendipity_fetchEntries(null, true, 25));
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Change number of posts al home page
I told you to change your layout.php file inside the templates/ directory
The serendipity_layout.inc.php has nothing to do with that, it was outdated and removed in Serendipity 0.8
So please try again
Regards,
Garvin
The serendipity_layout.inc.php has nothing to do with that, it was outdated and removed in Serendipity 0.8
So please try again
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/
Re: Change number of posts al home page
It works good now
You told layout.php, but not inside /templates/default/ (confusions...)
Thanks for your time!
You told layout.php, but not inside /templates/default/ (confusions...)
Thanks for your time!
along those lines
I wanted to have only the sticky post on the main page and all the posts availiable under the catagories show...how to do that?
Thank you!
Thank you!
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: along those lines
You would need to write a plugin for that, as there currently is no plugin available for that.
I once posted a solution to this forum how to only show postings of a certain category on the startpage and only show other postings once you click on different categories.
Thus you could create a category "Mainpage" or "Sticky Postings" and make that the default category. For this you'd need to hack the index.php page or write a plugin for that - I think I've described it fairly well, so please search the forum for that.
Regards,
Garvin
I once posted a solution to this forum how to only show postings of a certain category on the startpage and only show other postings once you click on different categories.
Thus you could create a category "Mainpage" or "Sticky Postings" and make that the default category. For this you'd need to hack the index.php page or write a plugin for that - I think I've described it fairly well, so please search the forum for that.
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/
Thank you
I appreciate your readiness to heelp us in need.
Thank you for making s9y the great appz. that it is.
Thank you for making s9y the great appz. that it is.