Page 1 of 1

Category select list is missing on new entries

Posted: Mon Feb 28, 2011 4:10 pm
by gtfreymann
Hello!

I have searched the forums using every combination I can think of and couldn't find an answer to my problem so I'm posting the question to you now.

I inherited the Admin of 2 Serendipity Blogs sites, and cloned the installation of one to make a third.

Both have been customized by the former admin and not knowing what was done I believe this is part of my current issue.

On one blog, when you enter a new entry, you see the list of categories presented on the top right area, and you can click on the plus sign to select multiple categories. This is good.

On the other two blogs, that category drop-down is missing completely and on one of the two sites they would like to be able to select the category.

Does anyone have a clue as to what I need to look at to bring back the category selection?

Thanks for any assistance you can toss my way :-)

Re: Category select list is missing on new entries

Posted: Tue Mar 01, 2011 2:21 pm
by garvinhicking
Hi!

This sounds as if they might have edited the admin/entries.tpl template file. Try to compare the file templates/default/admin/entries.tpl with the one that ships with Serendipity for changes. And if they have customized templates on the install, check if that one has a admin/entries.tpl file.

HTH,
Garvin

Re: Category select list is missing on new entries

Posted: Tue Mar 01, 2011 3:28 pm
by gtfreymann
Thank you, that's just the clue I needed.

The previous admin used the bazooka theme and customized it. The original bazooka theme didn't have a ~/admin/entries.tpl file so I looked in the default theme and cut and pasted the chunk of code that handles the category selection into whatever was in our ~/admin/entries.tpl file. Just had to fix up the path to the plus and minus signs and the category selection is back.

Hopefully the rest of the code is still there to process the category selected, which I'll find out later today.

I appreciate your response!