Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I am using Advanced Forum 6.x-2.x-dev and on the advanced forum main page with the list of containers and forums, folder icons don't appear, i tried with garland and i don't have this problem, so i think something in the theme override this function.
In the topics list, it's works fine.
It seems that issue comes from blueprint theme.
Thanks for your help.
Comment | File | Size | Author |
---|---|---|---|
#10 | blueprint-advanced_forum_fix-961050-10.patch | 2.87 KB | designerbrent |
#8 | advanced_forums-961050-8.patch | 3.49 KB | designerbrent |
#2 | advanced_forum_checks-961050-1.diff | 2.16 KB | designerbrent |
Comments
Comment #1
MichelleNothing I can do from AF if the theme overrides the background images on the table. Moving this to the Blueprint theme queue.
Michelle
Comment #2
designerbrent CreditAttribution: designerbrent commentedMichelle & MasterChief,
How about something like the attached. Does that take care of the issues? I've never used forums in production and never downloaded advanced_forums before today so I don't know what all it does but the basic icon overrides seem to be taken care of.
Please look over the patch and let me know if that works for you.
-Brent
Comment #3
MasterChief CreditAttribution: MasterChief commentedHi designerbrent,
i apply your patch, but nothing change.
I will be happy to test patches provided here.
Comment #4
designerbrent CreditAttribution: designerbrent commentedYou might want to try clearing your theme cache via Drush (drush cc theme) or by visiting the theme page. I tried that and it seemed to work fine, as far as I could tell.
Comment #5
MasterChief CreditAttribution: MasterChief commentedI flush all caches and the problem is still here, the problem is only on the main page with folder icons.
Comment #6
designerbrent CreditAttribution: designerbrent commentedThat's strange as on my test site when I apply the patch above and have Advanced Forums running, the icons do change.
Comment #7
MasterChief CreditAttribution: MasterChief commentedDid you have create forums ?
The folder icon appears in the legend at the bottom, but nothing at the left of forum's name.
Comment #8
designerbrent CreditAttribution: designerbrent commentedAlright, after playing around with it, I think I have found the icons you are referring to. The problems comes down to the way that not just Blueprint the theme handles it but the way that Blueprint the framework handles it. I don't have control over the framework. The offending rule is as follows:
There are two ways to fix it:
except that you will need to either relink to the correct images or move the images into your theme folder.
I hope that helps.
Comment #9
MichelleI'm waffling... My first thought was that I don't want to patch AF with something to override one theme. On the other hand, this isn't really Blueprint specific CSS, just making the CSS more specific. So it probably wouldn't hurt. I'm pulling this back to my queue so I don't forget about it and will look into it further the next time I work on AF.
Michelle
Comment #10
designerbrent CreditAttribution: designerbrent commentedThanks for looking at that. If there was some way to override it on my end, I'd be happy to try that but after playing with it and looking at it, I realized that i couldn't find a way and the best place to be would be in the Advanced Forums theme.
I'll be adding the following patch that sidesteps all the forum_* overrides if advanced_forum exists.
Comment #11
MichelleWell, it's your call, of course, but I think it makes less sense for you to put a conditional check for AF in your theme than for me to add more specific markup to AF. :)
Michelle
Comment #12
designerbrent CreditAttribution: designerbrent commentedWell, it's a two step problem. First is that I am overriding a bunch of forum functions. The second is the specificity of the css of your module. In a future version, I may pull out much of this theme code. I have left it in because I rarely use it and haven't wanted to deal with it. The prior maintainer put it in to start with. For now, I'll patch my part.
Comment #13
MasterChief CreditAttribution: MasterChief commentedI applied your patches designerbrentb and all works fine now :)
Thank you very much for your work (^_^)
Comment #14
MichelleCommitted, thanks. Tested to be sure the forum folders still show up under Garland but not tested to see if the patch had any effect on Blueprint.
Michelle
Comment #15
MasterChief CreditAttribution: MasterChief commentedHi michelle!
i just install the new 6.x-2.x-dev and i confirm it works fine with blueprint.
Otherwise I saw two problems:
I didn't update since 17 november, and now the "last post" link at the beginning in threads doesn't show anymore, is it normal ?
When i did install the 17th, with the views list (good work on this!), the legend at the bottom of topic lists like new topics weren't inline anymore.
Thanks for your work, the new buttons are better, it's great!
Comment #16
MichelleThere's lots of problems with the current dev. It's still in really rough shape. I'm working on it as much as I can.
Michelle