Closed (fixed)
Project:
Flexinode
Version:
master
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
3 Dec 2005 at 22:10 UTC
Updated:
8 Dec 2005 at 08:30 UTC
Jump to comment: Most recent file
This makes flexinode_access work. The hook is actually called with a string sometimes, so that is why that funky object creation is needed. The flexinode_node_name() part is correcting a typo.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | flexinode.module_2.diff | 912 bytes | drumm |
Comments
Comment #1
drummComment #2
drummComment #3
Mad Maks commentedi have just updated this module in my drupal cvs version and nobody but me (acces to everything) can view a page made by a flexinode. If a user ad a page and click submit he is redirected to the frontpage but the page is added to the system.
maybey a connected problem: pages with categories added in the form are since CVS not listed in the categorie list like: http://www.mysite.com/taxonomy/term/17
one positive thing: with the version of today users can add flexinode pages :-)
Comment #4
Mad Maks commentedi am not sure if the above comment has something to do with the patch. but as it is this is not fixed.
Comment #5
drummI tried to reproduce this problem on a clean CVS version of Drupal and Flexinode from a few minutes ago. I couldn't.
Comment #6
Mad Maks commentedhmm, thank for checking. will do a clean install of flexinode.
Comment #7
Mad Maks commentedjust for the record, i found my problem.
i have made a node-flexinode-1.tpl.php. it turns out that this page shows all the flexinodes even as they are in the moderation cue. But if you (as a anonymous user) click on read more link you are refused because the node is still in moderation (and as a superuser you are allowed to see the page).
the pages created last week are automaticly placed in the moderationcue and so they are not vissible for anonymous users but i was confusued by my custom made page.
sorry for the fuzz