0
Welcome Guest! Login
0 items Join Now

w3c validation errors, Rockettheme Panacea template

  • w3c validation errors, Rockettheme Panacea template

    Posted 12 years 7 months ago
    • Hi,
      I am gonna be short as possible. I have the Panacea template, and there seems to be a problem on all readmore buttons. Here is the test:
      validator.w3.org/check?uri=http%3A%2F%2F...=W3C_Validator%2F1.3

      span tags aren't closed. On this page: noetova-sola.si/noetova/novice/
      Please help, I've tried Joomla forums, but they say these are template problems.
    • Last Edit: 12 years 6 months ago by premik91.
  • Re: w3c validation errors, Rockettheme Panacea template

    Posted 12 years 6 months ago
    • Thx a lot for ignoring :)
  • Re: w3c validation errors, Rockettheme Panacea template

    Posted 12 years 6 months ago
  • Re: w3c validation errors, Rockettheme Panacea template

    Posted 12 years 6 months ago
    • Yah, its a template bug. In /templates/rt_panacea/html/com_content/category/blog_item.php, find on line 140:
      <p class="rt-readon-surround">
          <a href="<?php echo $link; ?>" class="readon"><span>
              <?php if (!$params->get('access-view')) :
                  echo JText::_('COM_CONTENT_REGISTER_TO_READ_MORE');
              elseif ($readmore = $this->item->alternative_readmore) :
                  echo $readmore;
                  if ($params->get('show_readmore_title', 0) != 0) :
                      echo JHtml::_('string.truncate', ($this->item->title), $params->get('readmore_limit'));
                  endif;
              elseif ($params->get('show_readmore_title', 0) == 0) :
                  echo JText::sprintf('COM_CONTENT_READ_MORE_TITLE'); 
              else :
                  echo JText::_('COM_CONTENT_READ_MORE');
                  echo JHtml::_('string.truncate', ($this->item->title), $params->get('readmore_limit'));
              endif; ?>
          <span></a>
      </p>

      Change the last <span> on line 155 to </span>
    • James Spencer / Developer & Support / Hull, UK
  • Re: w3c validation errors, Rockettheme Panacea template

    Posted 12 years 6 months ago
    • Thx @James Spencer :D , it worked

      ps: didn't change any code within template.

Time to create page: 0.081 seconds