Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
forum.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 May 2015 at 20:35 UTC
Updated:
30 Sep 2015 at 21:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
manjit.singhComment #2
manjit.singhmoving forum css to classy :)
Comment #4
manjit.singhclean for testbot :)
Comment #6
sqndr commentedMake sure to use forum.index (instead of forum-index). I think that is causing the tests to fail.
Comment #7
sqndr commentedI'll fix it.
Comment #8
sqndr commentedThe
forum.libraries.ymlwas now empty. I feel like it's pointless to leave an empty library file there, so I removed it. Checking what testbot says about this patch.Comment #9
larowlanComment #10
sqndr commentedComment #11
mortendk commentedmoved icons as well so they are now showing up ;)
screenshots:


Comment #12
aliyakhan commentedLooks cool. Attached more shots.
Comment #13
aliyakhan commentedComment #14
aliyakhan commentedComment #15
alexpottin Drupal\forum\Controller\ForumController. With this patch that library would be missing.
Comment #16
chernous_dn commentedI transferred the image and code to to classy, remove template for module and removed
$build['#attached']['library'][] = 'forum/forum.index';Comment #18
manjit.singh@Chernous_dn patch file is corrupt.. Can you please look into it.
Comment #20
chernous_dn commentedI fix patch for #16 comment.
Comment #21
star-szr@Chernous_dn please update your git configuration to output easier to read patches for renames, most notably this chunk:
From https://www.drupal.org/documentation/git/configure
Thank you! :)
Comment #22
mortendk commentedupdated the patch so its easier to read :)
do we want to move the image files as well - yes I say, but i remember some issues with icon'set or something?
- maybe wim is the right to ask there
Comment #23
chernous_dn commented@Cottser Thanks)
Comment #26
star-szrRerolled.
Comment #27
lauriiiComment #28
davidhernandezThis should not go in a folder called 'forum'. It should go in the 'component' folder.
Comment #29
rainbowarrayFolder fixed.
Comment #30
davidhernandezI think we'll need the weight change here. The file is ending up almost at the very end. I'm not sure why the ordering works out this way. Bartik and Classy are both added using component so why would Classy's end up so low?
with patch
after changing weight to -10
Comment #31
rainbowarrayHere's the weight change.
Comment #32
davidhernandezThanks, Marc. We'll need to test the forum icon. I can't test right now, but when I first tested this I did not see the icon appear. Can someone check that?
Comment #33
lewisnymanI tested the patch with Classy and we do have a problem with the icon image. It seems that it's being copied over corrupted. I also noticed that aren't escaping some stuff?
Comment #34
lewisnymanComment #35
lewisnymanThis should work

Comment #36
gints.erglis commentedFixed patch apply errors.
Comment #37
akalata commentedI can confirm the weight change from #30/31, but the new forum.css file isn't actually created so I'm missing the icons completely.
Comment #38
davidhernandez@akalata can you double-check? I just applied the patch and it worked for me. The file should be in classy/css/components/forum.css. Or are you saying you don't see it get added to a forum page? I do see the icons appearing. See screenshot.
One minor change. I renamed the library.
Comment #39
manjit.singhlatest patch is working fine :)
Path of icon is
/core/themes/classy/icons/forum-icons.pngComment #40
akalata commentedFound my error,
patch -p1wasn't creating the new files, butgit applyworks.I would set RTBC at this point, instead postponing per #2566771: [Voltron patch] Move all remaining *.theme.css to Classy.
Comment #41
akalata commented