Hi just wondered what the plans were for a Drupal 7 version of this brilliant module. I couldn't find any other issue with the word port in its title. Apologies if this is a duplicate

CommentFileSizeAuthor
#3 views_node_area.tgz1.25 KBdboune

Comments

joachim’s picture

The matter is more how to port it to Views 3. Or even if it needs it -- I seem to remember seeing something else that does this sort of thing on Views 3.

miiimooo’s picture

Any idea what that was?

dboune’s picture

StatusFileSize
new1.25 KB

You can use an attachment, or a View area, to include a specific node using another view. I suppose that might be a bit heavy.

I wanted something like this for a small site using D7 tonight, so I made a little views area handler as a module. Please note that this code is not fully tested, lacks features, and I haven't done anything with drupal modules in quite some time. In short, it probably sucks, people will be offended, and kittens will be killed. Feel free to adapt it into something more useful if you like.

It's a very simple module which allows you to plug a node into any views location where an area handler is supported. Node selection is done via a select, which I imagine would be horrible on any site with more than a few pages. Options to select the node view mode, and strip the node title, are included. A nice side effect is that it is possible to edit the inserted node from the rendered view.

tgz attached.. a patch somehow seemed inappropriate. Have fun :)

basicmagic.net’s picture

subscribe

joachim’s picture

Looks pretty good.

Though I notice you've given it a different module name -- are you suggesting this project migrate over to that name?

dboune’s picture

Hi Joachim, sorry for the delayed response.. I just used a different name in order to prevent a collision with your module in my system. If you like the name, it's yours! Unfortunately I have no time to maintain or do much of anything really, I hadn't even visited drupal.org since I made that post.. I just had to make something work, and fast, so I shuffled the result off to my fasted impression of the nearest person of interest (you). Do with it as you will.. Sorry I can't be of more help :(