List Stories by date?

hello everybody..

Hope someone can help me with this.

I need my main page to display the stories grouped by date.

To explain more.

I need it look something like http://www.macworld.com/news/

I tried search but after 3 hours or more of nothing I'm turning to you.

Any help would be appreciated.

Hierarchical permissions including managing users

I have been seriously looking at Drupal lately because of the core features and mods.

I would like to find a way to give hierarchical permissions according to the example below:

I currently have a large site with about 200 content writers and admins. The site has different departments such as "Youth Department" and "Christian Education". It is also organized in other ways, such as by region or ministry.

Error message in the "Views" module

Hi,

I had a 4.6 website with the 4.6 version of views, and it worked perfectly.
Now I created a 4.7 website, with the 4.7 version of views, and when I activate the module I have the following message :

Fatal error: Call to undefined function: drupal_get_path() in c:\program files\easyphp1-8\www\modules\views\views.module on line 52

And after that my website does not work anymore, I have to remove the "views" folder from my module directory.

So do you have any idea of what happened?

Thanks

3D-looking links in Blocks ?

I like websites with 3D-looking buttons, frames, banners etc. and I tried to implement these things in my theme CSS - with only partial success until now.
I.e.: I played around with background images for the sidebar blocks list tags (ul,ol,li), but while firefox renders fine, IE does its own things sometimes.
Does anybody know if there is a way to combine/convert node links of the sidebar blocks with/to graphic buttons ?

How to validate form elements (In a modified, but existing form) using 4.7 forms API?

Okay, perhaps I'm just easily confused, but I cannot make heads or tails out of form validation.

I am attempting to perform validation on a field that has been added to an existing form.

I've added a textfield to the form that appears on admin/settings/content-types/(nodetype), and I want to be able to make sure that a positive integer is entered into that field.

I'm attempting to create a very simple module to limit the number of nodes that can be created per user, per node type, and I wanted to add a field to the admin/settings/content-types/(nodetype) page, where the admin could enter an integer for how many nodes of that type that each user could create.

Now, the easy part was creating the alter_form thingy, to add the appropriate field to the form. I got that working just fine. It saves to the database properly and everything.

But then I wanted to make sure that the admin entered an a positive integer or zero. Glancing through the API, I'd seen an attribute for form elements, "#validate", and thought it would be simple. Here I sit, eight hours later, completely frazzled.

The sample code on the Forms API Reference page either doesn't work, or I completely don't understand it.

The code in the Forms API FAQ entry (http://drupal.org/node/36899) under "How do you use the #validation arguments?" doesn't even _look_ like it would work (no quotes around #valid or #validation arguments)

How do I change the order of the pieces when a story is in a book with an attachment

I've started a site using 4.7 beta 4. But this is the same in 4.6.

I created a story. The story has an attachment. I then added the story to the outline of a book. The resulting page places the book navigation in between the body text of the story and the attachment list. It makes the attachment look like a separate item from the story itself.

How do I change the order of these items?

In node.tpl.php, I have:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.7.x