Hi,
I tried all day to get E2G to work without success.
I use modx evo 106 and xampplite on my laptop which both I trust because I never had problems with them designing websites in modx evo 106.
I installed the latest version of Goldsky E2G with success, all installation check marks were green. System check :
Database collation latin_swedish_ci (don't know about this one !)
OK PHP version 5.3.1
OK PHP magic_quotes_gpc()=OFF
OK PHP Multibyte String enabled
OK PHP ZipArchive
OK assets/libs
I can acces the menu dashboard, see the interface and upload new images. With FileManager I can upload images to assets/images/gallery
However, when I create a resource and do a simple snippet call [!easy2!] I get all kinds of different errors:
1. when I use a blank template I get the error "Javascript library error."
2. when I use a minimal template FireFox shows a black screen.
When I check view page source I see the following at the end of the page:
<div id="content">
Javascript library error.
</div>
3. When I use Opera as a browser I also get the error "Javascript library error."
4. When I try [!easy2? &gid=`*` &slideshow=`smoothgallery` &ss_config=`slidingtransition` !] I get the following error :
snippet calls wrong gallery id:*, order, or wrong limit.
SELECT * FROM modx_easy2_files WHERE dir_id IN (*) AND width/height >=0 AND width/height<=0 AND status = 1 ORDER BY LIMIT 0,
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '*) AND width/height >=0 AND width/height<=0 AND status = 1 ORDER BY LIMIT 0,' at line 1
What also is confusing is that in some setups for the module it is said to use :
include_once(MODX_BASE_PATH.'assets/modules/easy2/index.php');
and in others :
<?php
include_once(MODX_BASE_PATH.'assets/modules/easy2/index.php');
?>
and in other setups it is said to use:
<?php
$o = include_once(MODX_BASE_PATH.'assets/modules/easy2/index.php');
return $o;
?>
and in another without the <?php and ?> tags which seems to work.
$o = include_once(MODX_BASE_PATH.'assets/modules/easy2/index.php');
return $o;
wich one is correct ? I guess the one without the <?php and ?> tags as it seemed to work.
Also I am not sure anymore what kind of template I have to assign to the resource calling the snippet, a blank template, a minimal template or a custom template declaring script calls for E2G ?
I thought E2G is already taking care of calling js scripts and css styles, or am I mistaken ?
As a newbie, I guess I am overlooking something basic but I can't see it yet.
I guess it's true what they say about modx, that it is actually for people with coding experience.
Also when I go to Modules => Easy2Gallery =>Menu => Files, the whole files menu shows up vertically instead of horizontally. How can I change this to horizontally ?
Greetings Brian.
[ed. note: sitecms last edited this post 11 years, 8 months ago.]