[development] node_preview return access denied page

Dipen dipench at gmail.com
Fri Jul 24 08:10:55 UTC 2009


Hi sivaji,

 Whats your implementation of hook_access? What all permissions you have
defined for importing quiz items? Is your complete code available somewhere
online?

dipen



On Fri, Jul 24, 2009 at 1:21 PM, sivaji j.g <sivaji2009 at gmail.com> wrote:

> I am working on quiz questions import module. This module allows quiz
> authors to create bulk of questions from csv text files. I have no problem
> in creating questions node from imported file and saving it to database.
>
> I would like to show a preview of import question (which are nodes) before
> they get saved into database. Node object generated from file looks like
> http://drupalbin.com/10639 . When i call node_view or node_preview with
> this node object it returns access denied page. Is there anything i need to
> do before calling node_preview ?
> Any help will be greatly appreciated.
>
>
>
> --
> Thanks
> Sivaji
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.drupal.org/pipermail/development/attachments/20090724/c61a3b76/attachment.htm>


More information about the development mailing list