Page 1 of 1

I have a META thingy on my main page

Posted: Thu Jan 01, 2009 8:05 pm
by MadFly
Image

Is there a way that i can remove it? or is it suppose to be there??

Re: I have a META thingy on my main page

Posted: Thu Jan 01, 2009 9:16 pm
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

Re: I have a META thingy on my main page

Posted: Thu Jan 01, 2009 9:52 pm
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:

Posted: Thu Jan 01, 2009 10:12 pm
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! :)

Re: I have a META thingy on my main page

Posted: Thu Jan 01, 2009 10:53 pm
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

Posted: Thu Jan 01, 2009 10:55 pm
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

Re: I have a META thingy on my main page

Posted: Thu Jan 01, 2009 11:22 pm
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)

Re: I have a META thingy on my main page

Posted: Fri Jan 02, 2009 2:07 am
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)

Posted: Sat Jan 03, 2009 6:09 pm
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?

Posted: Sat Jan 03, 2009 6:50 pm
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