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.
I just worked a bit on Radix to make it work with the current D8 Beta6.
Comment | File | Size | Author |
---|---|---|---|
#17 | radix.png | 85.58 KB | bwoods |
#17 | bootstrap.png | 125.54 KB | bwoods |
fix_radix_d8.patch | 3.79 KB | k4v |
Comments
Comment #1
k4v CreditAttribution: k4v commentedComment #2
shadcn CreditAttribution: shadcn commentedThanks. Actually we have a working Radix for d8. Not pushed yet. I'll push this over the weekend and we can work on it.
Comment #3
k4v CreditAttribution: k4v commentedhi, could you push your changes please? I'm visiting dev days in montpellier and would like to work a bit with radix =).
Comment #4
k4v CreditAttribution: k4v commentedComment #5
shadcn CreditAttribution: shadcn commentedWill do. Thanks.
Comment #6
shadcn CreditAttribution: shadcn commentedThis is now pushed to branch
8.x-3.x
. Thanks for all your help.Comment #7
capfive CreditAttribution: capfive commentedWhere can we get 8.x-3.x?
Comment #8
shadcn CreditAttribution: shadcn commentedYou can get it here: https://github.com/radixtheme/radix/tree/8.x-3.x
Not sure if it will work correctly with the latest beta. It has been not been tested yet.
Comment #9
capfive CreditAttribution: capfive commentedworking with mine :) but i can't get the sub theme to work, I guess it's all part of the beta testing! I will post a new issue based on this
Comment #10
pyxio CreditAttribution: pyxio commenteddoes d8 version work yet? the drush commands for quick setup do not work since they are for d7. if this works, can you provide a quick setup version for d8 too? thanks so much for this great theme.
Comment #11
shadcn CreditAttribution: shadcn commentedYes the 8.x-3.0-alpha1 works. Here's a quick guide:
drush en radix
(Note: the drush command fails if Radix is not enabled).drush radix "Subtheme"
cd /themes/subtheme
and runnpm run setup
.browserSyncProxy
value inconfig.json
gulp
to watch and compile Scss.Note: not all elements have been ported yet. We're still working on it. But this shouldn't be an issue if you're using a subtheme and not the Radix theme itself.
Comment #12
shadcn CreditAttribution: shadcn commentedQuick tip: if you look at the SUBTHEME.style.scss file under
/themes/subtheme/scss
, you will see that the Bootstrap Sass files are imported individually. This means you can choose which ones you need.Comment out the partials you don't need in your subtheme.
Comment #13
capfive CreditAttribution: capfive commentedGreat tips guys!
Thanks to #11 and #12!
Comment #14
pyxio CreditAttribution: pyxio commented@arshadcn - works perfectly. thanks much!
Comment #15
bwoods CreditAttribution: bwoods at AOL commentedI followed #11 but noticed that I didn't have a bootstrap sass directory. I ended up copying the stylesheet files from https://github.com/twbs/bootstrap-sass, which seems to solve the issue. One thing I'm a little confused about, though, are the options within the Appearance admin section. For the bootstrap theme, there are a few additional options that are not present with the Radix theme. Is this accurate, or do I have something else wrong with my setup? Thanks!
Comment #16
shadcn CreditAttribution: shadcn commented@bwoods which options? Can you send a screenshot please?
Comment #17
bwoods CreditAttribution: bwoods at AOL commented@arshadcn - Thanks for the quick response. I've uploaded a screenshot of both Bootstrap and Radix appearance settings. You can see that there are a fair number of settings available through Bootstrap but not Radix. I just wasn't sure if Radix should contain these settings or if I should account for the items I want to use/edit directly in the code. Thanks again!
Comment #18
steveoriolHello,
I use a subtheme of Radix create with procedure #11 on D8.0.6
It is works well, gulp rebuild and reloading the browser...
but I need to "Flush all caches" each time I modify an scss to really see my modifications.
Do you how why ?
Comment #19
shadcn CreditAttribution: shadcn commented@bwoods Yes. We don't have theme settings in Radix (for now). Everything is done in code.
@steveoriol, do you have caching on? See https://www.chapterthree.com/blog/how-to-turn-off-drupal-8-caching on how to turn off caching.
Comment #20
steveoriol@arshadcn, thank you for the link, it works perfectly now :-)
Comment #21
shadcn CreditAttribution: shadcn commentedMarking this as fixed.
Comment #22
shadcn CreditAttribution: shadcn commentedComment #23
shadcn CreditAttribution: shadcn commented