Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Blogger Code Problems
pyost
post May 19 2006, 11:44 PM
Post #1


Nenad Bozidarevic
Group Icon

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 smile.gif I had troubles determinating where to put this.

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.
Go to the top of the page
 
+Quote Post
pyost
post May 20 2006, 12:31 PM
Post #2


Nenad Bozidarevic
Group Icon

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 smile.gif

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..
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Basic css code(2)
  2. Basic XML code(3)
  3. Code To Send An Email From A Form(10)
  4. Flash Pic Problems(7)
  5. Simple Java Script Code For Print Pages(0)
  6. Rollover Menu Problems(2)
  7. Blogger Help(12)
  8. Jscript/html/css Code Help(8)
  9. Free Shoutbox? HTML, Flash or PHP Code(24)
  10. I Need Help With A Code: Myspace Profile Css(5)
  11. To Hide Your Source Code(13)
  12. IE + CSS Hover Problems(0)
  13. Home Videos(4)
  14. Free Code Snippets And Css Layout(14)
  15. 3 Column Css Layout(13)
  1. Code Improvement And Optimization(2)
  2. The Step Up. A Guide For Myspace Design(2)


 



- Lo-Fi Version Time is now: 11th October 2008 - 11:48 AM