 |

joelev
User
May 26, 2008, 10:33 PM
Post #1 of 4
(859 views)
Shortcut
|
|
The mysterious switching template....
|
Can't Post
|
|
I have been using AM for a few now and suddenly I have an odd problem. I have modified all the templates from the default AM installation, and everything was working quite well. Now, if I do a 'publish all', one template always changes itself back to the default template. I can correct the problem by just publishing the category itself, but every time I 'publish all', that one template goes back to the default. I have checked every publishing rule I can, and I can't seem to figure this one out. Any ideas, guidance, solutions? Thanks in advance!
(This post was edited by joelev on May 26, 2008, 10:34 PM)
|
|
|  |
 |

dan_999
User
May 27, 2008, 8:57 AM
Post #2 of 4
(814 views)
Shortcut
|
|
Re: [joelev] The mysterious switching template....
[In reply to]
|
Can't Post
|
|
I suspect you have another publishing rule that is overwriting it. For example: For category news you use templates 'news.htm' and have a publishing rule to use that template on that category. If you also have a general category template that you use called 'categorytemplate.htm' then when you publish all you will probably overwrite your news category rule with the general category rule. What you'll need to look for, is a situation like the above. Once you find it, in the publishing rule you can exclude certain categories. So in the general category rule I would exclude the news category and it wouldnt overwrite it. Hope that makes sense! dan Hartlepool
|
|
|  |
 |

ross
Staff
/ Moderator

May 27, 2008, 10:26 AM
Post #3 of 4
(794 views)
Shortcut
|
|
Re: [joelev] The mysterious switching template....
[In reply to]
|
Can't Post
|
|
Hi Joe. Thanks for posting! I think that Dan is on the right track here (thanks Dan!). What is happening here is that one of your publish rules is set to publish content for its sub categories but you have setup a new publish rule for one specific sub category. The way to fix this is going to be unchecking the "Include articles from subcategories" check box for the publish rule of the higher categories. The only thing here is that without seeing your publish rules, I don't know exactly which one it's going to be. Could you have a look and see if you can get the right one? What you are looking for is a publish rule that publishes content for the same branch of categories as the one that keeps getting over written. Let me know if that makes sense and if you get things going. Thanks! ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

joelev
User
May 27, 2008, 7:50 PM
Post #4 of 4
(780 views)
Shortcut
|
|
Re: [ross] The mysterious switching template....
[In reply to]
|
Can't Post
|
|
Thanks guys....I got it solved, but the only way I could do it was to exclude it from publishing the category in the default template. For the life of me I STILL can't find a screwed up publishing rule.
|
|
|  |
|