Catalogue comments and rss filters

Post

Posted
Rating:
#2125 (In Topic #405)
Avatar
Standard member
Paul Flavel is in the usergroup ‘Honoured member’
Hi,

I have a couple of questions, on howto.
  1. Is there a way of being able to filter an rss feed to only show a particular catalogue, and not all of them. I am trying to use the rss feed block to show new entries for one of my catalogues.
  2. I would like to enable comments by default for my catalogue entries, however by default it looks like you have to enable comments in the meta for each catalogue entry. I am probably missing something obvious here.
Sorry for the questions. Had many more a couple of days ago, but persisted in the excellent tutorials.
 
Online now: No Back to the top

Post

Posted
Rating:
#2129
Avatar
Site staff
Adam is in the usergroup ‘Super-moderators’
Not sure about your first question, I would expect there is way though. As for your second question I believe whatever you choose (comments or no comments) becomes the default after so many entries, can't remember how many entries but pretty sure Chris said it learns from your choices.

No need to apologise for asking questions, I still do and I've been here a long time now.
Online now: No Back to the top

Post

Posted
Rating:
#2130
Avatar
Standard member
Paul Flavel is in the usergroup ‘Honoured member’
Cheers King.
I am using a Catalogue for micro computer projects where there are a few fields for the respective poster to complete. I am now trying to simplify this by having one of the options ie. Comments, automatically enabled. Feedback is a big part of the projects being listed. I would expect that it should be a matter of a simple field template edit, using simple loosely as I cant't find it.
Online now: No Back to the top

Post

Posted
Rating:
#2133
Avatar
Standard member
Paul Flavel is in the usergroup ‘Honoured member’
Ok. I am partly there with the catalogues in the rss feeds.

I am having to identify each category i want in the feed via:

backend.php?type=RSS2&mode=catalogues&select=13,17

I would prefer to have a listing of all entries under a particular catalogue.
Online now: No Back to the top

Post

Posted
Rating:
#2134
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Comments- It's the mode average for existing records that becomes the default. i.e. over 50% allow, means default is allow. If you need to mass-change, do an SQL query.

UPDATE cms_catalogue_entries SET allow_comments=1 WHERE c_name='foobar';

RSS- Yes, you can use the select parameter. If you have a tree catalogue you can achieve what you want using the Selectcode '*' feature on the root category. E.g. if the root category is #5, you can do select=5*.

If not using a tree it would be more difficult. If categories were created in bulk you could use '-' to do ranges.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
Item has a rating of 5 (Liked by Adam)
#2135
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
This will allow you to use a catalogue name in the select parameter, so long as it doesn't look like a Selectcode string that works on numeric IDs.

Attachment

sources/hooks/systems/rss/catalogues.php


We'll include this in 10.0.1.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#2151
Avatar
Standard member
Paul Flavel is in the usergroup ‘Honoured member’
Thankyou Chris.

Using the file Chris attached you can use the following:

backend.php?type=RSS2&mode=catalogues&catalogue_categories&select=projects

For my site this will call every entry from my projects catalogue including all subsequent category entries. It ignores any other catalogues. ie. FAQ

Thankyou again Chris.
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Users online:

John Connor, amit.nigam, Vaiva, MVLipwig, Philip, gabriel58

Forum statistics:
  • 1,296 topics, 5,829 posts, 7,064 members
  • Our newest member is flour2door
Birthdays:
Back to Top