Page 1 of 1
Cataloger Feature List and Include all item/cat
Posted: Fri Nov 23, 2007 5:16 pm
by giggler
I've tried using the cataloger Feature List and put the following in the Notes area of a category page, but the code just shows up as the code:
Code: Select all
{cms_module module='Cataloger' action='all' sub_template='Categoryandsubcatitem'}
The Help page said something about the feature template, but I was not able to find a "Feature" sub template:
Code: Select all
There are four kinds of templates: one kind for Catalog Items, one kind for Catalog Categories, and one kind for Printable Catalogs, and one kind for "Feature" lists
Also, while using "Include all Items and Categories within this category, including items and Categories in sub-Categories" The page show ups with the cat name and item all mixed together and doesn't distinguish the different categories, how can I separate them (see attached image)
Help!
Re: Cataloger Feature List and Include all item/cat
Posted: Fri Nov 23, 2007 8:34 pm
by Duketown
giggler,
Please reread the helptext. It states the following:
You can, as of version 0.4, have "feature lists" which are the n most-recently added catalog items, or a collection of k random items from the catalog.
Now read some more downwards. It gives more info on the feature 'recent' and the feature 'random'.
In most modules the feature list is known as parameters and are normally mentioned in the bottom of the helptext.
From the name 'Categoryandsubcatitem' (the template is not shipped with the standard as far as I know), I take it that you have prepared the template yourself. Isn't it possible to put some breaks ('') at the right places?
Duketown
Re: Cataloger Feature List and Include all item/cat
Posted: Fri Nov 23, 2007 11:45 pm
by giggler
'Categoryandsubcatitem' is just renamed from one of the default category templates. This is the main part of the code, but it seem to take the category and items list as one and displays that way.
Where would I put the
to get the category part to separate from the items?
Code: Select all
{section name=numloop loop=$items}
<td style="width: 260px;height: 130px;"><a href="{$items[numloop].link}"><img src="{$items[numloop].image}" alt="{$items[numloop].title}"/></a><br /><a href="{$items[numloop].link}">{$items[numloop].title}</a></td>
{if not ($smarty.section.numloop.rownum mod $cols)}
{if not $smarty.section.numloop.last}
</tr><tr>
{/if}
{/if}
{if $smarty.section.numloop.last}
{math equation = "n - a % n" n=$cols a=$items|@count assign="cells"}
{if $cells ne $cols}
{section name=pad loop=$cells}
<td style="width: 260px;"> </td>
{/section}
{/if}
</tr>
{/if}
{/section}
As for the feature list, this is what it says to use:
Code: Select all
{cms_module module='Cataloger' action='all' sub_template='my_sub_template'}
and I replaced my_sub_template with 'Categoryandsubcatitem' since I can't find an actualy "feature" template it said it includes.
Re: Cataloger Feature List and Include all item/cat
Posted: Sat Nov 24, 2007 2:46 am
by stopsatgreen
I haven't encountered your specific problem, but I had to use Cataloger quite extensively for a recent project and I found a lot of bugs and problems with it. I don't think it's quite ready for use on production sites yet, to be honest. There is one quite critical bug which the author is aware of, and a solution has been offered, but he hasn't released for a while.
Re: Cataloger Feature List and Include all item/cat
Posted: Sat Nov 24, 2007 2:56 am
by giggler
oh really?? What's the critical bug so I'll be aware of it. If you can remember the other bugs/problems, can you list them so we are aware?
I know one of them is how the thumbnail disappears when chaning page alias since the image file it uploads is associated with the that.
I've actually contacted him to help with customizing it somewhat and he reponded and I repsonded and I haven't heard back but he is a member of the core dev so he might be a bit busy.
Re: Cataloger Feature List and Include all item/cat
Posted: Sat Nov 24, 2007 3:12 am
by stopsatgreen
I've filed a couple of bugs in the tracker; one where the images are related to the alias name, so if you change the alias all the related images are lost; the second is the most critical, in that the Catalog (Printable) doesn't work at all. I'm sure there were others as well; if I remember them, I'll post.
Re: Cataloger Feature List and Include all item/cat
Posted: Sat Nov 24, 2007 3:30 am
by giggler
Oh ok, I've read those bug reports from you =) Do you have sample sites where you implemented this (you can PM me if you don't want to show publicly)
I'm actually thinking of hiring someone to just customize it for me. I don't know if the creator is still interested since I haven't heard back (though it is a holiday week).
I actually want to see if there's a solution to make it so that the filename is not dependent on the alias name and also to be able to use already uploaded images from the image browser. The problem with the way the image upload part works is that if you change an image, but another editor has the original on their machine and you want to change it back - you can't do - even if it's still on the image directory.
I was able to use thumbnail upload for customized thumbnail and "notes" for a larger image" and I do think cataloger has great potential. If I can figure out how to do the thing I have in the attachment, then I'll be happy enough...
Re: Cataloger Feature List and Include all item/cat
Posted: Sun Nov 25, 2007 11:08 pm
by stopsatgreen
http://www.craftcentral.org.uk/designermakergallery/
It's a useful module, and one of the top ten most-downloaded; but it really does need a lot of work done to it.
Re: Cataloger Feature List and Include all item/cat
Posted: Sun Nov 25, 2007 11:23 pm
by aozuas
I am also interested in the the solution you want giggler. I extensively used Cataloger in that project:
http://www.o3design.com.br/en_US/embalagens/
And the image name related to the alias in really a problem. Other problem is the one you fist said: Include all Items and Categories mixed all together and that is a problem o me.
Re: Cataloger Feature List and Include all item/cat
Posted: Mon Nov 26, 2007 3:53 am
by giggler
Those are both nice sites! It's good to see nice designs done with CMSMS!
The only solution I can think of is if the uploaded images are based on conten_id number instead of alias name, since the content_id number will not change. The only problem is if you ever need to refer to it, then it might be hard to find without the filename...but this will solve the alias issue for sure.
Actually if there is a way to add another text area field like "notes", you can also use that to upload images, one for custom thumbnail (this is if you have different size large image, but want to control and have a standard size and image for the thumbnail) and one for large images. BUT right now, you can only add the User Defined Attributes as a text box.
Does anyone know how to change the attributes to Text Area with the editor?
Re: Cataloger Feature List and Include all item/cat
Posted: Mon Nov 26, 2007 5:57 am
by Duketown
stopsatgreen wrote:
I haven't encountered your specific problem, but I had to use Cataloger quite extensively for a recent project and I found a lot of bugs and problems with it. I don't think it's quite ready for use on production sites yet, to be honest. There is one quite critical bug which the author is aware of, and a solution has been offered, but he hasn't released for a while.
With regards to the critical bug (I take it stopsatgreen that the print catalogue function doesn't work), please check the following:
http://forum.cmsmadesimple.org/index.php/topic,15590.msg85284.html#msg85284 were I describe a possible solution.