View previous topic :: View next topic |
Author |
Message |
Gangsta-Barbie
Joined: 11 May 2004 Posts: 3
|
Posted: Tue May 11, 2004 2:01 am Post subject: A little help please! |
|
|
Hi!
I've just installed b2 and changed the template to suit my site layout..now the blog entries arent showing. Did i go wrong with linking the blog to my page?
The site is http://www.gangsta-barbie.com and basically as you can see the only thing that shows up is the link to cafelog.
Whats wrong? |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 616 Location: Oslo, Norway
|
Posted: Tue May 11, 2004 8:36 am Post subject: |
|
|
awwww..
This is what I got from viewing your source ON SITE:
Code: | <p align="right">
<!-- // b2 loop start -->
[powered by <a href="http://cafelog.com" target="_blank"><b>b2</b></a>.]
<BR><BR>
</p> |
If this is your code, in index.php, you've commented out everything that's normally referred to as 'the b2 loop'. Then it's no wonder why it isn't working.. Can I see your code, pls?
While checking around, I came across /b2/index.php where your testmessage seems to be doing allright. _________________ Sigg3 dot net - because you're worth it! | b2 Cafelog Resource Center |
|
Back to top |
|
 |
Gangsta-Barbie
Joined: 11 May 2004 Posts: 3
|
Posted: Tue May 11, 2004 3:08 pm Post subject: |
|
|
ugh..nw that's weird! lol
The code i have is:
<!-- // b2 loop start -->
<?php while($row = mysql_fetch_object($result)) { start_b2(); ?>
<div class="rightFlush"><p align="center">
<?php the_date("","<b>","</b>"); ?></p>
<?php permalink_anchor(); ?>
<div class="storyContent"><p align="left">
<?php the_content(); ?><p align="right"><BR>
<span class="storyAuthor">Posted by <?php the_author() ?> </span> @ <?php the_time() ?></a>
</div>
<p align="right">
<?php link_pages("<br />Pages: ","<br />","number") ?> <?php comments_popup_link("comments ?", "1 comment", "% comments") ?>
<?php include ("b2comments.php"); ?>
</div>
<BR><BR><p align="center">
<!-- // this is just the end of the motor - don't touch that line either -->
<?php } ?>
[powered by <a href="http://cafelog.com" target="_blank"><b>b2</b></a>.]
<BR><BR>
</p>
</div>
<!-- BlueRobot was here. -->
And you're right, in b2/index.php it works just fine, it just doesnt show up on my page.. maybe i messed up the template html? |
|
Back to top |
|
 |
poola
Joined: 31 Aug 2004 Posts: 1
|
Posted: Tue Aug 31, 2004 9:51 pm Post subject: |
|
|
I have been searching the forums, and I am having the exact same problem, except my index.php does not work. Was a solution ever found? :\
Even after taking out the "//" in the comments, I'm still having no luck.
edit/
Never mind, the entries are showing up after re-opening the browser. So sorry about that. |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 616 Location: Oslo, Norway
|
|
Back to top |
|
 |
|