I have a META thingy on my main page

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
MadFly
Regular
Posts: 56
Joined: Fri Dec 26, 2008 7:47 pm
Location: Cape Town, South Africa

I have a META thingy on my main page

Post by MadFly »

Image

Is there a way that i can remove it? or is it suppose to be there??
Last edited by MadFly on Tue Jan 13, 2009 1:38 pm, edited 1 time in total.
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: I have a META thingy on my main page

Post by yellowled »

MadFly wrote:Is there a way that i can remove it? or is it suppose to be there??
Yes and yes. It's not a bug, it's a feature :-)

This meta box is simply part of the i3theme Template. So, yes, it's supposed to be there, although it's not a typical s9y feature.

And yes, you could remove it by removin the following lines

Code: Select all

            <div id="meta" class="dbx-box">
                <h3 class="dbx-handle">Meta</h3>

                <div class="dbx-content">
                    <ul>
                       <li class="rss"><a href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/index.rss2">{$CONST.ENTRIES} (RSS)</a></li>
                       <li class="rss"><a href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/comments.rss2">{$CONST.COMMENTS} (RSS)</a></li>
                       <li class="login"><a href="{$serendipityBaseURL}serendipity_admin.php">{$CONST.LOGIN}</a></li>
                   </ul>
                </div>
            </div><!-- /#meta -->
from /templates/i3theme/index.tpl. You'll find this snippet twice in that file, so remove it twice to make sure you don't get it again if you switch layouts. Also beware that these changes will be overwritten in case of an update to the i3theme.

(Why does everybody want to remove this little box? It's not like it's doing anything wrong ... :wink:)

YL
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: I have a META thingy on my main page

Post by Don Chambers »

yellowled wrote:(Why does everybody want to remove this little box? It's not like it's doing anything wrong ... :wink:)

YL
Perhaps it should be a template option if "everybody" wants to remove it... :wink:
=Don=
MadFly
Regular
Posts: 56
Joined: Fri Dec 26, 2008 7:47 pm
Location: Cape Town, South Africa

Post by MadFly »

i don't know why everyone wants to remove it, i do, because i cannot see the use of it. Allthough i am new to serendipity

But anyhows... I'll try to remove it some other time... too tired now, i just might screw things up...

thanks for the input! :)
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: I have a META thingy on my main page

Post by yellowled »

Don Chambers wrote:Perhaps it should be a template option if "everybody" wants to remove it... :wink:
Go ahead, implement it. Get yourself some cvs practice :P

YL
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Post by yellowled »

MadFly wrote:i do, because i cannot see the use of it.
It links to your entries and comments RSS feeds and gives you a login link. Nothing fancy, nothing dangerous. :)

YL
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: I have a META thingy on my main page

Post by Don Chambers »

yellowled wrote:Go ahead, implement it. Get yourself some cvs practice :P

YL
"Never rub another man's rhubarb"! :lol:

(Jack Nicholson as The Joker)
=Don=
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: I have a META thingy on my main page

Post by yellowled »

Don Chambers wrote:"Never rub another man's rhubarb"! :lol:

(Jack Nicholson as The Joker)
"Excuse me. You ever dance with the devil in the pale moonlight?"

(Michael Keaton as Batman)
MadFly
Regular
Posts: 56
Joined: Fri Dec 26, 2008 7:47 pm
Location: Cape Town, South Africa

Post by MadFly »

Thanks! That code removing worked perfectly!

If I want it back, should i just paste the code in again, or could i just upload a backup of the index.tpl to the server?
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Post by yellowled »

MadFly wrote:If I want it back, should i just paste the code in again, or could i just upload a backup of the index.tpl to the server?
Both should work. Depends a little on how many further changes you make to the index.tpl.

YL
Post Reply