Milohoss
Jul 24 2006, 09:13 PM
Yo...
Let's say I have two different sets of individual archives. On is "normal" the other is meant for printers.
If I want to link to the first one, I obviously just type "<$MTEntryPermalink$>"
But how can I refer to the other one?
kevin67
Jul 25 2006, 03:25 AM
First you have to map the template, you can do this by going to Settings > Publishing > Archive Mapping
From here you should see your Individual Entry Archive template, most likely it's publishing to the following path: (%y/%m/%f) or yyyy/mm/entry_basename.php
now you have to select "Create New Archive Mapping" and add your printer friendly template to the individual template section. Once it's added you'll need to select a different "Archive File Path" than the default template, for example: (%y/%m/%b/%i) or yyyy/mm/entry_basename/index.php
- might have to save / rebuild after this to see the changes
Then for your link to your printer friendly archives, instead of using "<$MTEntryPermalink$>" you will need to use the following: <a href="<MTBlogArchiveURL><MTEntryDate format="%Y">/<MTEntryDate format="%m">/<MTEntryBasename>/index.php">
I haven't tested this but it should work for you. Let me know if you have any problems
lisa
Jul 25 2006, 09:18 AM