I have installed Simple corporate theme and after that I found that tags are no longer avaliable for sorting in Structure->Content Types->Article->Manage Display

Tags ignore weight and always render last.

I perfrom small investigation and found that it was hardcoded in themes/corporate/templates/node.tpl.php

  <div class="content"<?php print $content_attributes; ?>>
    <?php
      // Hide comments, tags, and links now so that we can render them later.
      hide($content['comments']);
      hide($content['links']);
//     hide($content['field_tags']);
      print render($content);
    ?>
  </div>

  <?php if (/*!empty($content['field_tags']) */ !empty($content['links'])): ?>
    <footer>
      <?php ; /* print render($content['field_tags']); */ ?>
      <?php print render($content['links']); ?>
    </footer>
  <?php endif; ?>

So it is 2 problems here.
1. Taxonomy allows to create other tag structures. And this code will not work for them.
2. Such a behavoir wasn't manetioned in docs. So users will spent some time on debugging, before figuring out how to fix it.

Comments

shisha_hwguy’s picture

Same hardcode in themes/corporate/style.css

.field-name-field-tags {
  margin: 0 0 10px 0;
}

.field-name-field-tags a{
  display: inline-block;
  background: url(images/tag.png) no-repeat;
  padding: 0px 8px 0 16px;
  height: 22px;
  color: #333;
  text-shadow: 1px 1px #fff;
  border-radius: 2px;
  font-size: 12px;
}

.field-name-field-tags a:hover{
  color: #205194;
}

.field-name-field-tags .field-item {
  margin: 0 1em 0 0;
}

.field-name-field-tags div {
  display: inline;
}

this section should be repeated for each taxonomy type

shisha_hwguy’s picture

Issue summary: View changes

fix code section

devsaran’s picture

Category: bug » task

Really Thanks Shishenin. I will update it in the code..

shisha_hwguy’s picture

Any updates on this subject?

devsaran’s picture

Version: 7.x-1.2 » 7.x-1.4
Status: Active » Closed (fixed)

It is fixed in 7.x-1.4.

devsaran’s picture

Issue summary: View changes

fix source