Closed (outdated)
Project:
Rate
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Mar 2011 at 23:37 UTC
Updated:
3 Jul 2019 at 07:51 UTC
Jump to comment: Most recent
Comments
Comment #1
rcaracaus commentedworks for me using colorbox.. try colorbox.
Comment #2
BJ___ commentedThanks rcaracaus.
I realized that the reason for this problem is because the default lightbox mode when using a lightbox trigger in views is [lightmodal] it doesn't like the ajax post and closes the lightbox after being clicked.
I needed to get it to use [lightframe] not the easiest task in the world.
I solved the problem with some fairly ugly hacking by firstly editing the lightbox module
Described here http://drupal.org/node/483798#comment-4305132 by @dosborn @tiato
I could then create a custom lightbox trigger in my view and use the iframe setting.
Also This post describes how to deal with lighbox iframe template issues
http://drupal.org/node/252260
Might have been easier to just us colorbox :)
This is not a Rate module issue so it should probably be closed
Comment #3
simons commentedCould you please explain how to use it with colorbox... thanks
Comment #4
BJ___ commentedHi Simons,
It's been a while since I have done this so I can give you a brief overview. If you get stuck let me know and I'll get back to you.
The basic idea is that you will download both the color box and rate module. You will also need the views module.
You will then create a view adding the rate field into you view. When you choose a display, you will pick colorbox for your display.
If this sounds too basic I can try and get a bit more technical, but again it was a while since I did this. I also used lightbox instead.
I think that colorbox is the more popular choice these days.
Comment #5
simons commentedThanks BJ for your reply. Yes I prefer colorbox because it's faster.
Anyway, I installed lightbox and followed your instructions but unfortunately i still can't get it to work. I can only view the vote results (from the rate module) in lightbox but not sure how to display the rate widget so users can rate an image in lightbox.
Comment #6
BJ___ commentedTruthfully it's been a long time since I did this with lightbox. I would have to try it again to give you anymore help. Does it work for you in Colorbox though ?
Colorbox is a much more popular choice these days. If it works for you using colorbox I would simply just use that. If not. If I get some time I can try looking at how I did it with lightbox.
Comment #7
simons commentedNo I can't get it to work in colorbox as well.... Whenever you get a chance I would appreciate some guidelines.... thanks
Comment #8
lamp5