Cataloguer feature lists

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
pgingao
Forum Members
Forum Members
Posts: 70
Joined: Mon Sep 03, 2007 8:02 am

Cataloguer feature lists

Post by pgingao »

Hi all,

installed the latest cataloguer (0.11.1) on a CMSMS 1.11.2.1 "Isabela", I noticed the {process_page_data problem} and the images not showing and found the workarounds here on the forum. But one thing I can't solve and didn't find anyone complaining is the feature lists.

I have aded categories and items and have this code on one normal page: {Cataloger sub_template='Feature-CSS-based' action='all'} but the result is empty. Also tried to put it on the template but no luck.

Any one had the same?

Many thanks

Paulo
User avatar
pgingao
Forum Members
Forum Members
Posts: 70
Joined: Mon Sep 03, 2007 8:02 am

Re: Cataloguer feature lists - weird behaviour

Post by pgingao »

Now the weirdest thing happened, the template main template markup changes on catalog-category pages. The </__body> goes first, and all the header bit "<__html><head>" goes last. Shows up fine on catalog-item pages.

Is anyone using this cataloguer version successfully?

Thanks
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1973
Joined: Mon Jan 29, 2007 4:47 pm

Re: Cataloguer feature lists - weird behaviour

Post by Jo Morg »

pgingao wrote:Now the weirdest thing happened, the template main template markup changes on catalog-category pages. The </__body> goes first, and all the header bit "<__html><head>" goes last. Shows up fine on catalog-item pages.

Is anyone using this cataloguer version successfully?

Thanks
On:
Cataloger->Manage Preferences->Category Page Settings
do you have:
Flush category page buffers ticked?
Untick it and test if it works.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
User avatar
pgingao
Forum Members
Forum Members
Posts: 70
Joined: Mon Sep 03, 2007 8:02 am

Re: Cataloguer feature lists

Post by pgingao »

Hi, unticked that box and the markup loads correctly now!
Many thanks.

Do you have an idea why feature lists show up empty?
My code is: {Cataloger sub_template='Feature-CSS-based' action='all'}

Thank you
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1973
Joined: Mon Jan 29, 2007 4:47 pm

Re: Cataloguer feature lists

Post by Jo Morg »

Without more data I don't have much to work with. It should be working, as that wasn't (or, at least shouldn't have been... ) 'touched' by the changes made to the code.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
User avatar
pgingao
Forum Members
Forum Members
Posts: 70
Joined: Mon Sep 03, 2007 8:02 am

Re: Cataloguer feature lists

Post by pgingao »

Here it goes:

Running on MAMP localhost, PHP 5.2.17 with XCache
GD version 2
MySQL 5.5.9

CMSMS 1.11.2.1 "Isabela"
Cataloger 0.11.1

I have several category and item pages.

The feature list template is the standard:

{*Feature-CSS-based template*}
{section name=numimg loop=$image_url_array}
<div class="col_2">
<img src="{CGSmartImage src1=$src_image_1_url alias1='medium' notag=1}" alt="{$title}" title="{$title}" />
</div>
{/section}
<div class="col_6 omega">
{section name=numloop loop=$items}
<div class="feature_items">
{section name=numloop loop=$items}
<div class="feature_item"><a href="{$items[numloop].link}"><img src="{$items[numloop].image}" title="{$items[numloop].title}" alt="{$items[numloop].title}"/></a><br /><a href="{$items[numloop].link}">{$items[numloop].title}</a></div>
{/section}
</div>


Then I have this code on a normal static page:
{Cataloger sub_template='Feature-CSS-based' action='all'}


I can't see any JS errors, basicay the {section name=numloop loop=$items} renders empty.


Id it helps I can put this on a server so you can login and have a look? Let me know.

Thanks again.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1973
Joined: Mon Jan 29, 2007 4:47 pm

Re: Cataloguer feature lists

Post by Jo Morg »

Ok, the issue has been reproduced. It should be fixed in next version.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1973
Joined: Mon Jan 29, 2007 4:47 pm

Re: Cataloguer feature lists

Post by Jo Morg »

Jo Morg wrote:Ok, the issue has been reproduced. It should be fixed in next version.
Follow up:
That wasn't exactly a bug but a misunderstanding of what is stated (vaguely, I have to agree) on the Cataloger help:
the use should be {Cataloger action='all' sub_template='Feature-CSS-based'} on any template that has for sure a content type of either one of the 3 content types Cataloger provides, in which case it will work properly.
That NOT being the case, i.e when there is the need to use this tag on ANY other template than those with Cataloger content types the use is a bit different:
{Cataloger action='all' sub_template='Feature-CSS-based' alias='/'}
if you want a list from all categories starting from the root;
or:
{Cataloger action='all' sub_template='Feature-CSS-based' alias='a-cataloger-valid-category-alias'};

That being said, there was a bug that actually would have resulted in an error with {Cataloger action='all' sub_template='Feature-CSS-based' alias='/'} use...
That bug is fixed and will be on the forge ASAP.
Thanks. :)
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Post Reply

Return to “Modules/Add-Ons”