Hi sivaji, <br><br> Whats your implementation of hook_access? What all permissions you have defined for importing quiz items? Is your complete code available somewhere online? <br><br>dipen<br><br>
<br><br><div class="gmail_quote">On Fri, Jul 24, 2009 at 1:21 PM, sivaji j.g <span dir="ltr">&lt;<a href="mailto:sivaji2009@gmail.com">sivaji2009@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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. <br>

<br>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 <a href="http://drupalbin.com/10639" target="_blank">http://drupalbin.com/10639</a> . 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 ?<br>

Any help will be greatly appreciated. <br><br><br clear="all"><br>-- <br>Thanks<br><font color="#888888">Sivaji<br>
</font></blockquote></div><br>