Getting Started with Bootstrap 4 using Radix in Drupal 8

Поділитися
Вставка
  • Опубліковано 19 вер 2024

КОМЕНТАРІ • 53

  • @WebWash
    @WebWash  4 роки тому +9

    UPDATE: Since recording the video. Drush 9 support has been added as of Radix 8.x-4.6.
    run:
    drush --include="themes/contrib/radix" radix:create radix_subtheme
    Or read the full show notes, bit.ly/2Ot4bmL

    • @jeremyisip2639
      @jeremyisip2639 4 роки тому

      Hi Ivan, how to add a new region in the radix theme like for example add a first or left sidebar?

    • @user-yt1cu6zp6z
      @user-yt1cu6zp6z 4 роки тому

      I love you bro ❤️

    • @ZacharyKentVT
      @ZacharyKentVT 2 роки тому

      As of today, Drush 11 seems to work

  • @aritube9
    @aritube9 4 роки тому +2

    Thank you for this great video! Radix looks like a good choice for Drupal 8 theming. What I would love to see following this video is some examples and guidelines on how to proceed customizing a Radix subtheme beyond modifying color variables.

    • @WebWash
      @WebWash  4 роки тому +3

      I'm glad you enjoyed the video.
      Customizing the radix subtheme is mostly just SASS styling and templating overriding.
      But it's a good idea to create another video which'll go more in-depth.

  • @Breakfull
    @Breakfull 5 років тому

    Really interesting video. I have never witnessed the layout builder in action until now.

    • @WebWash
      @WebWash  5 років тому

      I'll do a video on the layout builder once Drupal 8.7 is released.

    • @javierdelpozolopez7200
      @javierdelpozolopez7200 5 років тому

      @@WebWash you recomend Layout Builder for productions sites?

    • @WebWash
      @WebWash  5 років тому

      ​@@javierdelpozolopez7200 Layout builder in Drupal 8.6 is experimental, so use with caution. In Drupal 8.7, which'll be released in May, it'll be stable. I have not used it on a production site.

  • @PaulDriverUK
    @PaulDriverUK 5 років тому

    Really helpful video Ivan and a good primer for Layout Builder

  • @MEGATestberichte
    @MEGATestberichte 4 роки тому

    Great content! Coming from Barrio for an alternative

  • @andreitodosi
    @andreitodosi 5 років тому

    Thank you for the effort of making this video!

  • @southern_smacker
    @southern_smacker 3 роки тому

    Your videos about theming Drupal are marvellous. Drupal theming has grown confusing with time, and these d* heads keep further confusing the population. With your videos even most difficult tasks look cool 😎

  • @amagdenovski
    @amagdenovski 5 років тому

    Great video, really enjoyed it!

  • @root-meorgwesterg7857
    @root-meorgwesterg7857 5 років тому

    very cool tutorial! Thank you!

  • @sergey_gabrielyan1001
    @sergey_gabrielyan1001 2 роки тому

    Hello, maybe my question isn’t so much related to the video. The statistics module 'count content views' works when the user is logged in, but when the anonymus user is on the site, the count doesn’t update, as I understand it’s a cache problem in drupal, how can I solve this problem?

  • @user-yt1cu6zp6z
    @user-yt1cu6zp6z 4 роки тому

    I love you bro

  • @fronne6690
    @fronne6690 4 роки тому

    Great Show! Thnx!

  • @traumegaz
    @traumegaz 4 роки тому

    This is very difficult to get working with updated versions of drupal and drush, once i finally got it to work, the browser sync would not work, it worked in the command line but not on actual site

  • @nadiacaprotti9012
    @nadiacaprotti9012 4 роки тому

    Please, can you help me. I am a beginner with Drupal8. I installed wamp for win 10, I installed composer. with composer I installed Drupal 8 and Radix, but with subtheme I can't. i promp typed drush status and i have this answer:
    C: \ wamp> drush status
    count (): Parameter must be an array or an object that implements Countable Table.php: 789 [warning]
    count (): Parameter must be an array or an object that implements Countable Table.php: 789 [warning]
    count (): Parameter must be an array or an object that implements Countable Table.php: 789 [warning]
    count (): Parameter must be an array or an object that implements Countable Table.php: 789 [warning]
    count (): Parameter must be an array or an object that implements Countable Table.php: 789 [warning]
    count (): Parameter must be an array or an object that implements Countable Table.php: 789 [warning]
    count (): Parameter must be an array or an object that implements Countable Table.php: 789 [warning]
    PHP configuration: C: \ wamp \ bin \ php \ php7.3.12 \ php.ini
    PHP OS: WINNT
    Drush script: C: \ Users \ ASUS \ AppData \ Roaming \ Composer \ vendor \ drush \ drush \ drush
    Drush version: 8.0.0
    Drush temp directory: C: \ Users \ ASUS \ AppData \ Local \ Temp
    Drush configuration:
    Drush alias files:
    How can I solve the problem? Thank you

  • @sergheigarau514
    @sergheigarau514 5 років тому

    Hi Ivan, thanks for this video, very useful! I have a question: is it possible to have submenus in the main navigation menu? If yes how?

    • @sergheigarau514
      @sergheigarau514 5 років тому

      Hi Ivan, sorry but I answer myself: you also said it, just configure the menu in "block layout" ... thanks anyway!

  • @traumegaz
    @traumegaz 4 роки тому

    i really need help, i have went thru different versions of drupal, php, drush, and now im on a different operating system. I started on windows 10 xampp. Now i am on catalina mamp. Im just trying to learn to do things easier by using drush and composer and find the best way to theme responsive websites in drupal 8 without making twig templates and long css sheets. Im stuck at drush radix --help.
    im using php 7.39, drush 9.10, drupal 8.8
    any advice would be helpful, ive been trying since friday or thursday just to get the environment set up

    • @WebWash
      @WebWash  4 роки тому +1

      The show notes has the most up-to-date Drush commands, bit.ly/2Ot4bmL
      This video was recorded when only Drush 8 was supported.

    • @traumegaz
      @traumegaz 4 роки тому

      @@WebWash thank you so very much friend.

    • @traumegaz
      @traumegaz 4 роки тому

      @@WebWash I would like to join your blog, and possibly pay for one on one, I cant find the sign up button lol

  • @jeremyisip2639
    @jeremyisip2639 4 роки тому

    Hi Ivan, how do i add antoher region to a radix subtheme? This is a great tutorial though

  • @KanaanNgutu
    @KanaanNgutu 5 років тому

    After editing the browser sync proxy and running npm run watch, the url get shown but when I browse to it, it showed a page which says "It works" instead of showing my Drupal website. What went wrong.??

    • @WebWash
      @WebWash  5 років тому

      Hard to say. The "It works" seems like the generic web server page. Try googling the problem.

  • @Soumya21st
    @Soumya21st 5 років тому

    nice video.. one small query.. can I use drupal console to generate subtheme for radix theme

    • @WebWash
      @WebWash  5 років тому

      No, only Drush 8

  • @niallmccaffrey791
    @niallmccaffrey791 5 років тому

    I followed this video and everything went fine right up to the very end at 27:23 when I go to view my Content Type, and I do not see anything from Layout Builder, just the default look. Field Layout is uninstalled, Radix Layouts and Layout Builder are installed... what might be the problem, did I miss a step somewhere?

    • @niallmccaffrey791
      @niallmccaffrey791 5 років тому

      Aha, found it. When you changed the custom display setting to Full Content, I was still working on Default.

    • @WebWash
      @WebWash  5 років тому

      Hi Niall,
      The only thing I can think of is try and flush the site cache. Go to configuration -> performance.

  • @sergissantiago
    @sergissantiago 4 роки тому

    drush radix --help command doesnt work for me , im using drush 8.3.1 version. Someone knows why? cache-clear done...
    Details here:
    The drush command 'radix' could not be found. Run `drush cache-clear drush` to clear the commandfile cache if you have installed new extensions. [error]
    Drush was not able to start (bootstrap) the Drupal database. [error]
    Hint: This may occur when Drush is trying to:
    * bootstrap a site that has not been installed or does not have a configured database. In this case you can select another site with a working database setup by specifying the URI to use with
    the --uri parameter on the command line. See `drush topic docs-aliases` for details.
    * connect the database through a socket. The socket file may be wrong or the php-cli may have no access to it in a jailed shell. See drupal.org/node/1428638 for details.
    * connect to the database through a cli command using the --defaults-extra-file parameter to pass credentials through a tmp file. This method can break if other credentials are specified in a
    ~/.my.cnf file in your home directory. You may have to delete or rename the ~/.my.cnf file in your home directory.

  • @JohnNewtonSr
    @JohnNewtonSr 5 років тому

    Your videos are the best! I have one problem with this one: How to install npm and nodejs? I used drush to dl and en them, so they are now active on my site. Still, the command npm install just creates an error msg: -bash: npm: command not found. I also went to their site and installed npm and nodejs on my machine but that doesn't seem to accomplish anything. What am I doing wrong?

    • @WebWash
      @WebWash  5 років тому

      Installing Node is different for each OS, there's no way for me to know what the problem could be. Installing Node and NPM, unfortunately, is beyond the scope of this tutorial.
      There's a lot of documentation on the internet on how to instal it.

  • @homeandr1
    @homeandr1 5 років тому

    Which one is a better theme? Barrio or Radix?

    • @WebWash
      @WebWash  5 років тому

      If you want to compile Bootstrap SASS locally then use Radix.

  • @bolshii600
    @bolshii600 5 років тому

    Great video, thx a lot. There's a little problem. Creating a subtheme works fine. But after running 'npm run dev' changes to my css file are missing. Example: Under "hgym/themes/custom/hgym_ip/assets/css" I added a property to a div element. Then I run 'npm run dev', open the css file again, the property is gone :/

    • @WebWash
      @WebWash  5 років тому

      Sorry, I don't really know what the problem could be. Make sure you have NPM and Node installed.

  • @javierdelpozolopez7200
    @javierdelpozolopez7200 5 років тому +1

    cool video!, radix feels better than Barrio, but i have an error with de sub theme, I enable de theme Radix, install de modules, install drush v8.2.2 via composer but the command radix show me error (The drush command 'radix' could not be found) i follow all the steps but nothing happens :(, anyway tanks for de video!

    • @WebWash
      @WebWash  5 років тому

      Hi Javier,
      Make sure you've enabled the Radix theme, and if you can't see the command run "drush cache-clear drush", this will flush drush's cache.
      Cheers,
      Ivan

    • @KevinPfeifer
      @KevinPfeifer 5 років тому

      Got the same problem as described above (drush radix command is not available after setting theme as active)
      Installed D8 via default composer create-project
      Required current stable version of radix (4.1) because it comes with the mentioned updated package.json and installed it in the Appearnace Tab as described.
      Tried the mentioned "drush cache-clear drush" command but still no "drush radix" command available.
      My used Software Version:
      D8.6.13 with default installation profile
      Radix 8.x-4.1
      Drush 9.6.1
      PHP 7.2 (probably is that the Problem?)
      EDIT: Now i have continued listening to your Video and you specifically said its not working for Drush 9.

    • @WebWash
      @WebWash  5 років тому

      @@KevinPfeifer Yes as mentioned here, ua-cam.com/video/ak1IOcYnN9s/v-deo.html you need to use Drush 8, not Drush 9.

    • @javierdelpozolopez7200
      @javierdelpozolopez7200 5 років тому

      @@WebWash tanks for the replay, i have drush 8, and the theme es active, i think is the version of the radix, i don`t specify the versión when install the them via composer.

    • @sergheigarau514
      @sergheigarau514 5 років тому

      @@WebWash Hello congratulations for your work! I don't know why but the installed Drush is 9 and therefore I don't have to go on following your video. I would like to remove Drush 9 and install Drush 8 but I can't find information ... Could you help me?

  • @gagarine42
    @gagarine42 5 років тому

    This feel bloated. It's why I extracted the needed templates and made a super light bootstrap 4 theme for D8: github.com/gagarine/bootstrap4. This is for peoples that prefer to add a line of code in their template instead of searching for the right settings.