Page 1 of 1

Blog Administration -> allow title change

Posted: Mon Feb 25, 2008 7:25 pm
by Don Chambers
Many of the sidebar plugins allow the title to be changed. Can that be added to this one?

Posted: Tue Feb 26, 2008 9:44 am
by mad-manne
Hi Don,
sounds interesting to me too 8)

Just to make sure we're talking about the same thing ... you'd like to see this in the "Blog Administration" config-screen:
Image
*Click for big version(649 x 227px, 24KB)*
which turns out like this in the frontend?!
Image

But why do *I* put my hands on this ??
I am well aware, that Garvin can easily add the required changes. It's just a challenge for me, while I am trying to get a better understanding of how things work in s9y! So I have already prepared a patchfile to make Garvin's task even a bit easier(hopefully), in case that he considers adding this to the core-code anyway :roll:

Cheers,
Manfred.

Posted: Tue Feb 26, 2008 11:27 am
by garvinhicking
Hi!

I am actually against this change. The reason: The title, once entered, will have a fixed language.

But this is a internal core plugin with a high importance. For foreign readers with different languages (like browser-autodetect) the title of the login nugget should vary with their login. Once you enter a language, this is fixed for everyone, and the recognizability will no longer be given.

The patch itself is perfectly fine, though!

Regards,
Garvin

Posted: Tue Feb 26, 2008 4:12 pm
by Don Chambers
@ Manfred - that was exactly what I was after.

@ Garvin - what I object to most, at least in the English version, is use of the word "blog" in "blog administration". Serendipity is capable of being much more than a "blog". At minimum, how about simply "Administration" in the language file.

Posted: Tue Feb 26, 2008 5:30 pm
by mad-manne
@Garvin: I don't really see the danger of "misguiding" the user, because the real link to the admin-panel stays untouched and still reads "Open administration" (in english). Secondly it's the administrator himself who would actually change this(in case he wants to), so he should be able to think of a label, that will not confuse him and other authors of his blog.

On the other hand I don't want to start arguing with you, and I do understand that this could probably cause unneeded support-requests of users that "lock" themselves out of their admin-panel :wink:

@Don: I'm pretty sure, that you know you could just change the language-files instead of applying my patch, to reach your goal ?!

Cheers,
Manfred.

Posted: Tue Feb 26, 2008 7:04 pm
by Don Chambers
Yes - I know I can change the language file... but those changes would be lost in an s9y upgrade. I was proposing the source language file for s9y be modified. I use s9y in a few ways that are very non-blog-like, and I know others do to..... so I wanted the language to be less blog-centric.

I personally do not see the harm in making the change as originally proposed.... plenty of other plugins do it, and odds are that most blogs are only written in a single language, so the fact that the title for "blog administration" is written in english (my site) probably matches the language I use everywhere else on my site. In my case, I do not even have "Use visitor's browser language as default" set to "yes"... in fact, I believe that defaults to "no" at installation.

Anyway, I didn't want to push too hard on this one issue. At minimum, I'd like to see the word "blog" removed.... "Administration" is fine by itself. Even "site administration" would be an improvement IMHO.

Posted: Wed Feb 27, 2008 10:52 am
by garvinhicking
Hi Don!

Then we would need to rename Serendipity Blog to Serendipity CMS as well?

Just kidding, but: Serendipity is a blog. To change the wording at one place might simply be confusing. Either it should be unified everywhere, or we should keep it the current way that users are used to. My personal goal for s9y is still for it to be a perfect blog; if people want to use it as a CMS, that's cool...but they might have to live with "blog vocabulary". :)

You can change the title of that specific plugin in your template sidebar.tpl as well, if you want to retain the original s9y code...

Best regards,
Garvin

Posted: Wed Feb 27, 2008 3:09 pm
by Don Chambers
Think outside the "blog".!!!! :lol: :lol: :lol: :lol:

Posted: Wed Feb 27, 2008 3:34 pm
by judebert
Don: I can see the problem in losing your changes in an upgrade, especially for those of us who try to keep up with upgrades. It would be nice if we had some Debian-esque means of allowing upgrades but keeping user changes (like the BulletProof user.css, for instance).

However, since the title is a constant, it's going to be tough to change. (Refer to: Definition of "constant".) But maybe, just maybe...

Yes. If you *really* want to change anything at all, and have it stay across upgrades, you can change it in the serendipity_config_local.inc.php. This gets called early in the s9y lifecycle. I'm having trouble figuring it out for sure, but I think it's called before the language files.

Since the constant for the blog administration sidebar is SUPERUSER, you could try adding "@define('SUPERUSER', 'Site Administration');" to serendipity_config_local.inc.php. If I'm right, it will replace the title in question, won't change with language, and won't be overwritten on any update.

everything is subject to change

Posted: Sun Mar 16, 2008 8:27 pm
by kizilelma
there are things i agree and disagree with u guys. garvin it is ok to keep s9y a blog based application but i believe it can do more than that which would cause a rapid growing of users. for instance is it possible to integrate flash animations to the templates.