HTML Problem on Authors Pages

Events happening in the community are now at Drupal community events on www.drupal.org.
bwebster719's picture

On our OpenPublish site, we noticed that on the Authors pages, our top navigation was not centered, but instead was shifted to left in the header. This problem showed up when we started running our site through a reverse proxy that does HTML rewrites.

After some digging into the HTML code, we discovered that the original HTML had a line <div class="views-separator"/></div> which gets rewritten as <div class="views-separator"></div></div>, ie It has two closing div tags, but only one opening tag.

The solution to the problem was to modify the file at sites/all/modules/openpublish_features/op_author/op_author_layout/themes/views-view-fields--author-articles.tpl.php and remove the extra "/". We found the same problem in the file sites/all/modules/openpublish_features/op_author/op_author_layout/themes/views-view-fields--author-blogposts.tpl.php

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: