<![CDATA[ Display custom database table in custum manager page - My Forums]]> https://forums.modx.com/thread/?thread=96042 <![CDATA[Display custom database table in custum manager page]]> https://forums.modx.com/thread/96042/display-custom-database-table-in-custum-manager-page#dis-post-519836 http://bobsguides.com/custom-db-tables.html) tutorial and everythink is working fine. I can display items from my custom table on the page.
The problem is to display them in Manager. I created my own manager page like it is on this page http://rtfm.modx.com/revolution/2.x/developing-in-modx/advanced-development/custom-manager-pages/custom-manager-pages-in-2.3 and i can display on this page static text. Now i want to get on this manager page, my custom table items. I thought i can acces them by
$modx->addPackage('quotes');
but it's giving me blank page.
Custom manager page is in sam path as bobs snippet (core/components/quotes/).
How can I get this custom table?

Edit: my MODx version is 2.3.3]]>
elmaciaso Feb 03, 2015, 06:04 AM https://forums.modx.com/thread/96042/display-custom-database-table-in-custum-manager-page#dis-post-519836
<![CDATA[Re: Display custom database table in custum manager page (Best Answer)]]> https://forums.modx.com/thread/96042/display-custom-database-table-in-custum-manager-page#dis-post-519848 When i tried to display my custom table in dashboard widget, and I study widget with active users, I saw that it using
$this->modx->action
, not
$modx->action
like in snippets. I changed it and now it works correct.
]]>
elmaciaso Feb 03, 2015, 07:51 AM https://forums.modx.com/thread/96042/display-custom-database-table-in-custum-manager-page#dis-post-519848