Quote Settings/ Change Login Text

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
philstar

Quote Settings/ Change Login Text

Post by philstar »

Hi guys,

since i started my blog a few days ago i already learned the "basics" of the css and php thing. i modified an existing theme a little bit, but there are still some unanswered questions.

1.
I´d like to see a 1px frame around my quotes in new messages. i searched the style.css, without any trace of a useful entry. are the quote settings located at the css file ??

2. I am using the blog as a "usual" website. is is possible to change the text over the "login" link ?? right now, "administration of the Blog" is being displayed ( i am using the german version: "zur verwaltung des blogs")
i want to change it to a simple version, i.e. "Login".

in hope of help

philstar.

p.s.
maybe you take a look at my site *bg*

www.blog.phil-star.de
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Quote Settings/ Change Login Text

Post by garvinhicking »

Hi!
1.
I´d like to see a 1px frame around my quotes in new messages. i searched the style.css, without any trace of a useful entry. are the quote settings located at the css file ??
Which HTML tag to you use for showing quotes? You can then use CSS to make a "border: 1px solid red" around that element. I.e.:

Code: Select all

blockquote {
  border: 50px solid red;
}
2. I am using the blog as a "usual" website. is is possible to change the text over the "login" link ?? right now, "administration of the Blog" is being displayed ( i am using the german version: "zur verwaltung des blogs")
i want to change it to a simple version, i.e. "Login".
Some of the internal plugins do not allow configuration of the login title. You have several options:

1. Change the text within the "generate_content()" method of the serendipity_superuser_plugin class within the include/plugin_internal.inc.php file. Modify "$title = $this->title" to read "$title = 'Meine Loginbox'".

2. Edit your lang/serendipity_lang_de.inc.php language file and change the wording for the constant "SUPERUSER".

3. Create a custom HTML nugget plugin with the HTML contents you see in the superuser login box, and then change the title of the box.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
philstar

Post by philstar »

thx for quick help

no problems with the quote edit, but the login problem still exists.

with your help i could change the title of the login, but the link doesnt change. or does step 2 and 3 fix it ??! :?:
philstar

Post by philstar »

stupid question.....my mistake.

my question is "is there an other way to change the title, instead of including a nugget ?!"
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Philstar, yes there are other ways to change the title instead of including a nugget:

1. Change the text within the "generate_content()" method of the serendipity_superuser_plugin class within the include/plugin_internal.inc.php file. Modify "$title = $this->title" to read "$title = 'Meine Loginbox'".

2. Edit your lang/serendipity_lang_de.inc.php language file and change the wording for the constant "SUPERUSER".

3. Copy the plugin to a new plugin file, modify it, and then you have your very own plugin.

:-)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply