I messed up my foot...
 
Notifications
Clear all

I messed up my footer (Murder Skin)

13 Posts
6 Users
0 Reactions
2,921 Views
(@savingsarasidle)
Posts: 30
Eminent Member
Topic starter
 

URL to your eFiction: http://www.savingsarasidle.com/fanfiction
Version of eFiction: 3.5
Have you bridged eFiction, if so with what?: No
Version of PHP: 5.2.8
Version of MySQL: 5.0.67
Have you searched for your problem: (yes/no)
If so, what terms did you try: Murder footer
State the nature of your problem: In the process of adding the Poll and Shoutbox to my sidebar, I messed up my footer on the home page. Can anyone spot the error? Thanks.
Do you have a test account for us? Username: EFTest Password: 1234abc


Version of PHP: 5.2.8
Version of MySQL: 5.0.67

 
Posted : 03/02/2009 2:16 am
(@savingsarasidle)
Posts: 30
Eminent Member
Topic starter
 

P.S. - Might anyone know how I can add the "Who's online" to my sidebar?

Thanks


Version of PHP: 5.2.8
Version of MySQL: 5.0.67

 
Posted : 03/02/2009 2:17 am
(@jacynthe)
Posts: 242
Estimable Member
 

You're missing a </div> in there...

You have


<div id="rightindex">
<div class="block">
      <div class="title">Welcome</div>
      <div class="content">{welcome}</div>
    </div>
    <div class="block">
      <div class="title">{news_title}</div>
      <div class="content">{news_content}</div>
<!-- INCLUDE BLOCK : footer -->

should be


<div id="rightindex">
<div class="block">
      <div class="title">Welcome</div>
      <div class="content">{welcome}</div>
    </div>
    <div class="block">
      <div class="title">{news_title}</div>
      <div class="content">{news_content}</div>
</div>
<!-- INCLUDE BLOCK : footer -->

Jacynthe

Archives: http://fanfics.e-authors.net
Version: 3.5.3
Modified? Somewhat...
PHP:  5.3.3
MySQL: 5.0.91-community

 
Posted : 03/02/2009 11:29 am
(@lyndsie)
Posts: 1263
Member Moderator
 

To add the Online block, first make sure it is initialized in Admin > Blocks.

Then you'll have to add {online_title} and {online_content} to your skin.  I'm not familiar with what you've got, but usually the easiest is just to copy the divs and such for another block already on your index.  Something that's within the "leftindex" divs probably would work just fine as long as you're careful about the beginning and ending divs, which you already know, I think. ; )


 
Posted : 03/02/2009 1:19 pm
(@becca)
Posts: 553
Honorable Member
 

For future reference, also check the wiki:
https://efiction.org/wiki/index.php5?title=Blocks


 
Posted : 03/02/2009 3:33 pm
(@savingsarasidle)
Posts: 30
Eminent Member
Topic starter
 

Hmm, I added the extra

</div>

in t here, but no change.

Do you think it's because of all the things I put in my sidebar? (Poll & Shoutbox)


Version of PHP: 5.2.8
Version of MySQL: 5.0.67

 
Posted : 04/02/2009 1:54 am
 kali
(@kali)
Posts: 307
Reputable Member
 

Try adding another close div tag after the first one you added. The footer is definitely caught in the right content div, so I doubt the sidebar has anything to do with it.


Skins made by Kali are no longer supported!

 
Posted : 04/02/2009 10:34 am
(@savingsarasidle)
Posts: 30
Eminent Member
Topic starter
 

No luck there either. Maybe no one will notice? lol


Version of PHP: 5.2.8
Version of MySQL: 5.0.67

 
Posted : 04/02/2009 11:19 am
(@jacynthe)
Posts: 242
Estimable Member
 

You didn't put the closing tag where I said.. you put it in the ledtindex which messed up the whole thing.. 🙂

Now you have this:


<!-- INCLUDE BLOCK : header -->
<div id="leftindex">
<div class="block">
      <div class="title">{info_title}</div>
      <div class="content">{info_content}</div>
</div>
<div class="block">
      <div class="title">Navigation</div>
      <div class="content"><a href="" http://www.savingsarasidle.com">SS S" Home</a><br>
      <a href="" http://www.savingsarasidle.com/forum">Forum</a></div> ;"
</div>
<div class="block">
      <div class="title">Countdown</div>
      <div class="content">{countdown_content} until the FF Challenge #1 deadline.</div>
</div>
<div class="block">
      <div class="title">{poll_title}</div>
      <div class="content">{poll_content}</div>
