Hallo!
I am very happy with my new s9y, but i have a little problem:
I would like to limit the shown entries at the mainpage.
My s9y is mainly used as photoblog with big photos, so i would like to limit the entries to 4 or 5.....
I found no possibility to adjust this on my adminpage.
PLEASE HELP!
http://www.licht-klick.de
How to adjust number of entries at Homepage?
How to adjust number of entries at Homepage?
Ad your blog at blog-sucher.de
in 0.8 this can be done in the configuration, in 0.7 you have to edit layout.php and look for the number 15. I think there is another thread on this, so try and search the forum.
Tom Sommer (Serendipity Core Developer)
http://blog.dreamcoder.dk
http://blog.dreamcoder.dk
It didnt work...
I am sorry, but it didnt work.tomsommer wrote:in 0.8 this can be done in the configuration, in 0.7 you have to edit layout.php and look for the number 15. I think there is another thread on this, so try and search the forum.
I am using Serendipity v.0.7.1 and i found serendipity_layout.inc.php and serendipity_layout_table.inc.php.
On both i changed the 15 to 5, but it didnt work.....
Then i also changed the following part: (line 45 from serendipity_layout_table.inc.php) serendipity_printEntries(serendipity_fetchEntries($serendipity["GET"]["range"], true, 5));
Even this change brought nu results....
Ad your blog at blog-sucher.de
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: It didnt work...
No, Tom talked about "layout.php". That file is inside your templates/ directory, in the directory of the template you're using. There you need to change the 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: It didnt work...
Hallo, and thank you for your quick answer!garvinhicking wrote:No, Tom talked about "layout.php". That file is inside your templates/ directory, in the directory of the template you're using. There you need to change the number...
Regards,
Garvin
But: In the Themefolder, i am using (idea), there is no layout.php!
Ad your blog at blog-sucher.de
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: It didnt work...
No problem, then s9y uses the default 'layout.php' which is in templates/default/layout.php 
(It's all easier in 0.8, we told you
)
Regards,
Garvin
(It's all easier in 0.8, we told you
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 tried to make the change in the tempates/default - folder, and it works!

Ad your blog at blog-sucher.de