Feels like all I do is sit here and ask questions!
So heres the problem. I've tried implementing Tim's datefolder package and it works a charm for one document type. The problem is im trying to use it to archive news and events items, these are 2 different doctypes, and the package doesnt seem to like this. Is there away around it or will i have to write my own control?
Thats what I thought, however when I attempt to insert multiple documenttypes into a datefolder (I'm still unsure wether or not they will both be put into just one, but thats workable) it just sits there and does nothing. I even tried to manually edit the XML but, alas, no avail.
This is why I thinking I will have to create my own control.
Ill get it another few goes, could just be the bugs.
It is possible to do it with Tim's datefolder. I had to install it twice and select the two doctypes I wanted on seperate occasions (i.e news on first install and events on second) but i got it to work.
And for those wondering, it uses the same folders through two installs, you only have one set of folders for the date.
Glad to hear you got it solved. No reason to invent the wheel twice :) - But as mentioned I also had some trouble getting it to work properly. I think I installed it 3-4 times before it was working as intended.
Datefolders
Hi Again,
Feels like all I do is sit here and ask questions!
So heres the problem. I've tried implementing Tim's datefolder package and it works a charm for one document type. The problem is im trying to use it to archive news and events items, these are 2 different doctypes, and the package doesnt seem to like this. Is there away around it or will i have to write my own control?
I'm open to other suggestions.
thanks
Alec
As far as I remember you are able to choose, which document types you want to use the datefolders on during installation of the package.
But I think that part was a bit buggy and I had to try it a couple of times before I succeeded.
Try and go to the config foldeder -> TG.Umb.Datefolder and open the Datefolder.config and see what is in here.
It could look something like this:
<?xml version="1.0"?>
<DateFolder>
<DocumentTypeAlias>Nyhed</DocumentTypeAlias>
<DocumentTypeAlias>Artikel</DocumentTypeAlias>
</DateFolder>
The document types you want to auto-archive in datefolder should be listed in here. After you have done that it should be working.
Hope this helps.
Thats what I thought, however when I attempt to insert multiple documenttypes into a datefolder (I'm still unsure wether or not they will both be put into just one, but thats workable) it just sits there and does nothing. I even tried to manually edit the XML but, alas, no avail.
This is why I thinking I will have to create my own control.
Ill get it another few goes, could just be the bugs.
It is possible to do it with Tim's datefolder. I had to install it twice and select the two doctypes I wanted on seperate occasions (i.e news on first install and events on second) but i got it to work.
And for those wondering, it uses the same folders through two installs, you only have one set of folders for the date.
Glad to hear you got it solved. No reason to invent the wheel twice :) - But as mentioned I also had some trouble getting it to work properly. I think I installed it 3-4 times before it was working as intended.
But it was worth the trouble :)
im actually running two installations of it, I'm sure thats not possible without Umbraco throwing a fit but hey, its working!
one installation for each doctype!
is working on a reply...