Closed (fixed)
Project:
Frequently Asked Questions
Version:
5.x-2.5
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
1 Nov 2007 at 15:45 UTC
Updated:
4 Dec 2007 at 11:25 UTC
Jump to comment: Most recent file
Comments
Comment #1
nancydruOh, yes, I do mean on the "questions/answers in a new page" format.
Comment #2
nancydruHere's a patch for this. As you can see, it's pretty simple.
Comment #3
stella commentedHi,
I liked this idea but unfortunately not the implementation. I've created a new patch which has the same functionality. The major differences are:
I'd appreciate it if you could try out the new patch and let me know what you think before I commit it to CVS or port it to drupal6.
Cheers,
Stella
Comment #4
nancydruGreat - better than my patch.
One thing: I don't think the check for "access taxonomy images" is necessary. If they don't have it, the returned image will be null.
Okay, now to try to remember how to apply a patch...
Comment #5
stella commentedGood point, I didn't realise that. I've attached a new patch which doesn't do this permission check which you should use in place of the other one. If you've already applied the other one then don't mind, it shouldn't break anything.
You can apply a patch on linux systems like "patch -p1 < foo.patch".
Cheers,
Stella
Comment #6
nancydruI tried both 2.5 and the -dev release and neither would apply.
Comment #7
stella commentedHi Nancy,
I'm not sure why that is, so I've attached a tgz file containing the new faq.module and faq.css. Just copy these over your existing files, but be sure to back them up first!
Cheers,
Stella
Comment #8
nancydruI got it now. Thanks.
It works great - far better than what I had done.
One small thing, if your CSS knowledge is better than mine: Since the pictures can be different widths, the category names don't end up in a straight column. I tried adding a wrapper around the image with a width specified, but that didn't fix it.
Any way - RTBC.
Comment #9
stella commentedOk checked into CVS, and should be available in the dev release made later today.
Cheers,
Stella
Comment #10
nancydruThanks for doing this. I'm this close || to ready to pull the trigger on my new feature.
Comment #11
stella commentedCSS question - you'd need to remove the "float: left;" from the img.faq_tax_image in the css file first. You could then add a div around the image and specify a width for that I think.
Comment #12
nancydruI believe I did that, but I will try it again.
Comment #13
nancydruOkay, I got it working. Here's what I added to my css. I'm submitting a patch to Taxonomy Image to add the wrapper (that way it gets all the places you call it).
Comment #14
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #15
stella commentedReleased in faq 5.x-2.6.
Cheers,
Stella