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.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | nodequeue.inc_.v4.txt | 4.05 KB | James Andres |
| #4 | nodequeue.inc_.v3.txt | 4.05 KB | James Andres |
| #2 | nodequeue.inc_.v2.txt | 4.05 KB | James Andres |
| #1 | nodequeue.inc_.txt | 3.97 KB | damienmckenna |
Comments
Comment #1
damienmckennaComment #2
James Andres commentedI'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 thenodequeue_save()function? I think there is some wheel reinvention going on. Or am I missing something?Comment #3
damienmckennaYou have a point, I'll see about re-doing it.
edit
Oh, you already did X-) I'll take a look. Thanks.
Comment #4
James Andres commentedThis 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 :-).Comment #5
James Andres commentedActually the last one didn't fix much. This one is a better roll.
Comment #6
James Andres commentedCommitted to CVS.