Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm using Autofolders to create folders below news and event sections ..E.g. I have Events > 2011 > August > Event
In my autofolders.config file I have:
<autoFolder docType="Event" folderProviderAlias="DateFolderProvider_Simple" folderDocType="DateFolder" />
Is it possible to use another date, the eventDate, instead of the createDate.. if I create an event it will be sortet under August.. but I would like that it will be sortet under the month for the event date, e.g. September?
Or do I afterwards have to move the event?
I think you can set the alias in the config:
I have tried to use that, but I can't get it to work with creating auto folders.With the simple datefolder provider it works, but the more advanced I'm not sure how to it working.
I have this in the config:
<folderProvider alias="DateFolderProvider_Full" assembly="/bin/AutoFolders" type="AutoFolders.Providers.DateFolderProvider"> <property alias="DayFormat">dd</property> <property alias="MonthFormat">MM</property> <property alias="YearFormat">yyyy</property> <property alias="DateField">eventStartDateTime</property> </folderProvider>
<autoFolder docType="Event" folderProviderAlias="DateFolderProvider_Full" rootFolders="//node[@level=2]" folderDocType="DateFolder" truncatedFolderUrl="folder-1/folder-2/events" />
but it doesn't create any folders this way.
When I'm using the simple datefolder provider I get this and I have written the event dates (eventStartDateTime):
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted