<![CDATA[ Catalog of items - My Forums]]> https://forums.modx.com/thread/?thread=87352 <![CDATA[Catalog of items]]> https://forums.modx.com/thread/87352/catalog-of-items?page=2#dis-post-481184
Example: http://www.exapro.com/used-agie-charmilles-agietron-innovation-2-die-sinking-machine-erowa-robot-p10922216/?counter=1&category=151&page=1&exaspot=2#/?
]]>
bitrigat Oct 27, 2013, 08:16 AM https://forums.modx.com/thread/87352/catalog-of-items?page=2#dis-post-481184
<![CDATA[Re: Catalog of items]]> https://forums.modx.com/thread/87352/catalog-of-items?page=2#dis-post-541111 Quote from: Bruno17 at May 02, 2016, 10:06 AM
does this work?

[[!snippetloop2?
&packageName=`itemcatalog`
&classname=`itemCatalog`
&where=`{"published":"1","deleted":"0"}`
... 

Thanks.]]>
bitrigat May 02, 2016, 06:27 AM https://forums.modx.com/thread/87352/catalog-of-items?page=2#dis-post-541111
<![CDATA[Re: Catalog of items]]> https://forums.modx.com/thread/87352/catalog-of-items?page=2#dis-post-541110
[[!snippetloop2?
&packageName=`itemcatalog`
&classname=`itemCatalog`
&where=`{"published":"1","deleted":"0"}`
... 
]]>
Bruno17 May 02, 2016, 05:06 AM https://forums.modx.com/thread/87352/catalog-of-items?page=2#dis-post-541110
<![CDATA[Re: Catalog of items]]> https://forums.modx.com/thread/87352/catalog-of-items?page=2#dis-post-541108 I would like to add deleted parameter (AND) to query so it only gets those records which are published and not deleted, but don't know how to do that. Where i add that {"deleted":"0"} parameter?

[[!snippetloop2?
&packageName=`itemcatalog`
&classname=`itemCatalog`
&where=`{"published":"1"}`
...]]>
bitrigat May 02, 2016, 04:51 AM https://forums.modx.com/thread/87352/catalog-of-items?page=2#dis-post-541108
<![CDATA[Re: Catalog of items]]> https://forums.modx.com/thread/87352/catalog-of-items#dis-post-540318 Quote from: Bruno17 at Apr 05, 2016, 06:30 PM
They don't need to be connected to resources.
This is just one way of many to create groups of records, where each group is related to one resource (by the field resource_id in this case).

Can you still help me?
Now i have made resources, TV's and templates and connected templates to resources and TV's.
Page structure is following:

Frontpage <-- This has other template
Gallery <-- gallery-template is connected to this
Item <-- gallery-template is connected to this

Is it possible to get only links from grid items and show them on separate page (page Item) and how this can be done?

My target is to get one page to display grid contents partially (name, description) and link where rest information can be read.

I appreciate your help.]]>
bitrigat Apr 10, 2016, 10:06 AM https://forums.modx.com/thread/87352/catalog-of-items#dis-post-540318
<![CDATA[Re: Catalog of items]]> https://forums.modx.com/thread/87352/catalog-of-items#dis-post-540174 This is just one way of many to create groups of records, where each group is related to one resource (by the field resource_id in this case).]]> Bruno17 Apr 05, 2016, 01:30 PM https://forums.modx.com/thread/87352/catalog-of-items#dis-post-540174 <![CDATA[Re: Catalog of items]]> https://forums.modx.com/thread/87352/catalog-of-items#dis-post-540173 Quote from: Bruno17 at Apr 05, 2016, 06:53 AM
when your grid is working and you could add records, you should get the records with migxLoopCollection.
What is your migxLoopCollection-call currently?
And of course, you can have CMP like done with the doodles example for your gallery.
Just fill out the CMP-Settings and create a menu-item.
Do you want your records connected to resources with a resource_id or are they not related to resources at all?

Problem solved. There was typo in the json-configuration and in a template. Menu is working fine also. Records don't need to connect resources or does it help to display the items each by each or how i can modify the output?
]]>
bitrigat Apr 05, 2016, 01:05 PM https://forums.modx.com/thread/87352/catalog-of-items#dis-post-540173
<![CDATA[Re: Catalog of items]]> https://forums.modx.com/thread/87352/catalog-of-items#dis-post-540162
What is your migxLoopCollection-call currently?

And of course, you can have CMP like done with the doodles example for your gallery.
Just fill out the CMP-Settings and create a menu-item.

Do you want your records connected to resources with a resource_id or are they not related to resources at all?]]>
Bruno17 Apr 05, 2016, 01:53 AM https://forums.modx.com/thread/87352/catalog-of-items#dis-post-540162
<![CDATA[Re: Catalog of items]]> https://forums.modx.com/thread/87352/catalog-of-items#dis-post-540152 Quote from: sottwell at Jan 12, 2016, 11:07 AM
But if you just want a simple catalog, it's very easy to either use resources with Collections to organize them and taxonomies and various tagging TV add-ons, or a MIGXdb solution.

Ok, i choosed MiGXdb but i still can't get it working. Now i am trying to follow the "Create a basic gallery-management.." guide but cannot get anything to visible.

I created template, container and resource under it and add [[migxLoopCollection]] snippet to template but can't see anything. Datagrid is working and i can save items there.

Do you know what's wrong?

Other question: Is it possible to add a menu item for this gallery like in doodles example?]]>
bitrigat Apr 04, 2016, 05:41 PM https://forums.modx.com/thread/87352/catalog-of-items#dis-post-540152
<![CDATA[Re: Catalog of items]]> https://forums.modx.com/thread/87352/catalog-of-items#dis-post-536874
But if you just want a simple catalog, it's very easy to either use resources with Collections to organize them and taxonomies and various tagging TV add-ons, or a MIGXdb solution.

You could also use ClassExtender to create a custom resource type that has taxonomy and tagging and other fields as part of the resource. It's better for searching and sorting that way. http://bobsguides.com/blog.html/2014/06/02/why-extend-modresource/

]]>
sottwell Jan 12, 2016, 05:07 AM https://forums.modx.com/thread/87352/catalog-of-items#dis-post-536874