Search

Hello, I have an issue I can't solve by myself... I've just made a section (sym 2.2.5) and I want to order the entry of this section in the entry table by the value of a "select box link" field... however by default it seems symphony doesn't make this possible: alt text

How can I make it work? Thanks Daniele

That, I guess, is a Select Box Link field?

Due to the nature of that field containing multiple options, it can't be sorted by.

A neat little workaround is to use a Reflection field to output the value of the first item and sort by that.

A value like {entry/associato-a/item[1]/text()} should do the trick.

:)

I didn't know Reflection Field... Thanks a lot, it works really nice!!!

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