Results 1 to 5 of 5

Thread: Sorting and HTML templates in 5.0

  1. #1

    Default Sorting and HTML templates in 5.0

    Not sure if this is the right place to discuss the beta, but...

    I installed 5.0 on a new machine, and also managed to redo my database so that the sort names show up correctly (IE: Frank Zappa under Z). Under 5.0 I exported to a simple website, but the HTML ignores the sort names, placing Frank Zappa back in the F section.

    I assume this'll be fixed before release, right?

  2. #2
    Join Date
    Feb 2009
    Posts
    1,548

    Default Re: Sorting and HTML templates in 5.0

    Yes. In beta that was posted on the web site today, you can choose from two separate fields to sort either by Artist or ArtistSort.

    Andrei

  3. #3

    Default Re: Sorting and HTML templates in 5.0

    Excellent... of course, now I have a different problem:

    I use Geeklog on my web site for content management. Using the v4.0-style templates, I was able to successfully add the necessary PHP code to the template in order to wrap the exported files in the Geeklog framework. However, since you've changed the template format, the program interprets PHP code as macros, and the export process ends with an error.

    Any ideas? If you want I can send my template files to you for you to take a look...

  4. #4
    Join Date
    Feb 2009
    Posts
    1,548

    Default Re: Sorting and HTML templates in 5.0


    This issue is already being addressed. The simplest workaround available today is replacing all '$' characters in PHP code to '$$'. HTML template processor will convert them back to single '$' characters.

    In next update, there will be an option of disabling macro expansions inside PHP blocks.

  5. #5

    Default Re: Sorting and HTML templates in 5.0

    Awesome! Thanks a bunch, Andrei.

    And, hey, once the template format is finalized, you'll have something for your gallery.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •