<![CDATA[ MiniShop2 not available on Extras? - My Forums]]> https://forums.modx.com/thread/?thread=86923 <![CDATA[Re: MiniShop2 not available on Extras?]]> https://forums.modx.com/thread/86923/minishop2-not-available-on-extras?page=3#dis-post-479598 bezumkin2 Oct 06, 2013, 06:10 PM https://forums.modx.com/thread/86923/minishop2-not-available-on-extras?page=3#dis-post-479598 <![CDATA[Re: MiniShop2 not available on Extras?]]> https://forums.modx.com/thread/86923/minishop2-not-available-on-extras?page=3#dis-post-479594
Cheers for the quick response!]]>
gelstudios Oct 06, 2013, 05:48 PM https://forums.modx.com/thread/86923/minishop2-not-available-on-extras?page=3#dis-post-479594
<![CDATA[Re: MiniShop2 not available on Extras?]]> https://forums.modx.com/thread/86923/minishop2-not-available-on-extras?page=3#dis-post-479591
Use it for listing and sorting products.]]>
bezumkin2 Oct 06, 2013, 04:47 PM https://forums.modx.com/thread/86923/minishop2-not-available-on-extras?page=3#dis-post-479591
<![CDATA[Re: MiniShop2 not available on Extras?]]> https://forums.modx.com/thread/86923/minishop2-not-available-on-extras?page=3#dis-post-479590
A quick question that I have however, how is it best to access the products on another page with ideally some sort of sorting clause? I tried getResources and it just moaned at me smiley

Many thanks]]>
gelstudios Oct 06, 2013, 04:05 PM https://forums.modx.com/thread/86923/minishop2-not-available-on-extras?page=3#dis-post-479590
<![CDATA[Re: MiniShop2 not available on Extras?]]> https://forums.modx.com/thread/86923/minishop2-not-available-on-extras?page=3#dis-post-479233
Here is version 1.7.2 - http://modx.com/extras/package/pdotools

For using our repository you need set new package provider:


And it will can download free packages. BTW you can test any paid packages at http://modx-test.com]]>
bezumkin2 Oct 01, 2013, 07:03 PM https://forums.modx.com/thread/86923/minishop2-not-available-on-extras?page=3#dis-post-479233
<![CDATA[Re: MiniShop2 not available on Extras?]]> https://forums.modx.com/thread/86923/minishop2-not-available-on-extras?page=2#dis-post-479231
You mention that you've enabled the Provider without keys for the free packages
http://forums.modx.com/thread/86923/minishop2-not-available-on-extras#dis-post-479038

How is this done?

]]>
sottwell Oct 01, 2013, 06:52 PM https://forums.modx.com/thread/86923/minishop2-not-available-on-extras?page=2#dis-post-479231
<![CDATA[Re: MiniShop2 not available on Extras?]]> https://forums.modx.com/thread/86923/minishop2-not-available-on-extras?page=2#dis-post-479200 Quote from: bezumkin2 at Oct 01, 2013, 03:09 PM
No, it is not requirement. You can modify any chunks as you need.

Javascript requires only jQuery.

Yes, I could see that.
I don't know perhaps if modifying the chunks is not so practical then switching to Bootstrap is no big deal. Thanks for the answer!]]>
panahapi Oct 01, 2013, 03:19 PM https://forums.modx.com/thread/86923/minishop2-not-available-on-extras?page=2#dis-post-479200
<![CDATA[Re: MiniShop2 not available on Extras?]]> https://forums.modx.com/thread/86923/minishop2-not-available-on-extras?page=2#dis-post-479197
Javascript requires only jQuery.]]>
bezumkin2 Oct 01, 2013, 03:09 PM https://forums.modx.com/thread/86923/minishop2-not-available-on-extras?page=2#dis-post-479197
<![CDATA[Re: MiniShop2 not available on Extras?]]> https://forums.modx.com/thread/86923/minishop2-not-available-on-extras?page=2#dis-post-479195
Is Bootstrap a requirement and is the javascripts plays well with other framework, say, Foundation?

Edited: Never mind, I think I figured it out it is indeed made w/ Bootstrap in mind]]>
panahapi Oct 01, 2013, 03:02 PM https://forums.modx.com/thread/86923/minishop2-not-available-on-extras?page=2#dis-post-479195
<![CDATA[Re: MiniShop2 not available on Extras?]]> https://forums.modx.com/thread/86923/minishop2-not-available-on-extras?page=2#dis-post-479133 Quote from: panahapi at Oct 01, 2013, 05:05 AM
Ah, yes.. I just realized it's a "higher" level tools suitable for a casual user.

Yep. There is 6 snippets for now:

pdoResources - fast replacement for getResources
pdoSitemap - fast replacement for GoogleSiteMap
pdoCrumbs - fast replacement for Breadcrumb
pdoField - replacement for getResourceField and UltimateParent
pdoUsers - list users of your site by groups and\or roles
pdoNeighbors - show links to neighbors documents (next, prev and up)

Also you can simple get resources in your snippets like that:
$pdo = $modx->getService('pdoFetch');
if ($resource = $pdo->getObject('modResource', 15)) {
    print_r($resource);
}


Or you can retrieve and template a number of resources:
$pdo = $modx->getService('pdoFetch');
$resources = $pdo->getCollection('modResource', array('id' > 0, 'published' => 1), array('limit' => 10, 'includeTVs' => 'myTV1')));
if (empty($tpl)) {$tpl = '@INLINE <p>[[+idx]]. [[+pagetitle]]</p>';}

$output = '';
foreach ($resources as $row) {
    $output .= $pdo->getChunk($tpl, $row)
}
return $output;
]]>
bezumkin2 Oct 01, 2013, 05:45 AM https://forums.modx.com/thread/86923/minishop2-not-available-on-extras?page=2#dis-post-479133