A set of functions to create nodequeues would be great.

Here's one I made earlier. It doesn't have lots of functions for removing nodequeues, just for adding them.

Comments

damienmckenna’s picture

StatusFileSize
new3.97 KB
James Andres’s picture

StatusFileSize
new4.05 KB

I'm testing this actively right now. The only issue I've found so far is the default views are not created. This update clears the views cache which rebuilds all default views.

One thought, for install_nodequeue_create() what about just calling the nodequeue_save() function? I think there is some wheel reinvention going on. Or am I missing something?

damienmckenna’s picture

You have a point, I'll see about re-doing it.

edit
Oh, you already did X-) I'll take a look. Thanks.

James Andres’s picture

StatusFileSize
new4.05 KB

This new .inc fixes a problem with the SQL in install_nodequeue_add_sub. This one works well for me, if no complaints I will commit :-).

James Andres’s picture

StatusFileSize
new4.05 KB

Actually the last one didn't fix much. This one is a better roll.

James Andres’s picture

Status: Needs review » Fixed

Committed to CVS.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.