Posted by spessex on December 19, 2012 at 7:49pm
Does anyone know of a way to show a 'view' in the edit page of a content type (I can show it in the usual view page i.e. not edit)?
Basically when the user is editing the content type he needs to see the view (by somehow adding it as a field type?).
Any help would be most appreciated.
Thank you
Stephen
Comments
perhaps using Panels
It depends on what you are trying to accomplish: you can use Panels to get more flexibilty on what is displayed on the node edit screen, but perhaps this s is overkill.
Can you detail your need a little bit more?
Hi, (1) create a block with
Hi,
(1) create a block with your view
(2) download the context module (http://drupal.org/project/context) and enable Context UI
(3) if your users see a different theme when they are editing a node, temporarily set your site's default theme to the administration theme
(4) create a new context
(5) in your context, make the condition "node type" and select your node type, then select "only on edit form" (or something like that)
(6) in your reaction, select block, and place the block you just created with your view in the correct region (you will only see regions in the active theme, hence step 3, above.
(7) save your context and reset your default theme if necessary.
Cheers,
Albert.
Cheers!
Cheers Albert! That's bloody fantastic (tested and it's doing exactly what I want it to). That's saved me loads of work.
A number of directions to go...
But you might want to check viewfield out:
http://drupal.org/project/viewfield
Thank you
Thanks to everyone who's offered help. Albert's instructions have achieved exactly what is required.