0:04
hey everybody oh let me get some uh some lights on just realize I'm I'm not too
0:10
dark but let's go ahead and turn on the lights
0:17
too there we go okay how's everyone doing today first
0:24
live stream of 24 I was actually I was looking at the uh the P like the 2023 live streams and
0:31
I was a little inconsistent from like the end of summer on so or throughout
0:36
the summer cuz I was in Brazil all summer so sorry about that I'll try to be better this year um but anyway we're
0:43
here that's all that counts so if you notice the topic today it was actually one a live stream I tried to do in
0:52
November and uh if you're if anyone remembers that it it was an epic fail
0:57
that day I just I remember that day it was was like everything went wrong that day and um yeah remember the live stream
1:05
didn't work we ended up going into into the hangout and uh kind of did an ad hoc hangout that didn't get recorded or
1:11
anything so um I've wanted to redo that um so here we are today hopefully I
1:19
luckily I still have all my notes from that day um I remember oh I understand
1:24
most of my so you know every sometimes you take notes and you go what I typed that sentence but I
1:30
don't know what that means now it made sense to me on that day
1:36
but anyway so Mr Cole Dr Bob Franco Martin thanks for coming
1:43
in Mark uh wool wine woolwine is that how you would say I I feel it's
1:49
something different wool woolwine w woolwine wolven I don't know Mark thanks
1:56
for popping in and uh David Mr Powers Scott Tony Aloha Mr workman's in the
2:03
house the other Mr Workman
2:09
excellent Fernando thanks for popping on and actually okay remind me so I thought
2:14
I'd start something new this year okay and at the live stream we're going to do some
2:20
trivia okay oh I I had a question I forgot to I'm pretty sure I know the
2:26
answer but I forgot to research it I might have to research it at the end I'm gonna I'm gonna do some trivia and we're
2:32
gonna give out some uh some store credit some Weaver Weaver bucks let's call them
2:38
Weaver bucks how about that okay so we're going to give out some Weaver bucks to uh to two people we'll do we'll
2:44
do two okay um so stay at the end we're going to do that we'll do a little a
2:49
little contest see uh what your Weaver knowledge is your your Stacks history
2:56
your Weaver space history okay um so I thought that would be fun something to
3:01
do hopefully I remember to do it remind me at the end we'll do some trivia
3:06
okay um today we are going to talk
3:11
about uh what are we talking about total schs blog um like layouts right so uh
3:18
basically how can we um customize our layouts using total CMS there's a lot of
3:25
small little intricacies uh we're going to use the power of foundation 6
3:30
on some swatches and classes and and all that stuff to kind of um do some custom
3:36
styling um and so yeah let's uh let's go ahead and jump in on it
3:48
uh and uh share my screen there we
3:54
go okay move this over here here all right
4:01
we got uh let's just open up
4:25
that okay um here we go let's go ahead
4:34
and let's preview this really
4:40
quick okay um and actually um I have a new kind of setup
4:46
here let's make sure I have oh I don't have M
4:52
running and now okay there we
4:58
go
5:04
sweet right and just go ahead and publish locally to
5:10
make sure I have the latest
5:15
locally right and let's just look at
5:22
this what did map not start what the heck oh
5:29
start
5:38
rookie right and then I think this page is what like blog blog
5:49
test boom okay um for those you don't know I I'm
5:56
going to be using mamp locally so I don't have to worry hey it's going to be a lot faster cuz I published to my local
6:01
machine super quick for live streams and then I won't go into it but now the the
6:08
host that I use on my sandbox site like sometimes if I publish too often like it they like block publishing and then you
6:14
have to sit and wait for like a minute or so and kind of annoying so M solves that um if you don't know what m is go
6:21
check out I have a live a live stream I did last year um testing websites
6:26
locally um pretty slick okay and so yeah if you go to preview. joormann you're
6:32
not going to work because it's only local to my machine okay and uh I used preview
6:37
because you know back in the day no one used sandbox whatever right so sandbox.
6:43
joormann you know was like my sandbox and now everybody has a Sandbox site so
6:49
if I type sandbox in my Ur in my URL bar like it comes up with every other person sandbox and so I have to type out it a
6:56
lot so I switch from sandbox to preview now so there we go
7:04
anyway um right so first off we are going to uh
7:10
let's look at blog list what are some things we can do with blog
7:15
list now um this is just some sample blog post data um it's obviously not
7:22
anything fancy actually even this I should probably delete that hello one that's pretty but um here let's
7:28
go ahead and go to the blog admin where what blog is that I don't even know one of that
7:35
is it doesn't have a link whatever okay
7:42
um oops it doesn't have any that is weird
7:48
hold on hold on one second let let me fix
7:53
this this is article post no this one
8:00
that's crazy let's go back to my admin
8:14
here czy whatever I don't know what it is I
8:19
don't want to waste your time with that okay so we have a blog list now um if
8:25
you know Blog has a lot of different fields that we can utilize
8:30
okay and we can actually customize the look and feel of
8:37
individual blog posts in the blog list based on those
8:43
fields what what do what do I mean by that okay so um let's go ahead and or
8:49
let's tweak this a little bit let's go ahead and add in some content let's add
8:55
in uh I don't even know what this sample data has to be honest with you so so we might have to tweak the data a little
9:01
bit here um I like doing things off the cuff for you guys so that I don't have like a
9:06
pretty demo already done and set up you guys can kind of see me and watch me build it and sometimes I fail and
9:13
sometimes I flaer and flap around like a dead fish just like a lot of you sometimes right so um it's no big deal
9:20
um and just like right now I was looking for those Stacks here when they're right here in the menu rookie okay um I'm just
9:27
going to add tags into here um and uh let's add categories and labels
9:35
and author I'm not going to try to make this look pretty I just I just want to have this stuff in here okay just so we
9:41
can see it all
9:47
right and because we're doing locally there we go okay um a lot of these don't have a lot
9:54
okay well let's let's look at this one here this is a test from zapier right you see how this is my summary tags this
10:01
one has tag one and tag two category cat cat one cat 2 label one label two by Joe
10:07
Workman okay um now let's say I wanted to um utilize something like tags um and
10:15
everything that has the tag of um tag one okay I wanted to make I want to
10:23
style it a certain way okay um how can we do that right
10:30
um so am I noticing in the chat people are anyone getting weird screen
10:37
flashing oh hopefully it's just a a minor glitch
10:42
on your sides uh guys I'm going to keep keep on going okay
10:48
um so let's say I wanted to categorize or or style everything that has tag one
10:54
okay um and the same thing would apply to category one label one or anything that's has an author of Joe
11:01
Workman okay now uh first I'm going to let's just do it and then I'll show you um how we can
11:08
customize that right so we're going to go ahead and uh do I have I have site Styles in there I'm just going to add
11:14
swatches to this page let's just go ahead and add a swatches stack to the top here okay and
11:21
um just so we can make it easy to see I'm just going to do background color Okay so let's go ahead and do a
11:27
background and uh I'm just going to do it and then I'll show you how I knew
11:33
this okay um so what we're going to do is um remember I said anything that had the tag of tag one okay so I'm going to
11:39
do tag Dash tag one as the class okay and we're just going to do
11:46
background color and um here let's go ahead and let's make
11:56
that something like I don't like that okay whatever so everything that has the
12:03
tag of tag one is going to have a background color of that let's go ahead and publish
12:11
that there we go
12:19
refresh what hold on see look at that
12:26
rookie tag tag one
12:33
is it browser
12:39
cache do I need a force let's try
12:47
that that's a weird
12:53
one ah there must be something else with a background color on that okay okay um
12:59
here interesting I just want to look at that really quick
13:10
uh ah it's because the setting from the blog list stack is overriding it so in
13:16
order to override that you need to bang important okay makes sense okay um okay
13:22
let me go ahead and um so you see there we go right um and I'm just using
13:27
background color I'm not going to go through all the other options I mean there's you could style things an infinite amount of ways okay but I just
13:34
want to teach you how you can Target a particular item and then apply whatever
13:39
Styles you want okay now you you could apply this let's say I wanted to style
13:45
instead of the post itself I wanted to I wanted to Target the the image or or you
13:51
know maybe the header okay um let's go ahead and do um
14:00
maybe what is this the title oops I didn't want that darn
14:05
it I think that's just do Post tile all right so let's just do Post tile let's say I wanted to make the background
14:12
let's just stick with background color I wanted to Target the uh post title of
14:18
everything that has a parent class of tag tag one right just to show you
14:24
different ways that you could do it right so you could Target things inside not just the post itself okay and let's
14:32
go ahead and publish
14:39
that right so now at that at that point I'm only styling that header why did I
14:45
click on that again Jesus okay um so but the key here is knowing how to
14:53
Target a um a category or a tag or an author or a label how do we know what
14:59
those are okay um so let's go ahead and show you um total CS does this by
15:05
default um you actually can't even turn it off okay so total CS does this for you automatically you don't need to turn
15:11
on anything it just does it okay and what it will do is for every blog post
15:18
it's going to add a ton of classes um based on genre category tag label and
15:30
author so it's going to add a class to every single blog post for every author
15:36
genre category tag and label and if you can kind of see those here let's go ahead and make my uh text
15:43
a little bit bigger um you'll notice some of these don't have anything right this is just
15:48
dummy Tex test data um I probably should take the time to create a nicer Rich set
15:53
of test data um it's on my to-do list um but if you notice here I have author-j
16:02
Workman genre D automated category-c cat1 category-c Cat 2 right so if you
16:09
notice if you see the pattern here you'll notice that the field name is at
16:14
the beginning so author Dash and then the author is Joe Workman for this post
16:19
so it did author-j dworman okay um for genre this had a
16:26
genre of automated so it did gen ra- automated so on and so forth okay so you
16:33
see it does a lot of really cool
16:45
stuff Joe how do you target it without a Swatch um
16:50
CSS okay uh I'll go into that in a little bit but um swatches are just CSS
16:55
if you want to Target something uh and style it customize it for everything you you need to know no CSS um or swatches I
17:04
mean that's just the power of swatches okay um so there we go um now uh hold on
17:12
I'm going to rewind let let me finish this synopsis and then we'll talk about that that's a very good question though
17:17
Alex thank you for mentioning that so hopefully you guys can see the pattern here on how I can determine just
17:25
by adding tags or categories or labels how I can Target a particular blog post
17:32
in my blog list okay hopefully that makes sense this is very powerful and I'll be honest I don't think a lot of
17:38
people use this all right U oh other things uh featured all right so here
17:44
let's go ahead and uh let's go to admin oh this one this is my test oh it's set
17:51
to be draft though let's go ahead and edit this I'm going to turn oh who was
17:56
the guy who made this page I don't know which one is featured and which one is draft what the heck that guy needs to be
18:02
fired uh let's see this one is featured so I want to turn draft off on this one
18:08
all right and save it
18:15
oops there we go all right we'll go back to blog content there we go all
18:20
right
18:27
um this particular post uh if you notice this one was set to featured and it also
18:33
has the featured um tag okay um now this
18:39
particular blog list has um draft hidden okay but um draft and archived add
18:47
classes as well okay so you could Target everything that is a draft and everything that is archived and style
18:54
those different ways okay um so there we go go and if you see this one has other
19:00
you know category love category hate category blogs tag hipster tag blog tag win featured okay hopefully you guys can
19:08
see that um so that's that's a very powerful way
19:15
because a lot of times if you want to if you have a featured post you might want to style it a different way right and
19:21
with swatches it's not just changing the style of something maybe you use like the display Swatch to completely hide or
19:27
show something right you could do that as well so like for all featured posts maybe you want to hide a certain number
19:34
of data or for non-featured posts maybe you want to hide something right so you could do all that with swatches right uh
19:40
because it's just hiding and showing and customizing the styles of things um so
19:45
hopefully you guys can take that concept and run with it okay now
19:51
um there a couple caveats uh there are some actually some
19:56
really cool things I'm I'm going to go ahead and let's go into this blog post here this test blog
20:02
post okay since I know it's this featured one um there is a cool feature it is a
20:10
definit power user feature so let's say you want to use tags okay um I believe this is tags
20:18
again I didn't add any labels to these fields how horrible is that uh let's look is this tags yes this
20:24
is tags I just want to make sure that you know let's say you're use you're actually displaying your tags um
20:31
on the web page and you want to have like a special tag that you can utilize
20:37
maybe for swatches but you don't want that to be displayed when you're displaying your other tags so there is a
20:45
a special Syntax for your tags that if you um start a tag with a
20:51
dash it will not get displayed on the user interface side right let me let me
20:58
show you so let's go ahead and let's do um I'm going to do comma and I'm going
21:03
to do Dash um live stream okay so I'm I added a dash live
21:11
stream just to not confuse you I'm going to do Dash Liv stream okay and we're
21:17
going to save that let's go back and if I
21:26
refresh uh how come tags isn't showing up here oh tags is up here
21:33
um hipster blog wi oh okay so I was like
21:38
how come it's not displaying I just added a tag well if you notice here in the tags we have hipster blog and win
21:45
okay but let's go ahead and inspect this and what we should notice
21:57
is oh no that
22:03
tag that is not added to classes interesting okay um so you you can use
22:10
that in things like the uh some other things I've been uh showing on later which is the blog rules but it doesn't
22:17
show up in the classes I actually forgot about that that's interesting okay remember that Dash
22:24
trick we we'll show you how that will help you in the in the future I thought that helped with classes as well very
22:31
interesting okay ghost tag yeah yeah yeah the ghost tag is not
22:38
showing up right um it did do its job as you see here it's not showing up um but
22:44
it also does not show up as a class which is unfortunate I thought that that actually could be useful I might I might
22:51
go ahead and an upd ship an update that adds that class because that could be useful okay
23:01
um Let me let me back up a little bit and answer Alex's question okay um so she was curious
23:10
about um she wants to utilize these this feature that I just showed but she maybe
23:15
she doesn't have swatches or maybe she's using a theme and um if she has swatches
23:21
but maybe the theme she's using isn't Foundation 6 okay so first thing off let
23:27
me say that um swatches are not specific to just Foundation while um you get them
23:33
when you purchase Foundation you can actually use them in other themes
23:39
okay about 90% of them okay there are some that are very highly specific to
23:44
Foundation but generalized things such as background color and font size and
23:50
you know rounded corners or margins and padding and um display showing and
23:56
hiding things those are all very generic things that you can actually utilize
24:01
those swatches in any theme okay now I don't want to go down that rabbit hole today because I that would probably take
24:08
me another hour okay to kind of showing off on how that can all work but I do
24:14
want to mention that um while if you own Foundation um you're not limited to
24:20
using the swatches in just Foundation because they it is just CSS and CSS
24:26
works everywhere use them in Foundry use them in your favorite theme use them in Source use them in whatever
24:36
okay a majority of them will work um I I can't say all because again there are
24:41
some things that like the menu Swatch is highly specific to Foundation okay um
24:48
but a lot of the most of the swatches um i' I'd probably say 85 to 90% of the
24:55
swatches okay um are completely generic so um you can use them um
25:02
wherever so um as long as those other places that you're using it support a class and class is an option inside of a
25:10
default stack setting so um we have access to a class pretty much everywhere
25:16
okay so um yeah there we go and if you don't have Foundation 6 um and you don't
25:21
have the swatches then you can just learn CSS and you can use the classes
25:28
that I've defined in the blog list in your CSS um I just think swatches are a
25:34
powerful way for you to um create CSS without having to learn the
25:39
syntax and all the options because sometimes you're like you don't know all the options I've I've done all the work
25:45
for you in swatches so um whether or not you use Foundation 6 to build your websites or not swatches are powerful
25:52
and um I'd say purchase Foundation 6 if you even if you want to use a different theme for swatches to use everywhere so
26:00
there we go um let's head back into
26:06
um the next demo okay and this next one is a pretty
26:13
interesting idea and it it also is using did I hold up let's see if I saved
26:22
a little bit it saved me some time here I didn't save it of course I didn't save it okay we're going to build out
26:28
something here okay
26:33
um let's just go ahead and add a little bit of text I'm I'm not trying to win some Design Awards right now I just want
26:39
to show you some cool functionality okay and uh let's go I'm going to build the
26:45
admin interface and the content interface all on the same page
26:56
here okay I'm going to show off two um things
27:01
uh right now the first is um I don't think a lot of people use the admin
27:07
select box
27:12
okay um and so what this select box does is it allows you to um
27:20
customize a bit of text or a different way of saving text in total CMS it B
27:25
basically allows you to define a static set of text that user can select okay um
27:32
so let's just call this select let's just keep it that select your option then what we're going to do here is
27:37
we're going to add options okay so option one um let's just do something simple we're going to do background
27:42
colors okay so let's just go ahead and do red and my value is going to be red
27:49
okay um and uh we'll do I don't know blue okay just keep you can have as many
27:55
many uh ones as you want here we'll do one more just so we can we'll do
28:03
green
28:10
oops okay and because we need to be in order RGB red green blue okay um I need
28:19
admin core on this page uh let me put in my
28:26
license okay and we'll need CMS core on the page
28:31
not that CMS core we need this CMS core and I need license in
28:38
there there we go and boom boom okay so we have content area and the admin
28:46
area now um if you're aware we can um this saves text to Total CMS right I'm
28:54
Shar yes okay I thought I wasn't sharing my screen for a second
29:02
um so this select box will save CMS and just to prove it I'm going to go ahead
29:08
and we're going to add in um a macro up here uh actually this go ahead and
29:16
uh we're going to use the Tex stack okay and I'm just going to
29:21
display um it was select okay
29:28
yeah plain text okay uh we're going to do that
29:36
okay so I'm going to display the select right up in here okay CMS data select
29:43
okay and uh let's go ahead and publish
29:55
that okay so um right now the uh this doesn't have anything saved if you
30:00
notice there's no there's nothing up there uh let's go ahead and uh do red and I'm going to save that right and
30:07
let's refresh the page okay if you notice here now we have the term red
30:12
right and if I change this to green and I refresh the page um oops I have to
30:18
save it before I there we go save and now the text is green you see that
30:26
okay again red green blue it's just a way of saving static text now I'm just
30:32
doing a simple oneliner but you can actually save an entire paragraph of content in here okay it could be as
30:39
whatever text you want it's just a way of defining um predefined bits of text
30:45
for your website now what I'm going to use this for is I'm going to use it to
30:52
toggle classes on and off an Element okay so um what I'm going do is
30:59
let's go ahead and uh let's save that and let's go over here and I'm going to add a Swatch to the
31:07
page okay and uh let's just add again I I need keep using background because it's just a really easy thing to
31:14
visually see really quick so we're going to do background and um let's do red
31:20
that's a a very bright red where are
31:26
my here let's go ahead and we'll use Weaver space
31:36
red there we go weer space red and then we need
31:43
green and we'll use Weaver space
31:49
green if you're wondering this color app is called color slurp I've talked about it
31:54
before um and if you didn't know you can easily go ahead and drag and drop you
32:00
can create color pets in here and you can just drag and drop those colors into your Color Picker pretty cool um okay so
32:07
now I have three swatches red green and blue now let's say I wanted to apply
32:13
that to um this entire container why not okay how can we do that well a class is
32:22
just a bit of text right um in the HTML
32:27
and that's exactly what total CMS can customize so what I'm going to do is in my custom class for this container I'm
32:34
going to put in this CMS data selector so let's go ahead and do present CMS
32:41
data select okay so there we go there is the total CMS macro that's going to inject
32:49
whatever value I add I select to this select box it's going to add it there and actually for
32:55
fun let's go ahead and um set this to be uh none I'm can add one more
33:04
option okay so we have none there we go so let's go ahead and
33:09
publish
33:18
that okay so if you see right now the the content is set to Blue okay and you
33:24
can see right here and this color is blue and that's because if we look if we look in the inspector for this
33:33
container there we go it's right here you'll notice that here oh let's do this
33:39
see right oops uh right there oh no I got to learn this see right there all right there we go I keep on forgetting I
33:46
got this cool Arrow tool right there is the blue
33:51
class okay so if we go ahead and um let's go ahead and change this to be red
33:58
and we'll save it okay and refresh the page there we go okay you'll notice that
34:05
the background content is red the text here is red right the the text says red
34:12
um let's go and inspect and what you'll notice here is boom right see right here
34:20
there it is red that red class is getting the the class definition from
34:26
our Swatch and it's applying the background color again you can apply whatever Styles you want um it's just
34:34
backgrounds really easy for us to visually play around with and
34:39
test pretty cool right and again if you notice here I said none so I'm going to
34:44
go ahead and remember none saves an empty string to the CMS so let's go ahead and save that and refresh and
34:52
there we go everything is now it doesn't have red green or blue class pretty cool
34:58
now this concept isn't limited to just the select box okay um for fun let's go
35:03
ahead and I'm going to go ahead and add in let's add in a text admin
35:08
area okay and I'm I'm going to make this actually select as well right I this is going to
35:15
edit the same CMS ID as the select box okay normally you won't have two of these on the same page U let's go ahead
35:22
and make that a plain text editor we don't need markdown formatting um form
35:27
height let's just do one line okay and let's go ahead and publish
35:39
that okay so right now um this and this are actually editing the same CMS
35:46
content I normally again normally you're not going to have two on the same page that do do this but it's going to be an
35:51
interesting test just to show you what's going on I'm going go ahead and select red here
35:59
and refresh the page and what you notice here is again this is red as as what we would expect but this text box now says
36:06
red okay uh and again because this select uh and this are are editing the
36:13
same content right so I can go here and type in the word blue and
36:19
save and there we go right so this says blue now if I were to type some gibberish into here um you know live
36:30
stream save that um this is the we've now kind of broken our select box
36:36
because live stream wasn't an option that I added here right so again this is something you're probably not going to
36:42
have both on the same page but I just wanted to show you that you can actually use this to add to classes as well now
36:49
if we actually were to look at this uh we would notice that the classes live and
36:55
stream okay got got added there it is live stream now it didn't hyphenate
37:02
them it it literally put exactly what I typed into that text box into the
37:08
classes okay so um very
37:25
powerful okay um next up let me see if there's any
37:31
questions um Alex says she uses a bwd yes so if you're using a big white dut
37:37
theme I didn't know he had any themes maybe he released a blank theme I not didn't know uh T have released any
37:43
themes but cool uh so you'll be able to use swatches um in that theme sweet um
37:49
and yeah please report back uh your findings if you need any help on the community we'll help you out
37:55
Alex uh let let's see uh just inspect it okay
38:00
cool next up um I showed select show toggle okay um whoops I clicked that by
38:10
accident okay I think everyone probably knows what toggle is right um it definitely is
38:17
an easy way to toggle on and off content okay but let's go ahead and do it really quick so um here I'll just continue on
38:25
with this page here uh we're just going to create a toggle we're going to call it um here we'll
38:30
name it toggle okay the CMS ID is toggle um and the rest these are just
38:37
Styles we'll just keep it as the default style now on the content side uh when you add a toggle stack to
38:45
the page oops what happened
38:55
there all right whatever um so when you add
39:01
toggle to the page you have a drop zone here okay and what you can do is uh let's go ahead and and customize this to
39:08
be the same CMS ID so we'll do a CMS ID of toggle so you can easily toggle on
39:14
and off entire bits of content on your page okay um just by simply toggling
39:20
this right now you can also do toggle when enable so you can have when it's on when it's off okay
39:26
um so let's go ahead and but right now we'll just do we'll just do that one let's go ahead and
39:38
publish there we go so right now the toggle is off so that entire paragraph is gone right I'm going to go ahead and
39:45
toggle that on refresh my page and now that paragraph is there okay again I'm
39:50
doing this all on one page just to speed things up um you know but you would obviously have your content on one page
39:56
in your admin area on a different page right um again I can go ahead and toggle that off we refresh the live page that
40:03
content is gone it's nowhere in the HTML it is it is gone it is completely
40:09
removed it never gets downloaded it's not loaded in the browser that content does not exist now this is a very simple
40:16
example where I'm just hiding a paragraph right um but if you talk to
40:21
Chris Powers who's aka the toggle King okay he uses toggles for all kinds of
40:28
stuff um to toggle on all kinds of things maybe he goes a little excessive
40:34
okay but I I think he's he's toned down his addiction to toggles a little
40:39
bit um so yeah toggles are a great way of customizing your layout and it gives
40:45
your client control whether or not to display that content right so let's say
40:51
they just have a a uh a temporary message they want to display on their website site or you want they want to
40:58
toggle on and off different you know content areas on their web pages they
41:04
can you can do it with a toggle super easy Chris says never more toggles nice
41:11
very nice can never have enough
41:19
toggles okay um I'm not going to go into togg toggles I think are a very simple
41:24
concept I just want to remind you that they exist all right um next one is actually
41:31
there was a couple people over the past couple weeks that um did kind of forgot that some of these Stacks exist let's go
41:37
back to blog and inside blog list okay we're
41:42
going to go ahead and in here there is a layout
41:47
rule okay um so in the blog list um now let's I'm going to remove
41:55
some of these stack that I added earlier just to clean things up okay uh let's go
42:01
back to the blog test so we can kind of look at that
42:09
data all right um let's play with uh yeah
42:19
okay just looking at the data here right what uh the layout rule allows us to do
42:25
is it'll allows us to customize to some degree um the contents of a blog list
42:33
without uh Based on data okay um so for example um let's
42:41
say I want if uh we can do logic which has content so if um let's say featured
42:49
okay um this is kind of a you could do a lot of this using the classes that I showed earlier actually to be honest I
42:55
probably should have started with this cuz it's a little bit more less classy
43:01
well not classy but less Cody right um so uh what you can do is you can say if
43:08
content has if certain Fields has content or doesn't have content so it's
43:14
kind of a toggle if if this field has content display it if this field doesn't have content don't display it sort of
43:19
thing right so for example uh let's see do some of these have summary not okay
43:25
let's look at this here so this uh this is a test from AP also uh oh this one
43:31
has a summary it's test let's go Ahad and I'm going to hide all blog posts or I'm going to hide uh the summary or no
43:40
let's hide the image if a summary doesn't exist how about that he so I'm
43:45
going to say um if has content
43:52
summary okay we're going to display the summary and the image okay so if if
43:59
there is if the summary has content display the image and the
44:04
summary okay pretty simple let's go ahead and publish
44:20
that oh interesting that actually has summaries
44:36
oh it does have a summary it the summary is a space H interesting technically does have a
44:43
summary um okay uh let's go ahead and did any of
44:48
those actually not have a summary at all uh okay here let's find something else
44:58
uh well or we could do we could do here right draft right so
45:05
if something was a draft or if author existed oh author didn't exist on some I
45:11
saw I know author didn't was blank on some so let's go ahead if it has an author show the image okay how about
45:17
that there let's publish
45:24
that there we go right so a lot of these didn't have an author set and so since
45:30
the author wasn't set the image is hidden and the summary is not displayed okay that I don't think that's a valid
45:37
use case um I just wanted to show you how you can customize things right um
45:43
now I I I will foreshadow some features in total CS3 will have much better control you'll even have the ability to
45:49
say like if author is Joe Workman then do this right so you can do stuff like that that'll be in total CMS 3 um it's a
45:56
much better uh syntax and and we have a lot more flexibility with that okay but
46:01
we have we do have the ability to have this you know if this field has content or if this field doesn't have content
46:07
sort of sort of stuff right so there we go layout Rule now um I also want to say
46:15
on the blog post page so that what I just showed you was on the blog list page okay on the blog post page we also
46:24
have a layout rule which is actually a little bit more
46:30
um powerful than the one in the blog list okay um so the blog layout rule
46:35
here you can actually filter by author so you can actually do stuff like if author is Joe
46:42
Workman okay and then whatever you add into here it'll get actually it'll only display it if the author is Joe Workman
46:50
okay um so again you can do uh authors categories tags um you can you can
46:56
search uh so you can search various fields for content right so you can be
47:02
like if the author um has Joe or something like that or if the content
47:08
has the word um hello okay um you know if the content contains the word hello
47:14
then use this layout rule right um You can do empty let me turn off some of
47:20
these so it's less confusing so you can say if uh you can base content based on maybe if um
47:26
media field okay here's actually a very uh a useful one uh if the media field is
47:34
empty okay U actually we want else logic here um so lot let's say for example in
47:41
the media field of a Blog you put in the URL to a uh MP4 video that's hosted on
47:49
the server okay or maybe a a YouTube video ID or a vimeo video ID something
47:54
like that right um if it's not empty okay then we want to display that right
48:01
so let's go ahead and let's do like um uh video or we'll just use the
48:07
foundation 6 video you can use any video stack though right um and and inside
48:12
here uh you would put the video URL and you would put in
48:18
um what was it uh dude I don't remember the was it media let's go ahead and add
48:24
macro hints let's go in here blog macro hints and I need the uh blog Media I
48:31
think it is oh here blog Media strip HTML oh here
48:37
or actually we just need blog Media there we go so we're going to go ahead in here we're going to go here and we're
48:42
going to do percent blog Media parentheses there we
48:47
go so now okay all we don't need this macro
48:52
hints now if there is a video or if the video is empty I I I want nothing right
48:59
or maybe you want to display an image or something like that um but if there isn't or if there is a video then it's
49:06
actually going to load the video URL that we've added to the blog post inside
49:11
of this video stack right um so very powerful here uh
49:17
I think this exact solution was for somebody a couple weeks ago um he was using my HTML 5 video stack and he
49:23
wanted to display it based on if the URL to the video was in the media field and
49:29
this is EXA the exact solution you need okay um other things you can do with
49:35
layout rules okay um is you know obviously things like if it's featured if it's draft if it's archived things of
49:42
that nature and genre or label so you have you know the ability to really customize your blog post uh Pages Based
49:50
on data okay all right um and that actually
49:56
reminds me on the content side there is actually a hold on I think there
50:03
is uh before I yes okay there is a stack called
50:09
select show okay it is a total CMS content stack I almost forgot this
50:14
existed actually um so let's go ahead and add that to the page
50:20
okay and what this allows us to do is it's kind of similar to the um to the
50:28
layout rules let's clean up this page a little
50:34
bit yeah and that what you can do is you can say um if total CMS ID so let's do
50:41
like select if it's equal to Red okay and you could do equal to
50:48
greater than less than contains string not equal to right so if the select box
50:53
equals red okay okay um this is something we can test really quickly let's go ahead and display uh here let's
51:01
go ahead and display
51:06
this red all right let's go ahead and publish
51:24
that right so let's go ahead and set remember if we set it to Red I'm going to save
51:31
that if you notice here now we have this this header I am red along with all
51:37
those Styles we had previously right but I'm displaying this content I am red and
51:42
that's only because this select was set to be red if I change it to Green oops I need to actually
51:52
save you'll notice that IM red doesn't exist right so this um where was this
51:58
select show stack is kind of like a a a layout rule that we have in blog but
52:04
it's for any CMS text content which is pretty powerful any
52:10
non-blog content you can use select
52:17
show okay um there were a couple other total CMS
52:24
that AR necessarily related to layout stuff but there were some questions that I I wanted to resolve today and to kind
52:31
of teach you and the first is on a blog post page okay
52:37
um let's say actually here let's go here let's say uh I wanted
52:42
to display on my homepage I wanted to display the latest blog
52:48
post okay um so what I'm going to do is um I'm going to go ahead and add the
52:53
blog post stacked to the page page and uh let's just go ahead and add image as well okay and Foundation
53:01
6 so um on my homepage I don't want to pass a permal link equals I I I just
53:08
want it to always display the latest blog post how do we do that so you add
53:13
the blog post stacked to the page uh and you give it your blog I think my CMS ID is blog okay um and then what we're
53:21
going to do is we're going to use these settings here called total blog Dynamic post
53:26
filter okay and by default it this is actually already set up to display the
53:32
latest blog post so what we're going to do is we're going to order by newest um think of this as these filter options
53:39
are exactly the same as what we have in the blog list stack so picture you're building out a
53:47
blog list but then only the very first result is what the blog post stack will
53:52
get and display hopefully that makes sense so here I'm saying filter all the blog P
54:00
blog posts order them by the new by the newest so I want the newest
54:05
first um and you know include featured include drafts hide archives so on and
54:12
so forth and then display um the first blog post so let's go and publish that
54:18
and have a
54:24
look
54:29
turn those keys off
54:38
oops oh did I not publish thought I
54:48
published was it not blog what's the CMS ID here
54:56
that's blog that's
55:06
weird here let's go ahead I'm going to going to hide all that
55:15
hide and here for fun actually I need to say we're in Foundation just go ahead
55:20
and add that in the container let's publish that
55:34
interesting let's look at my my filters here newest uh oh only P I think some of my
55:42
dates on my posts are are messed up let's do all
55:48
posts again my test really funky
55:54
so what uh include featured hide
56:00
drafts hide
56:05
archived CCD blog
56:12
huh man see look at that even even things for me mess up sometimes find republish all files there
56:19
are no change there whatever
56:36
what a rookie what's going on here let's go
56:44
ahead and I'm going to I'm going to put in a blog
56:53
list only past
56:59
posts newest first featured before all
57:10
posts huh yeah let's go ahead and let's just say random post why is that
57:17
not something break very
57:23
odd oh oh my blog list showed up what the
57:30
heck man I got egg on my face right now they're no wonder my my this was
57:37
actually uh to help my dad he was like Joe I need this and I was like ah it's easy just do this and uh look at that what the heck's
57:46
going on here boom that does not
57:53
work hm
58:03
well very interesting did he preview the
58:10
post No it should it shouldn't matter uh previewing the post because the post
58:15
page is the same oh darn
58:23
it you have to set look oh you have to set blog post to Dynamic post totally
58:30
forgot about that by default it's going to it's going to query the URL for your blog post you have to set it to be
58:36
dynamic post see man what a rookie set the blog
58:42
post to be a dynamic post then you can use these settings so now I if I want newest I can go ahead and go to newest
58:48
oh Jesus look at that go through the settings Joe go
58:55
through the settings and there we go there's there's the the the newest blog post right now uh if you wanted a random
59:02
I think that's kind of a cool thing too set the order to be random let's go ahead and
59:11
publish now every time I load the page it loads a random blog
59:21
post there we go
59:27
okay so that was the key set the blog post to load dynamically instead of loading it from the
59:33
URL duh okay um one
59:41
other thing oh oh Dave hitting I don't know Dave if you're here um but Dave
59:47
wanted the ability to um so he he's building out a Blog
59:53
okay and he kind of has like an old school layout that he's trying to build and let's just quickly build out a two
1:00:00
column here you know like the really old school layouts where you have your blog post but then over here on the sidebar
1:00:06
like you have like a list of um like all your archives so like you can like link
1:00:11
to all your blog posts from January of 2020 or whatever right um so I don't
1:00:20
newer blogs don't really do that but he had a requirement that a customer wanted that um so yeah it's possible a total CS it's
1:00:28
been there for blog since day one uh and you do it through the blog filter stack
1:00:35
okay so if we go to blog filter set this to be blog and what you're going to do is
1:00:41
you're going to set the blog list URL to be your the when you click on a link this is the blog list page it's going to
1:00:47
go to okay so in my in my case we're going to link to uh blog test
1:00:55
okay set that all right and then in here what you can do is we're going to we want links so I want to display a list
1:01:03
of links and in this case I wanted there's all kinds of stuff here you can do
1:01:08
categories categories with authors underneath you do Al a lot of really cool stuff here but what he wants is
1:01:16
here month and year okay so data type month and year uh and then there's
1:01:21
always the very first link should link to like all post right so uh that's your label for that
1:01:27
you can also include totals excuse me um and we want to do
1:01:34
all posts include featured okay let's leave that and my two column I don't want 50% 50% let's go ahead and do like
1:01:41
column one is like uh 75 there we go let's do that okay um so
1:01:49
let's go and publish that
1:02:03
uh so let's go ahead and click on a blog post [Music]
1:02:10
and wait what didn't I add that to the blog post
1:02:15
page
1:02:23
not
1:02:31
how come I'm not seeing my going on
1:02:38
[Music] here that's
1:02:49
weird I even getting my new layout man I am just striking out this afternoon this
1:02:57
do a new private window oh it's linking to sandbox.
1:03:03
joe.net how did I go there that's
1:03:11
weird uh let's go to pre back to preview oh it's because my blog post URL
1:03:19
is funny okay uh I know why it did that um
1:03:27
if you these if if I click on a blog post it's linking to my online version not my local
1:03:34
version so let's let me just go ahead and change this to be preview there we go all right well that
1:03:42
image looks like horrible but we notice here on the side which is the the lists that we created we now have a list of
1:03:49
all links with archives and even has little totals which is pretty cool
1:03:54
if I go ahead and click on that let's say like December 23 um it displays all of the blog posts
1:04:01
for that date if you're curious how that's done
1:04:07
if you look over here it's just uh you can look at the URL query parameters and
1:04:12
you can pass year and month to uh to a blog list page and it'll filter by that
1:04:18
year and that month so like if you wanted everything that was 2023 you could you could do that and get
1:04:25
everything that's year 2023 pretty cool another Power I don't think I've ever actually showed anyone
1:04:31
that um it's kind of a a dirty little secret um so there we go um
1:04:37
and let's go back to this page um there are other things that you can do with
1:04:42
blog filter um so like if you didn't want links you can actually do a filter select as well um and then this filter
1:04:52
select uh will'll do uh can you do oh you can't do dates with
1:04:58
Filter select the filter select only allows tags and categories and authors um but let's say if you want it there if
1:05:03
we do tags right uh let's go a and publish
1:05:10
that and refresh this page you'll see now that it will list all the all of our
1:05:16
categories here okay and so we can like you know click and easily see all the
1:05:21
you know we click on that uh oh if you want the uh the box to automatically
1:05:28
submit when you select change go ahead and in blog filter say Auto submit on select change um and then whenever you
1:05:35
change one of those select boxes it will um automatically subit that right so we
1:05:41
can go ahead and go to let's say oh I need to refresh my page I go ahead and
1:05:46
go to blog right it'll Auto submit and it'll it'll take us to the blog list page and it'll filter by the tag of blog
1:05:53
right in this particular instance there's only one post but there we
1:05:59
go cushioning setting yeah I I again I'm not trying to I'm not trying to win any Design Awards on right now I'm just
1:06:06
trying to show you the functionality so yes there needs to be this here this image needs to
1:06:11
be uh oh Foundation 6 support here
1:06:19
publish uh now we have that sidebar that has you know all these filters uh now it's kind of cool um here let's go ahead
1:06:27
I'm going to copy this layout over to the blog list
1:06:33
page although I don't want the blog post stack I want the blog list and I want to
1:06:40
put that oops the
1:06:50
heck log list there or we don't want this uh
1:07:08
okay oh oops categories tags all right so here I have
1:07:14
two uh filter selects um in the sidebar of this blog list page uh let's go ahead
1:07:19
and make sure that I filter out the right page yes there we go all right and
1:07:27
then I also have this Auto submit on select change let's go and publish
1:07:34
that oh let's go and remove this layout rule really quick one second all I don't want that
1:07:50
anymore uh let's go to blog content all right okay so here we are on a blog list
1:07:56
page so here's all my blog posts okay and then over here on the sidebar I have various selects here's it it shows us
1:08:02
tags and here it shows categories what's kind of cool is if we go ahead and do
1:08:09
like blog okay and if I go to category I can do like well if I did category blog
1:08:16
uh well there's no post found so but what I wanted to show you is these will build upon each other okay um um so if I
1:08:26
did all tags your email uh that's F oh I removed tag here let's
1:08:34
add the tagging categories so we can kind of see what's going on
1:08:48
here so when you have multip multiple selects inside of the same BL filter
1:08:55
they will it's like an and logic right um so it'll combine the two into one
1:09:01
filter uh which is interesting so here um now we see let's say this one has
1:09:07
hipster and and blogs okay so let's go ahead and let's do tag of hipster and
1:09:15
category of blogs well that's the same one but uh if you had a lot and I don't have a lot of blog posts here right so
1:09:23
um is there anything let's see I have cat one cat 2 I don't have anything great
1:09:33
here oh here this one has mercury oh they both have the same category of blogs never
1:09:40
mind um now let's say you wanted to have these work independently of each other
1:09:45
so you wanted to have a filter for tags and a filter for categories but you didn't want them to have that and logic
1:09:51
uh what you would do is you would just simply have multiple blog filters so uh so they would be inside their own
1:09:57
dedicated blog filter stack so now I have tags and category but because they're a part of their own dedicated
1:10:03
blog filter they're independent of each other hopefully that makes
1:10:15
sense sweet uh I think that does it for all the uh the coolness I wanted to show
1:10:21
off today um again I I didn't I didn't show any polish today I wanted to show
1:10:27
you how total CMS can be used um you know just as raw data to uh you know
1:10:34
filter out and customize your layouts you build your layouts um this these are
1:10:40
just tools that allow you to customize them um using either swatches or you
1:10:46
know completely shower or hiding stuff um so yeah I hope you enjoyed that I did
1:10:52
promise we were going to do a couple trivia things okay so uh give me one second I want to verify the answer to my
1:10:58
first question really quick and uh let me go ahead and verify this really
1:11:22
quick
1:11:32
H that doesn't answer it for me
1:11:38
though one second I need to give me give me a second sorry about
1:11:52
that
1:12:20
the heck's going on here my internet just no I'm still
1:12:34
streaming there it
1:12:43
goes H okay got it I was actually wrong so interesting
1:12:50
okay right question number one okay so the I've never done this before the
1:12:57
first person that answers it correctly in the chat will be the winner and you will win a $10 uh $10 on Weaver space
1:13:06
okay um hopefully I'll recognize your name I'll find you if actually here if I
1:13:12
say you win message me on Weaver space and I'll give you I'll send you your $10 store
1:13:18
credit okay um question number one We Ready
1:13:24
drum roll okay what year was Stacks 1.0
1:13:44
released boom I'm I'm waiting I'm waiting what year was Stacks
1:13:52
released
1:14:01
no oh man a lot of guesses no one know it everyone's dancing around the
1:14:07
years Stacks 1.0 when was the first public release of
1:14:14
stacks 1.0 I see a lot of dates but none of the right ones
1:14:22
yet but boom Jason Fox 2009 Jason
1:14:28
Fox you got it good job Jason okay okay I promise
1:14:37
we'll do two okay next
1:14:43
one what was the name of the first stack that I publicly
1:14:52
released
1:15:00
this one's I think this one actually might be harder than the than the sweet button nope wasn't sweet
1:15:06
button the very first stack I released in 2009 I should have known Stacks was 1.0
1:15:12
was 2009 because that's when I shipped my first stack too nope wasn't
1:15:18
Jack NOP Foundation came a long time after after Foundation didn't come until
1:15:24
Stacks three I think total total cms3 yeah Bill you're
1:15:31
you're fired Bill smartass responsive grid
1:15:38
nope it doesn't I'll give you a clue it doesn't even exist anymore I don't even sell it
1:15:43
anymore it does not exist
1:15:49
but the jock Bill Francis was actually close with total CMS 3 my first stack
1:15:58
was CMS related pen nope my first stack was CMS
1:16:13
related nope and I'll be honest my first stack was one line of
1:16:19
HTML that's it that's all it was
1:16:28
page lime uh close it was actually a predecessor to page line page line was my next instance easy CMS
1:16:36
nope I don't even know if if people even remember this
1:16:42
one I might have to have a backup question
1:16:52
here all back backup question okay let me let me think of a u of a backup question
1:16:59
here I wasn't I wasn't prepared I thought someone would know actually know that question
1:17:08
um let's
1:17:14
do all
1:17:20
right okay okay here Here We Go Global content nope all I'll I'll if
1:17:28
anyone if anyone answers that question before someone answers this
1:17:34
question I'll give you $20 if you answer my the name of my very first stack okay
1:17:41
but question number two then all well question number three a what year we
1:17:47
we'll stick with the year ones what year was Foundation One released
1:17:54
how about that my Foundation One Stacks what
1:18:16
year 2012 no found ation
1:18:28
1.0 man I've seen a lot of years but none of the right ones that's
1:18:47
hilarious Scott Williams he gets it 2014 okay okay Mr williamss you win 2014
1:18:57
it's funny how many people answered every year all around
1:19:02
2014 okay um my very first stack that I released was named kushy
1:19:12
CMS um yeah cushy CMS and uh it was it allowed you to edit your content you had
1:19:19
to log into cushy cms.com I does that even exist anymore I doubt that
1:19:27
exists cushy cms.com holy sh holy crap the website's still
1:19:35
up there we go it and they have the sofa too and everything a truly simple
1:19:42
CMS wh what you could still use this no way it's still like
1:19:49
operable for $28 a month so yeah uh it allowed you to edit your
1:19:57
uh content uh online um so you you know you could define basically what you could
1:20:04
drag Stacks into the cushy CMS stack and then you could edit it on cushy cms.com now the the the thing was is now this
1:20:12
was the horrible part of the stack which is why I don't sell it anymore was once you published um you were like done you
1:20:19
couldn't publish it again because it would override whatever cont you edited via cushy CMS so in that respect it was
1:20:27
a horrible stack but uh yeah kushy CMS was my very first stack uh that I made
1:20:34
um and that graduated into page line which then had the ability to um you
1:20:40
know still publish and not lose your changes um and then page line went Belly
1:20:47
Up and ultimately that's what led to Total CMS um so yeah there we go cool
1:20:55
yes cool Iris was my second stack good one Mark uh that's another one that doesn't exist anymore let's see if their
1:21:01
website's up cool
1:21:13
Iris oh apparently Firefox Firefox owns acquired
1:21:21
them wait oh that's the app it's like on I don't
1:21:26
know I don't think cool iris is still around if anyone's not doesn't know it was like this photo wall thing that you
1:21:33
like it was like a flash plugin basically um that did all kinds of crazy
1:21:41
[Laughter] stuff so there we go well that was fun what do you guys think of the the trivia
1:21:47
at the end I I think it's kind of cool I think we'll stick with it uh I like it so
1:21:53
um yeah uh what was it uh Jason Jason Fox and Scott Williams I will uh I'll
1:21:59
send you guys your your $10 so you guys were the winners today um we'll keep
1:22:06
that up I'll have to I'm not sure how long I can go and and keep thinking of trivia uh we might need to start
1:22:13
eventually diving into uh what's the CSS to do this or something like that I don't know I don't know how much trivia
1:22:19
I can come up with but there we go um wh while I got your ears um so Elixir
1:22:30
uh if you saw my post yesterday um I think it was yesterday right I think it was yeah it was yesterday morning he uh
1:22:37
he added a post and uh he will not be porting uh Foundry uh as of his post
1:22:42
over to rap Weaver elements so that's uh that's very interesting news uh I won't
1:22:48
give my comments right now on that if you want uh some candid commentary about
1:22:53
that we can chat about it on Friday um I think it's good news um and uh I think
1:22:58
it just shows you how powerful Stacks Pro is going to be uh when we get to see it at the summit uh and hopefully you
1:23:06
got your summit tickets so uh I still have I think I think there's two or three speaking spots still open so if
1:23:14
you're are uh wanting to share your knowledge the stuff you got up here in your Noggin uh let me know and uh you
1:23:21
can speak get the conference and I hope to see you there um a lot of people already bought their tickets so make
1:23:27
sure that you uh you uh you get your tickets to The Summit as Scott Williams
1:23:32
says it the Weaver space Summit is the best add-on in the entire Stax community
1:23:38
so there we go thanks for that Scott quote I like it so um yeah have a great
1:23:45
rest of your week hopefully I'll see you on Friday at the Hangouts and uh go out there and make something great bye