0 users online. Create an account or sign in to join them.Users



I have a section of groups and a section of entries, which are associated to different group entries from the groups section.

I would like to take only one entry per a group.

I am not clear on how to do that in a nice way.

I ended up having a datasource for every group, but this is hard to maintain as groups can be freely added.

Can it be done with one datasource (or a chained one)? Or with some extension?


Can be done with a datasource, but most likely you'll need to customise it. You'd have to build a query which gets you the data which you want, and then output that.

As regards chaining I don't think there's a way to do exactly what you want, and neither a ready made extension as far as I'm aware.

I made a custom data source a while ago for this exact use case.

I used SymQL for convenience, but I guess you could also use EntryManager directly if SymQL doesn't work (not actively maintained).

Thanks a lot guys, I definitely will be able to move on with your infos and shares. I let know my results.

It should be a part of a bigger update of an older site.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details