After upgrading to 2.9 the mentioned behaviour doesn't work anymore for an imagefield.
Workaround is to "Rewrite the output of this field" and to add the link manually.

To reproduce:
- Make new view (viewtype node)
- Choose a field (Node title)
- Select "Output this field as a link"
- Enter "" as link path
- Preview! No link shows up
- Enter another path (eg "test")
- Preview! Link to "test" shows up

Is this by design now?
cheers, Ronald

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Component: field data » Code

There was a feature request, that if you enter to linkpath, it should be displayed as text.

IF you want to link to the frontpage you can use

rokr’s picture

In the description above something got lost.
'Enter "" as link path' means 'Enter "<front>" as link path'

@dereine: "you can use" ...?

cheers, rokr

merlinofchaos’s picture

Hm. Maybe the <front> check is happening *prior* to the empty path check? And we need to move it?

dawehner’s picture

No this cannot be. Front is translated in url()

rokr’s picture

Attached is an exported view as requested by dereine.
It exactly represents the steps above to reproduce the behaviour.

cheers, Ronald

dawehner’s picture

Status: Active » Needs review
FileSize
1.01 KB

Here is a patch for this

merlinofchaos’s picture

Status: Needs review » Fixed

Committed to all branches.

rokr’s picture

This works for me, tanks for quick response.

cheers, Ronald

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.