Closed (fixed)
Project:
View reference
Version:
6.x-2.21
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Sep 2009 at 21:34 UTC
Updated:
4 Oct 2009 at 10:20 UTC
I'm trying to display the title of certain views at the top of where they are displayed using viewreference. I've looked around a lot, but haven't come up with a way to do this. Currently, I can't seem to get the title of any view displayed through viewreference. Any help would be appreciated!
thanks!
Comments
Comment #1
danielb commentedDo you want just the title ? This can be done through the 'display fields' section in CCK.
If you want the title and the executed view you may have to override the theme function as I don't think there is a 'full' formatter atm.
Comment #2
petrelharp commentedGreat! Thanks a ton! I do want the title along with the full view, and couldn't figure out the right place to do that. It seems like that'd be a good thing to have a checkbox to do, somewhere. Perhaps I'll try to figure out how to add that option.
There is just one minor correction to the code, fixed below -- it should be
check_plain($title), notcheck_plain($view->title:Comment #3
danielb commentedi'll put this into the module so it won't be an issue for others in the future :P
Comment #4
petrelharp commentedRad. =)
Comment #5
danielb commented