I'm sorry if this seem like a really elementary question...
I couldn't find anywhere in the entire Serendipity package, including any of the plug-ins, where there was any kind of contact link to the administrator, such as a "Contact Administrator" label with a link to email. So, since I'd loaded the Blog Administration plug-in, I decided to add a link in the Blog Administration box in the column-right. The problem is, I can't find the files for it anywhere! I know they have to be on my server somewhere since I loaded it and it shows up on my page right where it's supposed to be.
I opened my editor, Macromedia Dreamweaver MX 2004, and searched the language file for "Blog Administrator" so that I could find the name of the variable, which it turns out is "SUPERUSER". I then searched the entire site for instances of "SUPERUSER" and found only the one in the language file.
So where are the PHP files for the plug-in?
Edit the Blog Administration Plug-In
-
codetwists
- Regular
- Posts: 44
- Joined: Sat Dec 20, 2008 5:46 pm
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Edit the Blog Administration Plug-In
Hi!
A simple solution would be that you could add a freeform "HTML nugget" to the sidebar in which you add such a link. Often people also embed a contact form plugin and link to it from a navigation menubar or sidebar plugin.
If you want to get your hands dirty in the plugni itself, the administrator plugin is one of the intenral s9y plugins, foudn in include/plugin_internal.inc.php
Regards,
Garvin
A simple solution would be that you could add a freeform "HTML nugget" to the sidebar in which you add such a link. Often people also embed a contact form plugin and link to it from a navigation menubar or sidebar plugin.
If you want to get your hands dirty in the plugni itself, the administrator plugin is one of the intenral s9y plugins, foudn in include/plugin_internal.inc.php
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/
# 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/
-
codetwists
- Regular
- Posts: 44
- Joined: Sat Dec 20, 2008 5:46 pm
Navigating the files in Serendipity
Thanks, Garvin.
I write a lot of application code, mostly C++ and not a ton of internet applications, though I have customized several osCommerce sites, an osDate site, and have written a CRM and a warehouse distribution application for eCommerce.
Serendiptiy will take a bit of getting used to if I'm going to, as you say, get my hands dirty in the code.
I appreciate your help.
Myron
I write a lot of application code, mostly C++ and not a ton of internet applications, though I have customized several osCommerce sites, an osDate site, and have written a CRM and a warehouse distribution application for eCommerce.
Serendiptiy will take a bit of getting used to if I'm going to, as you say, get my hands dirty in the code.
I appreciate your help.
Myron
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Navigating the files in Serendipity
Hi!
Not a big problem; check that include/plugins_internal.inc.php file and search for class serendipity_superuser_plugin. go to the generate_content() method of that plugin. And there, either at the beginning or end add a
Or something like that...
HTH,
Garvin
Not a big problem; check that include/plugins_internal.inc.php file and search for class serendipity_superuser_plugin. go to the generate_content() method of that plugin. And there, either at the beginning or end add a
Code: Select all
echo '<a href="mailto:blabla@bbkb.sd">Contact me</a>';
HTH,
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/
# 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/
-
codetwists
- Regular
- Posts: 44
- Joined: Sat Dec 20, 2008 5:46 pm
Done
That's what I did, once I found out where to put it.
Thanks for the help.
Myron
Thanks for the help.
Myron