Hello to all contributors. Thanks a lot for great module !

When i edit views which has been created a long time ago, i need some time to understand the purpose (goal) of that view.
Instead, if every Views Display will have a "comment region/field" we will write there some comments about that views.
See attached image to see what i mean.

An another example. I have a view which has about 10 block displays. The difference between this Displays is only the ImageCach preset used for image fields. And it is very difficult to remember where every ImageCache presset is used. So, a small field for writing comments can make "my work with views" quicker and easier.

Thanks.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

intyms’s picture

FileSize
65.52 KB

here is the attachment.

Letharion’s picture

Category: feature » task

Feature request is useful, but no-one has stepped up. Moving to unassigned task list.

Letharion’s picture

Assigned: Unassigned » Letharion
Status: Active » Needs review
FileSize
1.42 KB

Patch to add comment field

Letharion’s picture

FileSize
2.03 KB

Update after dereine's feedback

dawehner’s picture

What about 'Comment or document display' => 'Comment or document this display'?
I'm not sure whether it should be translatable. It will never be used on the page itself, so...

Letharion’s picture

FileSize
2.05 KB

Update after dereine's feedback

Letharion’s picture

FileSize
2.02 KB

Update again

Letharion’s picture

Assigned: Letharion » dawehner

@dereine
Not sure what happened to this one. Merlin said to assign it to you :)

dawehner’s picture

Assigned: dawehner » Letharion
FileSize
2.18 KB

This doesn't save :)

Here is a new patch. The patch also changes the admin ui text.

merlinofchaos’s picture

Status: Needs review » Needs work
+        $form['#title'] .= t('This display\'s comments');

It's easiest on translator's to put that in double quotes so we don't have to escape the ' -- that's the only time we're actually encouraged to use " on t(). Otherwise this looks good.

dawehner’s picture

Status: Needs work » Needs review
FileSize
2.19 KB

A rerole basd on #10

merlinofchaos’s picture

Status: Needs review » Fixed

Committed to all 3.x branches.

Status: Fixed » Closed (fixed)

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

johnv’s picture