April Meetup: Demo of Event Platform module + trying out Single Directory Components

Events happening in the community are now at Drupal community events on www.drupal.org.
megan_m's picture
Start: 
2024-04-18 18:30 - 20:30 America/Toronto
Organizers: 
Event type: 
User group meeting

WRDUG Logo

Thursday, April 18 - 6:30-8:30PM
University of Waterloo, Hagey Hall rm 119.

For this month's meetup, Megan McDermott (that's me!) will show some work in progress on a website for an academic conference. The site uses the Event Platform module as a starting point. I'll demo that module out of the box, and then show some changes we're making for this project.

Next, we'll take a look at setting up a theme with Single Directory Components (SDC) . SDC are now stable in Drupal core! This part of the presentation will cover:

  • What are SDC?
  • Why use SDC?
  • Differences & similarities between SDC and pattern libraries (Storybook)
  • How to set it up

Finally, if we still have some time, I'll show some super-cool newly supported advanced CSS stuff.

**If you would be interested in attending this meetup remotely, please leave a comment here or contact me at megan@woolwichweb.works. We would consider trying a hybrid format if there is interest.

Comments

I am going to try and attend

hussainweb's picture

I am going to try and attend this one but it's a 70 km journey for me each way and things change at the last minute. So, an offline option would be great as a backup for me.

I've had another person

megan_m's picture

I've had another person asking about an online option so I think we will set up a zoom link and record it. I'll post that here a few hours before.

Hope to see you there, one way another!

Will there be a recording made?

dustin@pi's picture

I won't be able to attend (even online). If the talks were to be recorded (via Zoom), I would love to be able to watch afterwards.

Will there be a recording made?

dustin@pi's picture

I won't be able to attend (even online). If the talks were to be recorded (via Zoom), I would love to be able to watch afterwards.

Zoom meeting link

megan_m's picture

Here is the Zoom meeting link for tonight:

https://us05web.zoom.us/j/81954072391?pwd=wWCQmKYx01SPPpSgVzyfaL0TGGiDfM.1

We will see how this goes! The meeting might not start at exactly 6:30, so if the zoom call isn't open yet, please wait a few minutes.

Recording link

megan_m's picture

Thanks to everyone who came out last night, either virtually or in person! Good thing we had the Zoom link set up! The A/V setup didn't work in the room we had so we all ended up watching on Zoom.

Here is the recording link:

https://us06web.zoom.us/rec/share/dxI0HK3CH7-2JX8KTSWr-c1ozWC11WDooDLl93...

Passcode: e=3DLb.8

I hope that SDC section made some sense!

If we decide to keep doing this maybe we'll set up a YouTube channel.

A few updates...

megan_m's picture

A couple of things I was wrong about:

  • the SDC Styleguide module I demonstrated here doesn't actually work properly right now. It wasn't just my lack of example content. I'm still not sure how to write example content for properties...
  • You don't need to include the & for native CSS nesting. I think that was part of the proposed spec at one point, and was needed with the Post CSS plugin, but I guess that changed at some point.

I almost put in some Post CSS into this theme to generate a file for the CK Editor Styles. I deliberated a bit over whether it was necessary just for that, and ended up deciding just to make it manually. I just need some basic typography and a couple of other things in there anyway. With native nesting it was pretty easy just to put all that inside the .ck-content selector.

(for anyone who isn't familiar with this - you can set up a CSS file to apply in CKEditor, so editors will see your native site styles when they are editing. This needs to be scoped to the ckeditor so it doesn't apply to the entire admin theme. This is especially useful when you want to allow some custom styles in CKEditor, and want editors to see them as they will appear on the site)

And sorry if some of this was really high level - if there's interest we could do a session on general front-end/css techniques sometime.

A few updates...

megan_m's picture

Oops, double post. That submit action is a tad slow...

Waterloo Region Drupal Users Group

Group organizers

Group events

Add to calendar

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week