
zakcoop
User
Oct 20, 2009, 7:54 PM
Post #1 of 9
(4653 views)
Shortcut
|
|
Adding article to more than one category breaks Placeholder Set Name in list of articles template
|
Can't Post
|
|
Here's what I've done: - Created 2 categories - Created 1 article - Assigned this 1 article to each of the 2 categories I created - Created 2 "a page for each article" publishing rules - each with a unique "Placeholder Set Name", unique Filename (eg: "<artFile>" AND "<artFile>_suffix") and assigned to each of the 2 categories via the 'Category Filter' control - Created 2 "a list of articles" publishing rules - each with a unique "Placeholder Set Name", unique Filename and assigned to each of the 2 categories via the 'Category Filter' control So, I end up with the 1 article I created being published 2 times (eg: "articlenameForCat1" and "articlenameForCat2"). This is good. I also end up 2 published article lists - one for each "as list of articles" rules. This is also good. The problem is that one of the published article lists has the correct URL for each article, but the 2nd published article list does not. What seems to be happening is that when I assign an article to 2 categories, only the first category I assign it to is honored. In the 2nd published article list, the URL for each article only includes the "_suffix" in the URL, not the "<artFile>_suffix". For instance, the 1 article that I created might have a filename as: article_one This would mean that, based on my publishing rules, the URL should be as follows for the 1st and 2nd published article lists, respectively: article_one article_one_suffix However, this article shows up in the 1st published article list with a URL of: article_one.html (this is a good thing) ...but in the 2nd published article list is has a URL of: _suffix.html (this is a bad thing) For some reason, only the first list of articles publishing rule is fully publishing the URL. I'm doing this because I'm redesigning a site and want to keep the main articles in tact, but assign them to 2 categories - 1 which is the category within the existing site and the other category which exists for the newly designed site. This way, I can keep the content in tact and just pull new includes into the new site without effecting the existing site (essentially, using this for staging). Please help! Thanks, Aaron
|