|
List Info
Thread: Node title in Preview mode
|
|
| Node title in Preview mode |

|
2008-03-26 03:02:57 |
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?
Thanks!
a
|
|
| Re: Node title in Preview mode |

|
2008-03-26 16:44:19 |
Yes. Wouldn't it be easier just to remove the link?
I don't think users expect to see the node title with a
link
pointing to somewhere. And definitely this place is not
"/node".
Florian - I would appreciate if you shared your patch with
us.
Cheers, guys!
a
On 26 Mar 2008, at 16:21, Florian Loretan wrote:
> On Wed, Mar 26, 2008 at 11:39 AM, Neil Drumm
> <drumm delocalizedham.com> wrote:
> 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.
>
> I actually wrote something like that on fastcompany.com
at the
> client's request, adding a title attribute to these
links with the
> text "Links are disabled during preview.",
and since then we
> haven't had any complaints of lost content.
>
> I'll make a patch for this when I get back from lunch.
|
|
| Re: Node title in Preview mode |

|
2008-03-26 14:21:01 |
|
On Wed, Mar 26, 2008 at 11:39 AM, Neil Drumm < drumm delocalizedham.com">drumm delocalizedham.com> wrote:
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. I actually wrote something like that on fastcompany.com at the client';s request, adding a title attribute to these links with the text "Links are disabled during preview.", and since then we haven't had any complaints of lost content.
I'll make a patch for this when I get back from lunch.
|
| Re: Node title in Preview mode |

|
2008-03-26 18:03:46 |
|
For those interested, the patch is here: http://drupal.org/node/239132
|
| Re: Node title in Preview mode |

|
2008-03-26 16:55:03 |
|
Won't <a href="#"> fix that?
m.
On Wed, Mar 26, 2008 at 9:44 PM, Andre Avorio < andre  andreavori o.com">andre andreavorio.com> wrote:
Yes. Wouldn';t it be easier just to remove the link?
I don't think users expect to see the node title with a link
pointing to somewhere. And definitely this place is not "/node".
Florian - I would appreciate if you shared your patch with us.
Cheers, guys!
a
On 26 Mar 2008, at 16:21, Florian Loretan wrote:
& gt; On Wed, Mar 26, 2008 at 11:39 AM, Neil Drumm
> < drumm delocalizedham.com">drumm delocalizedham.com> wrote:
> 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.
>
> I actually wrote something like that on fastcompany.com at the
> client';s request, adding a title attribute to these links with the
> text "Links are disabled during preview.", and since then we
> haven't had any complaints of lost content.
>
> I'll make a patch for this when I get back from lunch.
|
| Re: Node title in Preview mode |

|
2008-03-26 17:21:33 |
The title, and enclosing link, shouldn't be changed or
removed since
the preview is supposed to be a preview.
On Wed, Mar 26, 2008 at 2:44 PM, Andre Avorio <andre andreavorio.com> wrote:
> Yes. Wouldn't it be easier just to remove the link?
>
> I don't think users expect to see the node title with
a link
> pointing to somewhere. And definitely this place is
not "/node".
>
> Florian - I would appreciate if you shared your patch
with us.
>
> Cheers, guys!
>
> a
>
>
>
>
> On 26 Mar 2008, at 16:21, Florian Loretan wrote:
> > On Wed, Mar 26, 2008 at 11:39 AM, Neil Drumm
> > <drumm delocalizedham.com> wrote:
> > 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.
> >
> > I actually wrote something like that on
fastcompany.com at the
> > client's request, adding a title attribute to
these links with the
> > text "Links are disabled during
preview.", and since then we
> > haven't had any complaints of lost content.
> >
> > I'll make a patch for this when I get back from
lunch.
>
>
--
Neil Drumm
http://delocalizedham.com
a>
|
|
[1-6]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|