angelmoratilla / digressit

Automatically exported from code.google.com/p/digressit
0 stars 0 forks source link

Commenters and Comments page URLs don't resolve to base URL #43

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If I am reading a page like this:

http://writetoreply.org/googlebooks/about/

and then click on Comments or Commenters from that page, I land on this:

http://writetoreply.org/googlebooks/about/?comment-browser=users

but should land on this:

http://writetoreply.org/googlebooks/?comment-browser=users

Original issue reported on code.google.com by jossw...@gmail.com on 4 Oct 2009 at 11:29

GoogleCodeExporter commented 8 years ago
A PHP echo of bloginfo("url") fixes this problem.

Original comment by jossw...@gmail.com on 26 Apr 2010 at 8:17

GoogleCodeExporter commented 8 years ago
This bug remains after the upgrade to 2.3.2

Original comment by jossw...@gmail.com on 1 Jul 2010 at 1:10

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
In header.php it should look like this:

<div id="top_bar">
         <ul id="front_menu">
         <li class="page_item page_item_table_of_contents"><a <?php echo (is_home()) ? ' class="s" ' : '';  ?> href="<?php bloginfo('url'); ?>"><span  ><img  class="cute_menu_icons" src="<?php bloginfo('url'); ?>/wp-content/plugins/digressit/theme/images/famfamfam/book_open.png"> Table of Contents</span></a></li>
         <li class="page_item page_item_comments"><a <?php echo ($_GET['comment-browser'] == 'posts') ? ' class="s" ' : '';  ?> title="Comments By Section" href="<?php echo bloginfo('url') ?>/?comment-browser=posts"><span ><img class="cute_menu_icons" src="<?php bloginfo('url'); ?>/wp-content/plugins/digressit/theme/images/famfamfam/text_padding_top.png"> Comments</span></a></li>
         <li class="page_item page_item_commenters"><a <?php echo ($_GET['comment-browser'] == 'users') ? ' class="s" ' : '';  ?> title="Comments By Section" href="<?php echo bloginfo('url') ?>/?comment-browser=users"><span ><img class="cute_menu_icons" src="<?php bloginfo('url'); ?>/wp-content/plugins/digressit/theme/images/famfamfam/user_comment.png"> Commenters</span></a></li>
         <li class="page_item page_item_general"><a title="General Comments" href="?comment-browser=general"><span><img class="cute_menu_icons" src="<?php bloginfo('url'); ?>/wp-content/plugins/digressit/theme/images/famfamfam/user_comment.png"> General Comments</span></a></li>
         <?php echo digressit_wp_list_pages();  ?>
         </ul>
         <?php echo digressit_searchbox(); ?>
      </div>

Original comment by jossw...@gmail.com on 7 Sep 2010 at 5:23

GoogleCodeExporter commented 8 years ago

Original comment by eddie.tejeda on 14 Oct 2010 at 4:45