Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lack of id attribute in notes posts breaks anchored links #267

Open
GoogleCodeExporter opened this issue May 31, 2015 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

Steps to reproduce:
1. Ensure you're using the postmodern interface.
2. Navigate to this URL: 
https://www.grinnellplans.com/board_messages.php?messagenum=59182#59182
3. Notice that your browser did not jump to post #59182.

Other pertinent information (browser version, revision number, etc):

This is a blind hack but maybe fixes it?

Index: views/templates/tableless/NotesPost.tpl.php
===================================================================
--- views/templates/tableless/NotesPost.tpl.php (revision 631)
+++ views/templates/tableless/NotesPost.tpl.php (working copy)
@@ -1,4 +1,4 @@
-<div class="notes_post <?php echo $this->list_attributes; ?>">
+<div class="notes_post <?php echo $this->list_attributes; ?>" id="<?php echo 
$this->post_id; ?>">
        <div class="notes_post_header">
                <div class="post_id"><?php echo $this->post_id; ?></div>
                <div class="post_author">[<?php echo $this->post_author_template->display(); ?>]</div>

Original issue reported on code.google.com by [email protected] on 10 Jan 2015 at 12:22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant