Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Encouraging smaller category editor applications

Quote Reply
Encouraging smaller category editor applications
Hello. Currently if I have an editor over a category, his/her name shows up in all subcategories, and their subcategories. This makes it look like all my subcats have enough editors, when in fact, I need more in the smaller cats.

Is there any way to prevent the trickle down of the editors names? I would like for the bigger cat editors to still be able to edit under them, but I just don't want their name to show. I would like for only the names of the subcat editor I assigned's name to show or nothing at all if it needs an editor.

Thanks!

i'm using version 2.1.1 and have the editor monitor plugin if that helps.
Quote Reply
Re: [Demolitioncrew] Encouraging smaller category editor applications In reply to
You could always put it in a <%header%>/<%footer%>, which is what I do.
Quote Reply
Re: [rayhne] Encouraging smaller category editor applications In reply to
Thanks, do you mean to say directly hardcode the editors name on to the page instead of using the automatic call?
Quote Reply
Re: [Demolitioncrew] Encouraging smaller category editor applications In reply to
Essentially, yes. I've had to do that because my editors need access to the entire directory but are editors of only certain categories (for copy link purposes). So I have to hard-code or include their info.
Quote Reply
Re: [rayhne] Encouraging smaller category editor applications In reply to
you seem to know a lot about this, maybe you can help me with something else. I have an editor who is over the other editors. When he click to validate a site he doesn't know which category the application has come from as the "category" box isn't there. As admin, I have a box above the modify that tells me exactly what category the site was applied for from. I need the editors to be able to see this as well. Would you know how to accomodate that by chance?
Quote Reply
Re: [Demolitioncrew] Encouraging smaller category editor applications In reply to
You can also try something like this.

Add a column called something like "Fixed_Editor" to your Categories table. And then in your templates, where the editor will normally appear, put the following code instead. (Change "fixed_editor" to whatever your new column is named)

Code:
<%if Fixed_Editor%>
<%Fixed_Editor%>
<%elsif editors%>

what normally goes here for editors

<%endif%>

That way if you define a name in that column for that specific directory, it will override the usual display. You can even put in real html like "no editor here, want to be an editor?" with a link to your email address.
Quote Reply
Re: [Aki] Encouraging smaller category editor applications In reply to
Aki,

I see your solution, and I think I see what he is asking.

For example:

Code:
Level 1
level 2
Level 3
Level 4


If an editor is an editor at level 1, his name will show up at all lower levels, including level 4,
even if level 4 has no "real" editor.

There are several solutions for this.

Define a new class of editor - Manging Editor. (and a new tag).

<%if ManagingEditor%><%ManagingEditor%><%endif%>
<%if editors%> ....

Where managing editor is defined as an editor of a category ABOVE the category you are in.

In otherwords, the Editor.CategoryID does not = current CategoryID

If <%editors_loop%> is returned, this could be checked in real time as the page is built.

If a category has no editors, <%editors%> will be blank, but <%ManagingEditors%> may or may not have a value. The Editors table would need a new flag field, such that if the editor is supposed to be the "Editor" of subcategories he's in, you would check that box, and he would show up as "Editor" not as "Managing Editor". In this case, you could put a custom message in <%if editors%>...<%else%>We need an editor!<%endif%>

This would take into account a variety of situations. It would not also depend on "depth" since some directories are only 2 or 3 levels deep, others can go to 10 or more.


PUGDOG´┐Ż Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.