I've been searching the forums and can't seem to find any information in regards to showing the node preview on a separate page. Having the form on the preview page causes long pages and never ending scrolling.

Is there anyway to have the preview of a node on a separate page and on the preview page only displaying a submit and edit/back to node form node button?

Comments

mooffie’s picture

You can use CSS to set the height for the preview area (and display a vertical scrollbar; look up the "overflow" property).

You can even show the preview area to the right of the form (you'll probably want to cancel the right/left sidebars to make some space, but this will involve a bit of coding in template.php).

(But I don't quite understand the question: if the user clicks "preview", he wants to see the "long pages", doesn't he?)

walker2238’s picture

Sorry, your right I might not have explained it very well.

Currently when you preview a node it shows the preview of the node at the top... For my case it's the same as it would appear on the node page for the most part. Then below the preview you have the node form.

What I want it to only have the node preview when a user clicks to preview his or her node. Leaving out the node form. The reason being is if a user writes a node which has say 2000 words or so this creates a long page. I don't like overly long pages, and to me it makes more sense to have the node form standalone. So when the user does preview the node they can either submit the node from the preview or go back to the node form to continue making changes.

Does that make sense?

- preview of node only contains the node preview along with a node submit button and a button to go back to the node form.

pragna’s picture

I have same task, I want to set preview of node in separate page with back button.
is there any module or technique available?

Thanks in advance.

Pragna J Bhalsod

sassafrass’s picture

I would like to do the very same thing...preview on one page, edit form on another. I have been looking at the Page Preview module (http://drupal.org/project/pagepreview) code to get ideas. Has anyone come up with a solution they'd like to share?

Lynn Haas