-
☆ A M B ☆
- 3,112 Posts
ugh...
You just woke me up to read the new Doodles for 2.2
It IS different.
Hey, about your book.
Isn't that the evo book?
[ed. note: goldsky last edited this post 14 years, 8 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 ☆
- 24,524 Posts
I think you're thinking of this
http://sottwell.com/modx-from-the-inside.html
I work on it every now and then.
Any fix for this tutorial yet?
-
☆ A M B ☆
- 3,141 Posts
That error means there's an xtype: "something" somewhere, while "something" is not a registered xtype. xtype's are registered through Ext.reg('something',TheSomethingClass), which is typically at the bottom of the file.
The problem was the adding of the grid into the panel with its xtype:
{
xtype: 'doodles-grid-doodles'
,cls: 'main-wrapper'
,preventRender: true
}
before the grid was added.
This was fixed per
http://tracker.modx.com/issues/7020 a month ago
If you have no special CSS for your CMP you can comment this line.
Thanks Bruno, simple enough. Initially it looked like I was missing some CSS because my panel looked like it was missing some styles. But it seems my lexicon isn't working so no content is being loaded in.
-
☆ A M B ☆
- 24,524 Posts
Well, giving the tutorial one more try, it all works fine up until we try to display data in the grid. All I get is an empty grid, with the message "No data to display."
<sigh> Went through part II again, and it works. Must have been some stupid typo somewhere or something. Maybe that computer shop owner was right 20 years ago, and I should have stayed home knitting booties for my grandchildren.
[ed. note: sottwell last edited this post 14 years, 2 months ago.]
-
☆ A M B ☆
- 24,524 Posts
The new internal helper processor classes are remarkable. They take the SQL right out of managing data in a CMP. I suppose there are limits, though, and really complex multi-joined queries would need to be custom-coded in the usual manner.