Please add this field....

CommentFileSizeAuthor
#2 581650-additional-single-view-2.patch667 bytescafuego
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tbillion’s picture

bump

cafuego’s picture

Status: Active » Needs review
FileSize
667 bytes

This functionality is current broken because the location.tpl.php template only prints $additional if $street is not empty. When rewriting fields in views, a user may choose to only show $additional and hide all other components. In that case the check always evaluates to FALSE in the template.

The easy fix is to add an extra check in the template file. Patch attached, which also wraps $additional in an extra span for theming convenience.

podarok’s picture

Version: 6.x-3.x-dev » 7.x-3.x-dev
Status: Needs review » Needs work

bumping version

podarok’s picture

Status: Needs work » Needs review
podarok’s picture

Version: 7.x-3.x-dev » 6.x-3.x-dev
Category: feature » task
Status: Needs review » Needs work

#2 commited pushed to 7.x-3.x
thanks

bumping version

podarok’s picture

Status: Needs work » Needs review
podarok’s picture

Version: 6.x-3.x-dev » 7.x-3.x-dev
Status: Needs review » Fixed

#2 commited pushed to 6.x-3.x
thanks!!!

Status: Fixed » Closed (fixed)

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