List Info

Thread: Re: Node title in Preview mode




Re: Node title in Preview mode
country flaguser name
United States
2008-03-26 07:02:28
Quoting Andre Avorio <andreandreavorio.com>:

> Hi there!
>
> Does anybody know why when previewing a node its title
> appears with a link to "/node"? I have seen
some users
> accidentally clicking on this link and loosing their
content.
>
> Is there a reason why the title appears with a link?
>

This is a support question.  The preview flows through all
of the 
normal node view methods and shows the teaser and the node
to the user 
as it would be if the user saves and publishes the node. 
However, I 
agree that it would be a nice feature that the preview link
would just 
wrap to itself.

Earnie -- http://for-my-kids.com/
-- http://give-me-an-offer.
com/


Re: Node title in Preview mode
user name
2008-03-26 13:39:06
No, I would say that is a bug. As far as I know, IE won't
keep the
form contents if the user clicks back after clicking away.
So in some
common cases, this will lose the user's data. Losing data is
generally
a bad thing.

A couple possible solutions which I haven't fully
thought-out:
- Attach a false-returning click event handler to '.preview
:link',
with some sort of "this is a preview" notification
to explain why
clicking is doing nothing.
- A whole draft & autosave system so incomplete posts
are never lost
under any normal circumstances.

On Wed, Mar 26, 2008 at 5:02 AM, Earnie Boyd
<earnieusers.sourceforge.net> wrote:
>
> Quoting Andre Avorio <andreandreavorio.com>:
>
>  > Hi there!
>  >
>  > Does anybody know why when previewing a node its
title
>  > appears with a link to "/node"? I have
seen some users
>  > accidentally clicking on this link and loosing
their content.
>  >
>  > Is there a reason why the title appears with a
link?
>  >
>
>  This is a support question.  The preview flows through
all of the
>  normal node view methods and shows the teaser and the
node to the user
>  as it would be if the user saves and publishes the
node.  However, I
>  agree that it would be a nice feature that the preview
link would just
>  wrap to itself.
>
>  Earnie -- http://for-my-kids.com/
>  -- http://give-me-an-offer.
com/
>
>



-- 
Neil Drumm
http://delocalizedham.com

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )