I’m working on a Template for the Express Entry List Block, and for the Express Object I’m currently writing it for, it has a bunch of associations that I want to pull data from.
The Express Object is “Tournaments” and I’m trying to pull an Attribute from an Entry for the Express Object “Games” that is associated with a Tournament. “Tournaments” is also associated with another Express Object “Events”, as “Tournaments” are a part of “Events” logically. I am trying to learn the method to pull Attribute data from Associated Objects and their Entries.
When I try to use a method to pull an Attribute type Image, namely the URL of the Image so that I can slam it into an HTML tag, it WORKS however the browser Developer Console throws the error “Uncaught TypeError: $.concreteExpressEntryList is not a function” and this completely breaks the Concrete CMS control GUI (forget the proper term for this), and I can’t even save the page, or trigger the control GUI (dashboard? overlay?) to do anything until I zero-out the template and refresh the page (to trigger the code in the template to stop loading).
The method I’m using is:
“echo sprintf(’’, $item->getEntry()->getGames()->getGameThumbnail()->getRelativePath());”
I’m trying to create the Template for the Express Entry List Block to behave in similar vein to the demo of the Hair Dresser’s Salon, for the list of Staff Members in the demo video, but tailored for my own needs.
So far I cannot find any resources on this on google/online, and no solutions were posted on Slack. So I really need help figuring out what’s going on here. When I use this exact same method for the Express Entry Detail Block, it does not throw the issue to the browser’s Developer Console, and the webGUI for Concrete CMS continues to work. So I am stumped as to what is going wrong here.