0:00
come on
0:09
hey guys Joe here and in points version
0:12
2.4 we have some really exciting
0:15
features that allow you to control
0:17
points using total CMS feeds and other
0:20
Dynamic layout tools right so in this
0:24
particular first example let's go ahead
0:26
and dive in and see how we can use total
0:28
CMS to integrate and manage this
0:31
particular points instance
0:34
so first to start off let's say we want
0:36
to manage this particular image the main
0:38
image of points using total CMS now
0:42
there are several different ways that we
0:43
could do this we can basically go into
0:45
uh the background the image and we can
0:47
do a warehoused image and if you know
0:49
you can actually set a total CMS macro
0:51
as the background you could do that
0:55
however I think a potentially an easier
0:57
way to do this is just to use a custom
0:58
Drop Zone
1:00
and what you're going to do is you're
1:01
just going to add in a total CMS image
1:03
stack and there you just point in your
1:06
your CMS ID for your image and this
1:08
gives you a little bit more control if
1:09
we wanted to you know specify if we
1:11
wanted a JPEG or a PNG or we wanted you
1:14
know display maybe on mobile we wanted
1:16
to display the thumbnail right
1:19
this gives us a little bit more control
1:21
by using a Stacks Drop Zone in points so
1:25
again inside points we're just going to
1:26
go ahead and set the background to
1:27
custom Drop Zone and what that will do
1:30
is that will give us basically a drop
1:32
zone that we're just going to add in a
1:35
total CMS image stack
1:37
okay I kind of had that pre-done so just
1:40
to kind of show you what it is you are
1:42
going to have to drag in this you know
1:43
from your Stacks Library this total CMS
1:45
image and then get that all set up
1:48
now how can we configure the individual
1:51
points that lay on top of the image
1:53
using total CMS
1:56
so with this what we do is we let's go
1:58
ahead and add a point now traditionally
2:00
you can't really do this with total CMS
2:03
or easy CMS actually everything I'm
2:05
showing you in this first example is
2:07
also possible in Easy CMS
2:09
but one of the problems is we can't
2:11
control the position because I can't put
2:13
a macro here so there's a new setting in
2:15
points of called Advanced positioning
2:18
and when you check that you'll notice
2:20
that those sliders then turn into text
2:22
inputs
2:25
so then what we can do is we can
2:26
actually use macros so let's go ahead
2:29
and put in something like
2:31
um
2:33
percent CMS data
2:37
um let's call this point P1 X right so
2:41
0.1 x
2:43
we're going to put a percent sign into
2:45
that so that is our macro
2:48
um and then obviously down here we can
2:50
then do
2:51
um P1 y
2:54
okay
2:56
now if I by using these particular
3:00
macros
3:01
we are required to actually have like 50
3:03
percent save but let's say you wanted
3:05
your user just to save a number 50 or 40
3:08
or 20 or whatever right essentially what
3:10
we're going to do is we're just going to
3:11
add an extra percent sign at the end so
3:13
that requires that our users do not
3:17
actually have to put in a percent sign
3:20
when they save the data into total CMS
3:22
this is very flexible because then you
3:24
know if we want to maybe use pixels
3:27
instead right we can really put in
3:28
whatever values we want
3:31
um in here
3:34
so here we're just going to use percent
3:36
signs
3:37
uh and then here in the info you can
3:39
then go ahead and put in
3:41
a uh let's see P1 I don't know info
3:45
something like that right so 0.1 info so
3:48
we put another macro here for our
3:51
information
3:52
and the last place that you might
3:54
potentially want to use a macro is if
3:57
your point has a bat an image associated
4:00
with it you can go ahead and there's a
4:01
new option for warehouse image and here
4:04
you can put in either a URL or another
4:06
CMS macro
4:08
okay
4:09
um and guess what if you want another
4:11
Point remember these in manage
4:13
individual points
4:16
so if we want to have another one we
4:18
then or let's just maybe easier just
4:20
copy and paste this we could then say
4:23
this is for point two and I'm going to
4:25
do p2x and then
4:28
p2y and then P2 info
4:32
so on and so forth so basically you're
4:34
gonna have to create for every single
4:36
point that you want let's say assuming
4:38
you're you're not going to have an image
4:40
here okay
4:42
so here I have two points I'm gonna have
4:45
to create
4:46
six different CMS IDs
4:49
um just to manage two points so three
4:51
point three CMS IDs for every single
4:54
point
4:55
while it's possible that is a lot of
4:57
work okay
4:59
um if you want to really manage this
5:01
individually
5:02
however there's a better way
5:06
so let me show you the end result here
5:08
essentially what I'm going to do is
5:09
we're going to use a Blog to manage
5:12
points on top of an image
5:14
so here I have a point stack that has
5:17
five points that just has some you know
5:20
tool tips in there positioned okay now
5:23
if we look here here I'm managing the
5:25
background image using total CMS and
5:28
then on this side I'm actually managing
5:29
the points where each point is an
5:32
individual blog post
5:35
so if I can go ahead and edit any of
5:37
these so I can go ahead and let's say I
5:38
want to edit the bottom right one let's
5:40
click on bottom right and here I'm um
5:43
I'm editing bottom right
5:45
um here's the horizontal and vertical
5:47
let's say I want to change this to be
5:50
um 75 and 75 okay let's go ahead and
5:53
Save
5:55
and let's refresh the page
6:00
and what you'll see is this point now it
6:02
used to be over here is now over there
6:04
because I easily added that we could and
6:07
we can add a new point right let's go
6:09
ahead and add a new point so if I go
6:10
ahead and click add new Point let's go
6:13
um demo Point okay and horizontal
6:17
position is
6:19
um 25 and vertical is 75 let's save that
6:25
okay let's go ahead and uh reload our
6:27
page
6:31
and there we go there's our demo point
6:32
so I can now add as many points as I
6:35
want onto this image
6:37
super powerful now in this particular
6:39
demo this demo is actually inside the
6:41
project file for points
6:44
um I have it all on one page
6:46
you probably want to you know have your
6:48
blog list in the Forum on separate pages
6:52
um I think it maybe makes a little bit
6:53
easier but it's up to you it does work
6:55
all on one page it just kind of makes
6:57
for
6:58
um slightly chaotic interface sometimes
7:00
when you have them both on the same page
7:02
but for demo purposes I just wanted it
7:04
all on one page
7:05
so let's look at how all this was
7:07
implemented so here inside points two
7:10
um what I've done is I I have the same
7:12
interface so I have a CMS image inside
7:15
the stacks Drop Zone area identical to
7:17
how we saw that before
7:19
now instead of adding a point directly
7:22
here what I did is I added a total loop
7:24
stack for my stacks Library into points
7:28
then I added a single point inside of
7:31
total Loop
7:33
now in the total loop stack you want to
7:35
make sure that you set it to be the ID
7:37
of your points blog so I created a Blog
7:41
called points
7:42
and essentially you just want to make
7:44
sure that uh for you know you can sort
7:46
and whatever
7:48
um I just have date set to all posts uh
7:50
so I see all all points basically
7:54
you can limit the number of blog posts
7:56
or AKA points as well so you can limit
7:58
it to 10 or whatever you want
8:00
um so if you want to you know you
8:02
definitely if you don't want to have a
8:03
maximum set that limit to be as as big
8:05
as possible
8:09
um so then how do we inject all that
8:10
data into our points so let's go into
8:13
the point stack and you'll see all I did
8:15
was I'm using three Fields I'm using the
8:19
author field as the X position I'm using
8:21
the genre field as the Y position and
8:24
I'm using the blog post title as the
8:26
info and also check that I'm also
8:28
putting percent signs in here so that I
8:31
don't require the user actually input
8:33
that percent sign
8:34
um they just need to input a number and
8:36
I actually put the percentage in there
8:38
directly into here
8:40
okay so let's scroll down on this page
8:42
we can kind of see how things are worked
8:44
out on the total CMS admin side so
8:46
here's my uh my image this is just a
8:48
normal image stack an admin image and
8:52
the CMI CD here is called points
8:55
and then here is our blog configuration
8:58
okay
8:59
um now this isn't a Blog image this is a
9:01
normal CMS image
9:03
um and then in our blog list
9:05
I'm setting that to be a CMS ID of
9:07
points now this is the blog IDE called
9:11
points whereas this image is the image
9:13
ID call points so you can actually use
9:15
the same ID
9:16
um across different types of CMS
9:18
elements and it's just fine okay
9:21
um so here I have a CMS idea of points
9:24
for this blog list and for fun I
9:26
actually went ahead and changed some of
9:27
the things so instead of posts I said
9:29
points right
9:31
um I didn't sort then I hid some other
9:34
elements that I knew I wasn't going to
9:36
use for this particular blog list right
9:38
so I wasn't using any of these elements
9:40
so I decided to keep hide those but I
9:43
wanted to kind of make things a little
9:45
bit user friendly so instead of it
9:46
saying posts it says points
9:49
now below that is the blog form and you
9:52
see here I just added a I have a
9:54
permalink
9:55
which is I just changed the placeholder
9:57
to be ID we have the title which is the
10:00
point info the author which I changed
10:02
the placeholder to be horizontal
10:04
position and the genre which I changed
10:06
the placeholder to be vertical position
10:09
then of course we have a save button
10:12
now in the blog form all you have to do
10:14
is make sure that you set the CMS ID to
10:16
be points which is the same blog as we
10:19
set up our list to be
10:22
uh then I just added a a button here
10:24
that just links to this page which is
10:25
just a new post or new point
10:29
and that's really it it's really simple
10:31
setup and forever this total Loop will
10:33
take care of every single point that we
10:35
add it'll go ahead and add those
10:37
attributes into points
10:40
super super powerful
10:43
now very similar to the total CMS total
10:46
Loop integration we can use feeds to
10:49
actually integrate and generate our
10:51
points dynamically
10:53
so here's an example of that and this
10:55
example is also inside of our demo files
10:57
we'll notice that we added a feed stack
11:00
into points
11:02
and basically I could generated a CSV
11:05
feeds so if you see here I just have an
11:07
example of info XY with all my
11:10
coordinates here
11:12
and then basically very similar to Total
11:14
loop I take that data points and then I
11:17
just add the the actual macros from
11:20
feeds into here
11:23
now what's great about feeds is it will
11:26
work inside preview whereas total Loop
11:28
you actually have to publish now if you
11:30
were using blog you can actually use
11:32
feeds
11:34
to bring in your points blog and
11:37
actually have that work inside preview
11:39
but total Loop will not work inside
11:41
preview you will have to publish for
11:43
that so as a workaround if you do want
11:45
to use total CMS blog you can actually
11:47
use the total CMS integration from feeds
11:49
to preview that data inside wrapweaver
11:52
and it will work in preview and on
11:54
publish just the way total Loop was
11:56
built that it requires that you publish
11:58
but here here's the example that we have
12:00
using feeds and uh yeah super powerful
12:04
now in this example I did use a CSV file
12:08
but the same really works with any sort
12:11
of data feed within feeds
12:14
um it doesn't have to be a CSV file you
12:16
can use whatever feeds you want to
12:18
basically generate points dynamically as
12:21
long as that data maps to what points is
12:23
expecting it'll work just fine
12:32
[Music]