Vivid Thumb Gallery Custom Block Template
Permalink
Trying to add a custom block template for Vivid Thumb Gallery but once I add the appropriate folder to my applications directory and try to edit the block I get this error...
SyntaxError: expected expression, got '<'[Learn More]
I'm sure (well moderately sure) I could modify the package contents to get it working but dont want to have those edits wiped out when the package updates.
Any ideas?
SyntaxError: expected expression, got '<'[Learn More]
I'm sure (well moderately sure) I could modify the package contents to get it working but dont want to have those edits wiped out when the package updates.
Any ideas?
If you enable "Show the debug error output" in the Dashboard -> System & Settings -> Debug Settings it should give you more information about which file is causing the error.
Tried this... got the same with no output of error details other than the one I described before (in the console that is)
Ok, so this issue is a javascript issue, not a PHP issue. Have you verified you don't have any javascript mistakes?
I get this in the console...
Loading failed for the <script> with source “http://mydomain.com/application/blocks/vivid_thumb_gallery/assets/imagelightbox.min.js”.
Loading failed for the <script> with source “http://mydomain.com/application/blocks/vivid_thumb_gallery/assets/imagelightbox.min.js”.
Does that file exist?
Ahhh. I guess I need to copy that from the package to my application/blocks folder?
That did it. Thanks for our help!