What i'm looking for is to change the number of nodes per page, I need to set 1 nodes per page on frontpage but in other areas (tag terms pages, in my case free tagging) I need to show at last 10 nodes per page instead of one only

I found this setting on admin/content/node-settings only but it control everything, both frontpage and other pages

Comments

vm’s picture

have you considered the views.module ? with it you can create differnt "views" for different areas, although doing it this way will not be as simple as changing a setting in the admin area.

effebi’s picture

Yes but I "prefer" not using it for some reasons..

vm’s picture

views is a very powerful module , I'd set personal perference aside and take a deeper look into its documentation here in the handbooks. not having as part of your drupal toolkit can hinder ones ability to expand the horizons of their development.

ThatPerson’s picture

The views module (http://drupal.org/project/views) is right for you. There's a built-in front page substitute that you can set to display only one node per page. You will need to set the front page to this new one by going to Administer > Site configuration > Site info and change your front page there.

nancydru’s picture

How is stuff getting to your front page? Just don't have it promoted...

Nancy W.
now running 5 sites on Drupal so far
Drupal Cookbook (for New Drupallers)
Adding Hidden Design or How To notes in Your Database

effebi’s picture

it's one of ways i was thinking about

litzastark’s picture

Just wanted to share my solution to this, which might not work in all situations because it takes effect globally.

First, you can access the default # of nodes per page at admin/content/node-settings. This only lets you choose certain values, however (I'm using Drupal 5).

But I added this line to my preprocess function in template.php:

variable_set('default_nodes_main', 12);

...and it works like a charm! I hope this helps someone out.