|
|
|
|
![]() ![]() |
May 19 2006, 11:44 PM
Post
#1
|
|
|
Nenad Bozidarevic Group: [MODERATOR] Posts: 1,013 Joined: 7-November 05 From: Belgrade, Serbia Member No.: 9,500 |
If I posted in the wrong forum, please forgive me
Anyhow, I have recently started a blog at blogger.com (actually it's blogspot.com). One of the main things I didn't like was the archive page. It showed whole posts, and I wanted it to show titles as links only. So I found a hack, and did everything as it said, but now I have problems. Blogger has codes to determine which page will use that part of the code. In order to define the archive page, I used the following code: CODE <ArchivePage> <Blogger> <div id="archive-page"> <BlogItemTitle> <a href="<$BlogItemPermalinkURL$>"><$BlogItemTitle$></a> <br /> </BlogItemTitle> </div> </Blogger> </ArchivePage> And I had to modify the main part, between <blogger> and </blogger> tags. It had to be copied, so the first one would be for the main page (<mainpage>) and the other one for item pages (<itempage>). But that isn't working. This is a part of that code: CODE <MainPage> <Blogger> <BlogDateHeader> <h2 class="date-header"><$BlogDateHeaderDate$></h2> </BlogDateHeader> <!-- Begin .post --> <div class="post"> ...................................... </div> </ItemPage> <!-- End #comments --> </Blogger> </MainPage> <ItemPage> <Blogger> <BlogDateHeader> <h2 class="date-header"><$BlogDateHeaderDate$></h2> </BlogDateHeader> <!-- Begin .post --> <div class="post"> ................................... </div> </ItemPage> <!-- End #comments --> </Blogger> </ItemPage> The first and the second half are the same, except for the <MainPage> and <ItemPage> Now, that should be working, but it isn't. The item pages don't display any content, but the blogger code itself. To see what I'm talking about, check out this link: http://jawbam.blogspot.com/2006/05/problem...post-pages.html I'm not sure what I amd doing wrong, so any help is appriciated. |
|
|
|
May 20 2006, 12:31 PM
Post
#2
|
|
|
Nenad Bozidarevic Group: [MODERATOR] Posts: 1,013 Joined: 7-November 05 From: Belgrade, Serbia Member No.: 9,500 |
This is unbeliavable! Every time I ask for help I solve the problem myself
Here's how I solved the problem. I replaced this: CODE <MainPage> <Blogger> --------------------- </Blogger> </MainPage> <ItemPage> <Blogger> --------------------- </Blogger> </ItemPage> with this: CODE <Blogger> <MainPage> --------------------- </MainPage> <ItemPage> --------------------- </ItemPage> </Blogger> Heh.. |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 11th October 2008 - 11:48 AM |