I want hide comment form on node pages but show it in popup when a comment link is clicked.If the user is not logged in, the comment link should display login form. Should i do it inside preprocess function?i am using comment form in panel and hook_page_alter is showing rendered output of the comment form when i dsm it...any tips or help?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.