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
Hi all.
I want the following structure
- films (alias = films)- A-Z ( do i need to create a doc for this ) - film ( alias - film)
ie mydomain.com/films/s/starwars
probably a dumb question, but i can't find any example of the autofolder using A-Z.
How should i set out my autofolders.config
<?xml version="1.0" encoding="utf-8" ?> <Settings> <FolderProviders> <FolderProvider alias="DateFolder" assembly="/bin/AutoFolders" type="AutoFolders.Providers.DateFolderProvider" TruncatedFolderUrl="folder-1/folder-2/newsitems" rootFolder="//node[@level = 2]"> <Property alias="FolderDocType">DateFolder</Property> <Property alias="DayFormat">dd</Property> <Property alias="MonthFormat">MM</Property> <Property alias="YearFormat">yyyy</Property> </FolderProvider> <FolderProvider alias="AlphaFolder" assembly="/bin/AutoFolders" type="AutoFolders.Providers.AlphaFolderProvider" > <Property alias="FolderDocType">DateFolder</Property> <Property alias="UseUppercase">true</Property> </FolderProvider> </FolderProviders> <DocTypes> <DocType alias="film" folderProvider="AlphaFolder"/> </DocTypes> </Settings>
Jep, you nedd to create a document type for the autofolders.
You have specified the AlphaFolder as your FolderProvider. This means this code is used:
<FolderProvider alias="AlphaFolder" assembly="/bin/AutoFolders" type="AutoFolders.Providers.AlphaFolderProvider" > <Property alias="FolderDocType">DateFolder</Property> <Property alias="UseUppercase">true</Property></FolderProvider>
The property called FolderDocType is set to "DateFolder". This means that this is the document type that will be created as the autofolder.
So you need to create a document type called "DateFolder", and remember to allow the "film"-document type to be a child of the DateFolder.
Hope this helps, otherwise write again :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
A - Z autofolders
Hi all.
I want the following structure
- films (alias = films)
- A-Z ( do i need to create a doc for this )
- film ( alias - film)
ie mydomain.com/films/s/starwars
probably a dumb question, but i can't find any example of the autofolder using A-Z.
How should i set out my autofolders.config
Jep, you nedd to create a document type for the autofolders.
You have specified the AlphaFolder as your FolderProvider. This means this code is used:
The property called FolderDocType is set to "DateFolder". This means that this is the document type that will be created as the autofolder.
So you need to create a document type called "DateFolder", and remember to allow the "film"-document type to be a child of the DateFolder.
Hope this helps, otherwise write again :)
is working on a reply...