This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Views Help

Does anyone know how I would skip a number of nodes when doing a view.

Ie: ONE view has the first 3 nodes with TITLE, BODY and FULL TEASER

The next view has The next three nodes (or SKIP the first THREE nodes) with just title...

Then I place them on the same page... the first view shows a more in depth view of the articles... the next one just shows a title link to the older articles....

So whenever I do a new article it doesn't double up

Thanks in advance. JD

Ldap integration

Was anyone able to get Ldap integration module to work with version 5?
I copied the files to the module folder but nothing is showing up on the admin->module section.

Anyone got code on how to use node_add to create nodes?

Let's say you have a url like this:

http://drupalsite.com/node/add/flexinode-3?edit[og_groups][]=72

I want to use node_add to create this node.

I know you would do something like:

echo node_add('flexinode-3');

But, how do I set the group context or validate other stuff in the form before it's submitted?

Thanks for any guidance.

How to scale down image attachments?

Hello my fellow Drupalers ;)

I recently figoured out how to display an image attached to the article (thanks to this topic: http://drupal.org/node/63114#comment-136051). Yet I'd love to have a function to scale the image down a bit without invoking too much unneeded stuff (in other words - I don't want to play around with image module ;) ). Would anyone be so kind to paste me a piece of code that would create attachments' thumbnails? Is it a lot of work? Maybe there already is such a function?

CCK - Field with too many values

Hello all,

Pretty new with drupal so be patient with me :)
Im trying to create an eshop with inkjet cartridges and so far i am using e-commerce, CCK, views and few more modules.
The problem is that my products have compatibility issues so i need to link each one with a number of items from a huge list.
To be more specif: each ink is compatible with a number of printers.
I am not sure how to implement this.
Using CCK custom field value list seems too much for 500+ printer models.
Creating terms for each model...also dont sound good.

newbie RSS questions

I have RSS enabled, and basically working, but there a few things I need to know.

1) To get the feed to auto-update, I guess I have to do something with cron, but what? I know how to use cron, but what do I put in the cron file to update the RSS? I am using shared hosting (dot5hosting.com).

2) Can I edit the individual links? For example, I have 3 links in a row that reference the same story, can I delete one of them? Also, can I put small comments into a link - like PJ does on groklaw.net? Can I add a link that isn't already there?

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions