Help - Search - Members - Calendar
Full Version: Archive Template Question
Movable Type Community Forum > Additional Resources > Tips and Tricks
YP Geek
Any idea how I can get my #links to show up beside my individual entry and monthly archive pages in the same way they do on my front page?

I can't get it straight...because when I add the:
CODE
<div class="links">
...it always ends up at the bottom of the page.

http://www.andythegeek.com/

Thanks in advance.
kadyellebee
In the default templates, the Main Index template uses two divs to separate the columns, content and links. On the Archive pages, there is only one, container. I think that the idea behind this was because people may not want to update more than one template to update their links (if they didn't use PHP or SSI to include the sidebar).

So basically, you should be able to make this work if your #container style is the same as the #content style. smile.gif Then add the html for the links column in.

Kristine
YP Geek
Let me try this...
YP Geek
OK, it worked on one but not the other.

My Date Based Archive Template (Monthly) accepted the code and looks fine.

http://www.andythegeek.com/archives/2004_01.html

However, my Individual Archive Template did not, and looks wack.

http://www.andythegeek.com/archives/000029.html

What could be different?!

sad.gif
kadyellebee
I outlined the divs with one of my browser tools, and it looks like the individual archive template is missing a closing DIV before it hits the links sidebar. So maybe match them up and confirm that; I didn't dig through the code too much myself, but I bet that will fix you up. The Validator also shows an open SPAN tag, so maybe that's what's contribution to the problem.

Kristine
YP Geek
You didn't have to do all of that, you could have just told me to do it myself...

BUT THANKS!

It worked!

You're great.

Peace,
Andy
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.