-
☆ A M B ☆
- 3,112 Posts
This is a Support/Comments for GridClassKey 1.0.0-rc5
http://modx.com/extras/package/gridclasskey
Install the package using Package Manager in Manager
If you are upgrading:
CLEAR CACHE!
Change Log:
GridClassKey 1.0.0-rc5 (April 17, 2014)
=================================================
- auto clear cache after doing batch action
- [#70] fix inline editing that breaks parsed TV
- [#67][#71] condition to avoid breaking JS because of compress_css and compress_js
Note:
- Because of additional parameter to the setting, "type", the previous version will have TV values parsed of raw values.
At this point, the script will auto-fix the existing fields' types.
Refresh the grid again to get the fixed parsed values.
- If this TV has editor_type set, then when the user double clicks the cell, it will show the raw value instead, not the parsed value.
[ed. note: goldsky last edited this post 12 years, 5 months ago.]
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
-
☆ A M B ☆
- 209 Posts
After some use I am getting the following issue with the creation of a new GridClassKey resource. Would reinstalling help or would that create issues with existing GCK containers?
Ben Morrison
Hacking templates to pieces since 2003
-
☆ A M B ☆
- 3,112 Posts
sorry, I missed out a line of code for a new resource is being created.
https://github.com/goldsky/GridClassKey/blob/develop/core/components/gridclasskey/controllers/classkey/container/create.class.php#L64
Change:
$version = str_replace(' ', '',$gridclasskey->config['version']);
$withVersion = $isJsCompressed? '' : '?v=' . $version;
to
$version = str_replace(' ', '',$gridclasskey->config['version']);
$isJsCompressed = $this->modx->getOption('compress_js');
$withVersion = $isJsCompressed? '' : '?v=' . $version;
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
-
☆ A M B ☆
- 209 Posts
Thank you so much that fixed it!
Ben Morrison
Hacking templates to pieces since 2003
-
☆ A M B ☆
- 209 Posts
Now when I tried to move some article's from the
Articles extra into the GCK container I get the following when I try to edit it:
Fatal error: Call to undefined method GridContainer_mysql::getContainerSettings() in /home/ties/public_html/core/components/articles/model/articles/article.class.php on line 76
I am guessing that is because the resource type is still set to whatever custom one Articles uses and that is interfering somehow (should have expected that). Do you know a way to change resource types in bulk? Batcher does not do that and I am not great at all with going into the MySQL directly.
Thank you for your help!
Ben Morrison
Hacking templates to pieces since 2003
-
☆ A M B ☆
- 3,112 Posts
hmm...
I've never tried to move the article's resources to GCK.
But hate to say, MySQL is the best way.
UPDATE `modx_site_content` SET `class_key` = 'modDocument' WHERE `parent` = ???
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
-
☆ A M B ☆
- 209 Posts
Eww MySQL lol. Sure I will give it a try, but I am also trying to get Modx to add the publishedby field as a dropdown. THAT is going to be tricky.
Ben Morrison
Hacking templates to pieces since 2003