Not able to use content template demos in Edit+


(Ryan Archer) #1

Matrix Version: 5.3.3

Have installed the templates provided from https://matrix.squiz.net site:

  • tabs
  • video embed
  • google maps

Have set them up so that they are in a global config folder and now I’m testing them out with a live site and making a test page which is included in the allowed ‘root node’.

So the template appears in Edit+ - but when I select it, I get no options (in tabbed content or video embed) to insert content/data. I just get a weird blank box with very little in it.

Did check the browser inspector and I can see this error:

“Uncaught TypeError: Cannot read property ‘indexOf’ of undefined.”
Does not mean much to me except that there are issues with easyedit.min.js file that the Edit+ feature uses. Am I using an outdated script in Edit+?

I look at the code in the inspector and the HTML that is supposed to be there seems correct. I might also mention that there were a few warnings when I was importing the tgz file into our Matrix.

Screenshot of browser inspector code is attached.


(Ryan Archer) #2

Here is an image to show what I see in Edit+ interface:


(Bart Banda) #3

Hmm, looks like it’s missing metadata information. You might be suffering from https://squizmap.squiz.net/matrix/9535

Maybe try setting some HIPO thresholds for things like metadata a bit higher so a hipo job doesn’t need to be spawned.

Workaround is to manually go to the container asset and apply the schema that way, but ideally would want the bug patched on your system.


(Ryan Archer) #4

True dat Bart. I have been killing so many HIPOS lately. Was thinking I would get an email/call from WWF sometime soon…

Doing it manually would bug me as it would take most of the “fun” out of using Content Templates I think.


(Ryan Archer) #5

Hmmm…
Looked into out HIPO Server Configuration page and I don’t think I have any access to change any of the settings there.


(Bart Banda) #6

I think your best option is to get it properly patched, should be fairly straight forward to as we’ve already applied the patch to a couple of other systems with no issues.


(Ryan Archer) #7

We are lining up for an upgrade to v5.4 when it gets released as part of our annual update schedule and it probably makes better sense to apply the patch then. BTW, what’s the ‘ballpark’ date for this upcoming release?

To get around the HIPPO issue, I can create the container in the _admin interface and then apply the template to it. Then go into the _edit interface and everything is working as it “should” be.

I did report an issue I found with the paint layout in the Google Map template that is available for download. It uses the same class name as the “Video Embed” template and when using the content container templates together, it mucks up the presentation.


Requirements for version 5.4
(Bart Banda) #8

Ball park is end of October hopefully. We are finalising all big features atm and running through UAT so hopefully not long to go. :slight_smile:

Yep, thanks for that. Fixed that up.


(Ryan Archer) #9

Bump. v5.4 still eminent? Sorry to hijack this thread again…


(Bart Banda) #10

Update here https://matrix.squiz.net/news/2016/matrix-newsletter-october-2016#54-update