ncrossland/modx-autofolders-revo — Issue #2: Feature Request: Setting format for all variables of new date folders
Author: boundaryfunctions
Created: 2011-12-15 13:56:57+00:00
State: open

It would be nice to be able to set the format of all variables for new year/month/day-folders via modX settings more detailed:

* pagetitle
* longtitle
* menutitle
* alias

The most flexible idea would be to have the setting as a string and parse this to get the new variables for the new date folders, eg.:

* `month_folder_pagetitle_format` set to `Archive %m-%y` generates the pagetitle "Archive 12-11"
* `month_folder_longtitle_format` set to `Posted in %B %Y` generates the longtitle "Posted in Decembre 2011"
* etc.

This would make the plugin a little more complicated to use but on the other hand far more flexible. What do you think about this? I would try a first implementation in the next weeks.