</div>
<div class="block">
      <div class="title">{random_title}</div>
      <div class="content">{random_content}</div>
</div>
<div class="block">
      <div class="title">{recent_title}</div>
      <div class="content">{recent_content}</div>
</div>
<div class="block">
      <div class="title">{categories_title}</div>
      <div class="content">{categories_content}</div>
</div>
<div class="block">
      <div class="title">{shoutbox_title}</div>
      <div class="content">{shoutbox_content}</div>
</div>
<div class="block">
      <div class="title">{online_title}</div>
      <div class="content">{online_content}</div>
</div>
</div>
<div id="rightindex">
<div class="block">
      <div class="title">Welcome</div>
      <div class="content">{welcome}</div>
</div>
<div class="block">
      <div class="title">{news_title}</div>
      <div class="content">{news_content}</div>
</div>
<!-- INCLUDE BLOCK : footer -->

But you should have THIS


<!-- INCLUDE BLOCK : header -->
<div id="leftindex">
<div class="block">
      <div class="title">{info_title}</div>
      <div class="content">{info_content}</div>
</div>
<div class="block">
      <div class="title">Navigation</div>
      <div class="content"><a href="" http://www.savingsarasidle.com">SS S" Home</a><br>
      <a href="" http://www.savingsarasidle.com/forum">Forum</a></div> ;"
</div>
<div class="block">
      <div class="title">Countdown</div>
      <div class="content">{countdown_content} until the FF Challenge #1 deadline.</div>
</div>
<div class="block">
      <div class="title">{poll_title}</div>
      <div class="content">{poll_content}</div>
</div>
<div class="block">
      <div class="title">{random_title}</div>
      <div class="content">{random_content}</div>
</div>
<div class="block">
      <div class="title">{recent_title}</div>
      <div class="content">{recent_content}</div>
</div>
<div class="block">
      <div class="title">{categories_title}</div>
      <div class="content">{categories_content}</div>
</div>
<div class="block">
      <div class="title">{shoutbox_title}</div>
      <div class="content">{shoutbox_content}</div>
</div>
<div class="block">
      <div class="title">{online_title}</div>
      <div class="content">{online_content}</div>
</div>
</div>
</div>
<div id="rightindex">
<div class="block">
      <div class="title">Welcome</div>
      <div class="content">{welcome}</div>
</div>
<div class="block">
      <div class="title">{news_title}</div>
      <div class="content">{news_content}</div>
</div>
</div>
<!-- INCLUDE BLOCK : footer -->

Jacynthe

Archives: http://fanfics.e-authors.net
Version: 3.5.3
Modified? Somewhat...
PHP:  5.3.3
MySQL: 5.0.91-community

 
Posted : 04/02/2009 5:38 pm
(@savingsarasidle)
Posts: 30
Eminent Member
Topic starter
 

I had done as you suggested in the first post, but after I checked the site and realized it didnt fix it, I took it out.

Now I copied and pasted what you said I should have, word for word, and still nothing. IDK what it could be, I wish I understood code better.


Version of PHP: 5.2.8
Version of MySQL: 5.0.67

 
Posted : 05/02/2009 12:43 am
(@jacynthe)
Posts: 242
Estimable Member
 

Okay, let's try something here.. for the sake of it because something's not right with where the text now appears... so go in footer.tpl and take out the first </div> in there.. the one right at the start of the block. The way I see it, this seems to be the closing div to the rightcontent on the index.tpl... that wouldn't cure all but it's a process of elimination here so that may not be a bad place to start.

Oh and I guess I also forgot to remove one </div> too many in the index.tpl file in the leftindex part... cause there is one closing div that would close out something in the header.tpl since it ran out of open divs... so try removing the last </div> right before


<div id="rightindex">

Jacynthe

Archives: http://fanfics.e-authors.net
Version: 3.5.3
Modified? Somewhat...
PHP:  5.3.3
MySQL: 5.0.91-community

 
Posted : 05/02/2009 1:14 am
(@savingsarasidle)
Posts: 30
Eminent Member
Topic starter
 

Nothing works. I even downloaded the murder skin again and checked my index.tpl with the one in the file. I don't get it.


Version of PHP: 5.2.8
Version of MySQL: 5.0.67

 
Posted : 06/02/2009 8:09 pm
(@guest6337)
Posts: 0
 

I had a similiar problem. I wonder if this can be a solution. Try to add a copy of "footer.tpl" on skin dir.


 
Posted : 04/05/2009 8:11 pm
Share: