Hey there,
New to Drupal and CMS in general. Have to say I think that its pretty sweet. So I playing around with it. At the moment I'm trying to make the front page display the newest users instead of the various stories.
I'm thinking that I have to change something in page.tpl.php. As far as I can see I need to change $content. I'm thinking of creting a custom SQL statement that queries the database for the users. But will this generate various pages automatically as the default. For example first ten newest users will be on page 1 then the next ten on page 2 etc.
Thanks in advance for everyones help.
Comments
you could put the newest
you could put the newest users block on the front page : )
Didn't think of that
I must say that I didn't think of that. Unfortunately, it only displays the users in point form without any information about them (well at least that is what I observe from my current tests). Sorry about that, should have it my thoughts clearer. For example I would like to display users along with some information from custom fields.
in that case you may want to
in that case you may want to take a look at the views module which is extremely powerful.
Thanks for the direction
Will look into the module. Thanks for the help. So many modules, man is hard finding the right one. Oh well, no pain no gain.
because it is highly likely
because it is highly likely your next question will be , how the heck does views work ? : )
heres one example http://drupal.org/node/63230
Can't seem to get it
Can't seem to get it to work the way I want it to. From what I understand the views module are for customised look 'node lists'. I don't really want to look at the 'node lists', but look at the list of 'users' instead. Then display that out. Any other suggestions, or am I just missing something completely.
Got it
Nvermind. I think I got a way to do it. Making use of front_page and using an php to query the database gives me a way to do it.
Thanks for all the help.