Hi there,

I wanted the titles of Views to be disapperead when a page is shown which contains two View references.
Therefor I set the title of the Views to "<none>".

This leads to two side effects:
a) In admin/content/node-type/page/fields/field_view_reference the titles of the Views are gone although there are lines with checkboxes for activating.
b) In the page itself the Pull-Down-Menu of the available View references shows only "<none>".

Is it possible to enhance this very nice modul?

thx,
Maschi

CommentFileSizeAuthor
#4 viewreference_title.zip98.44 KBmaschi

Comments

danielb’s picture

I'm not quite sure I understand - you're setting views displays titles to "<none>" and then they appear blank or not at all in the select list on the node edit page?
Does the view reference field option "Append unique ID in lists." help this situation?

danielb’s picture

Category: feature » support
Status: Active » Fixed

If that isn't suitable, it is also possible to theme the titles in those options to be displayed however you like.

I don't think there is much else I can suggest for your case, unless I've misunderstood.

Status: Fixed » Closed (fixed)

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

maschi’s picture

Version: 6.x-3.2 » 6.x-3.5
Status: Closed (fixed) » Active
StatusFileSize
new98.44 KB

Hi,

sorry for late answering. I missed your replies.

And sorry for being unclear.
I attached four screenshots for better understanding (I hope).

In picture "view_title.png" I set the title of the view to "<none>" to avoid showing the title of the view in the content type in which I reference the view. I did this for several views, too.
After that in
Content types -> Edit page -> Manage fields -> View Reference -> Configure -> Global settings
the title of the views are not shown anymore. (See picture "viewreference_configure.png")
If I edit a page the available View References for this content type are all shown as "<none>". (See picture "node_viewreference.png".)

After activating "Append unique ID in lists" the available View References for this content type are distinguishable. Also in Content types -> Edit page -> Manage fields -> View Reference -> Configure -> Global settings.
Therefor your suggestion works.

What I intended with opening this issue is to show the view titles in the "Global settings" and in "Input Format ->View Reference", although the titles are set to <none>, but not in the content type in which I reference these views.

I set the Status to active again to await your reply and the version to 6.x-3.5 because in this version the effect occurs, too.

thx in advance,
Maschi

danielb’s picture

lol ok I see, it actually is coming up as <none>, I will look into it

danielb’s picture

Is it a normal thing to set the view's title to <none> ? You know you can just leave it blank?
I think the correct thing to do is to give it a proper title, and then hide it with CSS if you don't want it displayed.
I don't see anything in the Views UI suggesting use of <none>, I think the only reason it seems to work is that it gets converted to invalid HTML <none></none> by the browser.

danielb’s picture

Status: Active » Closed (works as designed)

At this stage I don't think I should do anything about this, since there is no documented usage of <none> in Views titles.