SOLVED: Category Assignment plugin caused removal of cats

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
gtfreymann
Regular
Posts: 7
Joined: Mon Feb 28, 2011 4:06 pm

SOLVED: Category Assignment plugin caused removal of cats

Post by gtfreymann »

Our group was looking for a way to submit one single post to multiple categories, so I installed the Category Assignment Event Plugin.

I got emails back saying nothing had changed.

Later on in the day I get a phone call saying that our main category is now empty except for an old post from 2 years ago.

At the moment we only have 5 categories. 2 of those categories have no entries at all anymore, while 3 of the others have 22, 93 and 13 entries. We have over 1000 entries in total.

So my problem is two fold.

-how do I get the entries that are now in limbo back into their correct category?

-why isn't the plus sign appearing when you enter/edit an entry so you can assign it to multiple categories? All we get is the single select drop-down.

We are using the bazooka templates, but somebody has edited the originals and we are using them under a new template name. I'm wondering if the templates need something put back into them so the plus sign opens up the multiple categories selection?

On the other hand, why did 800+ get sent out to limbo?

We are using v1.5.5 of Serendipidty

And Bazooka (2008-02-14).
Last edited by gtfreymann on Tue May 14, 2013 4:58 pm, edited 1 time in total.
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: URGENT: Category Assignment plugin caused removal of cat

Post by Timbalu »

I am not sure I do understand this right, but...
garvinhicking wrote:
Don Chambers wrote:There is an event plugin "Category Assignment" that allows you to assign an entry to multiple categories.
Also, you can always assign an entry to multiple categories simply by clicking the "+" icon next to the category dropdown, which transforms it to a multiselect (*). The event plugin is only meant for people who want to assign multiple categories to multple entries in one go.
I do not know this plugin, but it sounds as if you also have categorytemplates plugin installed. It might be worth to set these two plugins into the right order, in your backend events plugin list, to solve your issue.

And in general I recommend using http://blog.s9y.org/ !

(*) [ctrl] will select multiple one by one
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: URGENT: Category Assignment plugin caused removal of cat

Post by yellowled »

Timbalu wrote:And in general I recommend using http://blog.s9y.org/
This “funny” hint means that your s9y 1.5.5 ist very outdated and your should update to the recent release 1.7, see http://blog.s9y.org/archives/247-Serend ... eased.html

Yl
gtfreymann
Regular
Posts: 7
Joined: Mon Feb 28, 2011 4:06 pm

Re: URGENT: Category Assignment plugin caused removal of cat

Post by gtfreymann »

Well, that's the problem.

That pretty little + sign which *should* appear before the Category <select> IS NOT THERE.

We have other installations of v1.5.5 and those work normally, but this one install is a mystery.

I had to write up a quick php script that would find all the posts from a few authors and re-enter the category for each one so they were no longer in limbo without a category.

So far my only suggestions received are:

-check the order that the Category Assignment Event Plugin appears (we have since removed it)
-upgrade from v1.5.5

I still don't know why the ability to select multiple categories doesn't exist and I still don't know why installing the Category Assignment event plugin would cause over a 1000 entries to lose what category they were originally assigned to.
onli
Regular
Posts: 3044
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: URGENT: Category Assignment plugin caused removal of cat

Post by onli »

Hi
The plus-sign is added via javascript. Maybe that script got removed or breaks on the browsers in this blog? When opening the entry-editor, you could check in the browser-error-log (Strg+Shift+j) whether there are any messages explaining the situation.
Regards
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: URGENT: Category Assignment plugin caused removal of cat

Post by Timbalu »

In addidition, this also might be related to one of your previous questions
http://board.s9y.org/viewtopic.php?f=2& ... #p10423272
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
gtfreymann
Regular
Posts: 7
Joined: Mon Feb 28, 2011 4:06 pm

Re: URGENT: Category Assignment plugin caused removal of cat

Post by gtfreymann »

Timbalu wrote:In addidition, this also might be related to one of your previous questions
http://board.s9y.org/viewtopic.php?f=2& ... #p10423272
I thought I had to mess with that before but I couldn't find any notes. I should have just searched for my own posts.

But *that* was the key!

I just cut and pasted the code from the default ~/admin/entries.tpl file, the section

{*** ENTRY DATE,CATEGORY STA410RT ***}
..
{*** ENTRY DATE,CATEGORY END ***}

backed up our existing file, copied the revision over, and without the need for any other plugins, etc. we are now seeing the expandable plus sign and have the ability to select multiple categories.

Thank you !!!!! :-)
Post Reply