Search

Hi,

I have a 'works' page that displays movies. Works section has a "year" custom field in which the user enters the year that the work belongs to. Now, in my page, i want to display works grouped by this 'year' custom field.

<xsl:apply-templates select="works/year[@handle=2008]/entry" />
<xsl:apply-templates select="works/year[@handle=2007]/entry" />

etc... works but, it's manual.

I think the archive for the articles page does exactly this, but i don't understand how. Could anyone give me some hints to understand how the archive page works?

Thanks,

well, a bit of googling solved my problem: http://sources.redhat.com/ml/xsl-list/2000-07/msg00458.html

Yep, the Muenchian Method was going to be my suggestion.

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