Ggpkg not showing in Joomla, what I do wrong?
Posted: Wed Oct 11, 2017 5:03 pm
Hi guys,
Sorry for yet another perhaps stupid question
I've tried uploading my tour using the ggpkg plugin in Joomla. After inserting the {ggpkg fil="ID"} code in an article, it does not show anything, it shows only the {ggpkg} line. If I try to load a module via {loadmodule} that works, so Joomla is executing code in curly brackets. I must be doing something wrong...
This is what I did:
- I created HTML5 output, with 'Create files for external embedding' checked in the normal.ggt template.
- I zipped the files in the output foler, minus the image/tiles folders.
- I renamed the zip to huissevenaer.ggpkg and uploaded that via the Media manager in Joomla
- The plugin did it's work and in my FTP I can see a folder ggpkg in the Media folder, and within it a folder 'huissevenaer.ggpkg' containing the json/index/xml/js files. So the decompression worked.
- I then uploaded the images/tiles folders to that directory (230MB)
- Created a new article with this line: {ggpkg file="huissevenaer" start_preview="true" width="320" height="240"}
As far as I can tell that would be all I need to do right? Yet when I open that article on the front-end, I see this: The second line of code in that screenshot is from a HTML module I made to test if it works that way, that is also loaded in the article via {loadmodule ggpkg}, which proves Joomla does execute such code in an article.
I've tried loading the page with a default Joomla template, but same thing. So it's probably not the template.
Somehow Joomla is unable to make the ggpkg plugin work in an article, but the plugin does work in uploading and unpacking the ggpkg file.
FWIW: a regular FTP ulpoaded tour works, so the tour itself is not the problem.
What can I do to make it work?
regards, Frank
PS: Sorry, this is a re-post post from the main P2V forum, I hadn't realised there's a forum for the CMS plugins. I've deleted my post there.
Sorry for yet another perhaps stupid question
I've tried uploading my tour using the ggpkg plugin in Joomla. After inserting the {ggpkg fil="ID"} code in an article, it does not show anything, it shows only the {ggpkg} line. If I try to load a module via {loadmodule} that works, so Joomla is executing code in curly brackets. I must be doing something wrong...
This is what I did:
- I created HTML5 output, with 'Create files for external embedding' checked in the normal.ggt template.
- I zipped the files in the output foler, minus the image/tiles folders.
- I renamed the zip to huissevenaer.ggpkg and uploaded that via the Media manager in Joomla
- The plugin did it's work and in my FTP I can see a folder ggpkg in the Media folder, and within it a folder 'huissevenaer.ggpkg' containing the json/index/xml/js files. So the decompression worked.
- I then uploaded the images/tiles folders to that directory (230MB)
- Created a new article with this line: {ggpkg file="huissevenaer" start_preview="true" width="320" height="240"}
As far as I can tell that would be all I need to do right? Yet when I open that article on the front-end, I see this: The second line of code in that screenshot is from a HTML module I made to test if it works that way, that is also loaded in the article via {loadmodule ggpkg}, which proves Joomla does execute such code in an article.
I've tried loading the page with a default Joomla template, but same thing. So it's probably not the template.
Somehow Joomla is unable to make the ggpkg plugin work in an article, but the plugin does work in uploading and unpacking the ggpkg file.
FWIW: a regular FTP ulpoaded tour works, so the tour itself is not the problem.
What can I do to make it work?
regards, Frank
PS: Sorry, this is a re-post post from the main P2V forum, I hadn't realised there's a forum for the CMS plugins. I've deleted my post there.