Hey there,

I've got drupal 6 running on a fashion/blog site:(http://www.chicktellectual.com) and since most content is blog-based, I'd like to attach a poll to blog entries, rather than have them be free-floating. I don't see how this can be done. I see some modules to add this kind of feature but they are all under development for 6.x, and even so it's unclear from the docs if they will work. For example:

Advanced poll: replaces polls, which means my entry won't act like a blog entry anymore, and won't show up under "so-and-so's blog", so I can't use that, unless there's a way to get other node types behave like blogs.

Pollfield is a cck field which is cool and sounds perfect, but has not been ported to 6.x. Note that proposals like the one here: http://drupal.org/node/61676 could be changed into just updating pollfield to 6.x and addressing bugs, etc.

Attached Node is a module that allows you to link nodes and seems cool, flexible and simple, but looks like it never got past a 4.7 dev snapshot.

Node Relativity has a 6.x dev snapshot, which i could try, but it seems complex, and from skimming the docs it looks like the nodes are linked, whereas I want my poll IN my blog entry, so people are more likely to respond.

So, it seems like a simple idea right? Blog entry... interactive question. all on one page. Am I missing something obvious? Thanks,

bjorn

Comments

vm’s picture

one method would be to use the views.module and panels.module to put the node in one panel and the poll in another.

There are other methods using other contrib modules.

insertblock may also work.

bejayoharen’s picture

Thanks VM,

I will look into those options. Panels is a big module just for this feature (plus it's unclear if it would allow you to create a node that behaves like a blog entry), but it's something I've been considering anyway. Insertblock is barely documented. It would be great if developers took a few minutes to write "This module does blah.... You can use it, for example to blip your kaddoddles...." :-P

Thanks for the tips!

bjorn

vm’s picture

another option would be to use quicktabs.module, putting the poll on a tab inside the node being viewed.

bejayoharen’s picture

Forgot to mention another possibility. Someone mentioned here http://drupal.org/node/219285 thet they tried this:

$poll = node_load(array('nid' => '30'));
$output = drupal_render($poll->content);
print $output;

but that the content failed to render. Even if it did render, it's unclear that the form would be properly sent without reloading the page, although I suppose reloading the page would be okay. Maybe loading the node in an iframe would work better? I'm not sure how to do that without loading the whole page template.

Witch’s picture

hi bejayoharen,

what is that for a nice slideshow solution using on the frontpage? it looks very good.

are you a goth? if yes, wait 2 weeks. then will i release my goth community site...

greetz from berlin

bejayoharen’s picture

That's ddblock. It takes a while to configure, but it was worth it for me.

I'm not a goth -- at least not anymore -- but we get a lot of goth ads on our site, maybe because we mention a lot of goth fashions. ha ha! Feel free to send me a link to your site privately when it's running.

bjorn

dnewkerk’s picture

Interested as well... following.

-- David
davidnewkerk.com | absolutecross.com
View my Drupal lessons & guides

sus2701’s picture

Pretty tiers sets this comfortable knit dress apart. Embrace

trendy peasant styling with short sleeves and tiered layers.

Fashionably versatile, it's perfect for workday or weekend.
Free overnight shipping on Clothing! Shoulder through the

wide-eyed tourists and their sidewalk traffic jam.

Fashionably late has its limits, though in this Fred Perry

shirt dress, you might be able to stretch them.
Fashionably

bejayoharen’s picture

I tried insert node (insert block may work but then I'd have to turn my poll into a block first, when it is naturally a node) and it didn't seem to work. Granted, I had not published my poll yet, but it was able to show the body of other unpublished nodes, and not the body of a poll, just title and creator's avatar.

I also played with panels a bit, but I don't want to waste my time with something so huge for such a simple task. Plus I think I will need to create a new node, which is not what I want, since I want the page to continue to act like a blog entry.

I don't want my poll to appear on a separate tab or anything: I want it to appear below the entry, above the comments.

bjorn

MaffooClock’s picture

My two cents: I'm totally with bjorn on this. In fact, I've been wondering why this wasn't s standard feature a long time ago? Sometimes the poll title field just isn't enough.

My use is a little different than bjorn's, but the requirement is the same. I mostly use the blog feature of Drupal. In many of my posts, I invite the reader to express his or her opinion. It would be nice if the polls could appear with the blog entries -- free-floating just isn't suitable for my site.

Anyway, nothing to contribute -- just thought I'd throw in my opinion in hopes that someone looking for a project to tackle may become interested in developing a module for this :).

vm’s picture

someone just needs to take the time to port this to drupal 6.x = http://drupal.org/project/pollfield