These are chat archives for locomotivecms/v3

18th
Dec 2015
Ryan Francis
@francirp
Dec 18 2015 16:28
@did when deploying wagon to engine, either on locomotive.works or just locally via the engine, the preview is just totally blank. It seems like this is something that just popped up because I wasn't having the issue with rc2. The pages, content types, content entries, etc. appear to be uploading fine on deployment, so it seems to be something to do with the rendering. I am probably doing something wrong but just wanted to give you a heads up in case something happened with preview functionality from recent update.
Didier Lafforgue
@did
Dec 18 2015 16:29
@francirp can you add me to the list of members of your site?
Ryan Francis
@francirp
Dec 18 2015 16:30
@did yep! one sec
@did added you and made you and admin
Didier Lafforgue
@did
Dec 18 2015 16:31
Chicago Line?
Ryan Francis
@francirp
Dec 18 2015 16:32
Yep
Didier Lafforgue
@did
Dec 18 2015 16:32
I know why
what’s "angular-base-controller”?
is that an editable_text?
(I’m cloning your site right now)
Ryan Francis
@francirp
Dec 18 2015 16:37
Ah yeah I'm trying to use Angular in this project for ticketing integration (it's a site for boat tours)
Didier Lafforgue
@did
Dec 18 2015 16:38
I’ve been once on that kind of tour in Chicago ;-)
Ryan Francis
@francirp
Dec 18 2015 16:38
That angular-base-controller is a block that is honestly uneccessary at this point. It was so I could change which angular controller is loaded
oh yeah? Nice!
Didier Lafforgue
@did
Dec 18 2015 16:38
I’m almost a Chicagoan actually :-)
<body class="{{ page.slug }}" {% block angular-base-controller %}ng-controller="BaseCtrl"{% endblock %}>
Ryan Francis
@francirp
Dec 18 2015 16:39
Nice! Yeah I'm in River North. If you're ever here and need some space to work out of, stop by LaunchPad Lab :)
Didier Lafforgue
@did
Dec 18 2015 16:39
the live editing mode doesn’t like this line
Ryan Francis
@francirp
Dec 18 2015 16:40
Gotcha
Is it the block that's the issue or the angular?
Didier Lafforgue
@did
Dec 18 2015 16:40
(I was in Chicago in September, the whole month)
when we render the page in the live editing mode, we add extra HTML tags
Ryan Francis
@francirp
Dec 18 2015 16:41
No way - that's amazing. Had no idea
Ah
The live editing is AMAZING by the way
Didier Lafforgue
@did
Dec 18 2015 16:42
<body class="index" <span="" data-element-id="angular-base-controller" style="visibility: hidden”>
which breaks your HTML
Ryan Francis
@francirp
Dec 18 2015 16:43
Got it. I think I can fix it from here. I don't really need the block at all, and I don't need angular on the body tag
Didier Lafforgue
@did
Dec 18 2015 16:43
thanks for your feedback!