Viewing 15 posts - 1 through 15 (of 40 total)
  • Author
    Posts
  • Saguaros Moderator
    #1001134

    Hi,

    You can use 3rd party extension as you wish and simply override the com_content in Purity III template: ROOT/templates/purity_iii/html/com_content/. It will override the declaration in T3 also.

    Regards

    bobptz Friend
    #1001208

    It worked! Thank you very much.

    I edited this file:
    /templates/purity_iii/html/com_content/article/default.php

    And I commented out this code:

    <!-- Article -->
    
    <article itemscope itemtype="http://schema.org/Article">
        <meta itemprop="inLanguage" content="<?php echo ($this->item->language === '*') ? JFactory::getConfig()->get('language') : $this->item->language; ?>" />
        <meta itemprop="url" content="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)) ?>" />
    
      <?php if ($params->get('show_title')) : ?>
        <?php echo JLayoutHelper::render('joomla.content.item_title', array('item' => $this->item, 'params' => $params, 'title-tag'=>'h1')); ?>
      <?php endif; ?>
    Saguaros Moderator
    #1001294

    Glad to hear it worked!

    Have a nice day!!!

    bobptz Friend
    #1001390

    Correction.

    The solution is to edit this file: /templates/purity_iii/html/com_content/article/default.php

    BEFORE:

        <!-- Article -->
    
        <article itemscope itemtype="http://schema.org/Article">
            <meta itemprop="inLanguage" content="<?php echo ($this->item->language === '*') ? JFactory::getConfig()->get('language') : $this->item->language; ?>" />
            <meta itemprop="url" content="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid)) ?>" />
    
          <?php if ($params->get('show_title')) : ?>
            <?php echo JLayoutHelper::render('joomla.content.item_title', array('item' => $this->item, 'params' => $params, 'title-tag'=>'h1')); ?>
          <?php endif; ?>

    AFTER:

        <!-- Article -->
        <article>
    
      <?php if ($params->get('show_title')) : ?>
        <?php echo JLayoutHelper::render('joomla.content.item_title', array('item' => $this->item, 'params' => $params, 'title-tag'=>'h1')); ?>
      <?php endif; ?>

    ++++++++++++++++

    BEFORE:

    <section class="article-content clearfix" itemprop="articleBody">
            <?php echo $this->item->text; ?>
        </section>

    AFTER:

        <section class="article-content clearfix">
            <?php echo $this->item->text; ?>
        </section>
    bobptz Friend
    #1001413

    Hi

    I found myself searching and removing more and more instances of "itemprop" until I got to a page full of validation errors: “The itemprop attribute was specified, but the element is not a property of any item”. Which is another issue that is reported here: http://pm.joomlart.com/browse/PURITYIII-186

    So back to the original question with the error shown in google structured data tool. If I do not want to use a 3rd party plugin for structured data, how can I fix this?

    Saguaros Moderator
    #1001486

    Could you check in our demo site and see if you experience the same issue?

    All the issue reported to dev team will be fixed and updated in upcoming release of template.

    bobptz Friend
    #1001575

    Hello

    Yes, the structured data errors are exactly the same on the Purity Demo site. For example try to test ( https://search.google.com/structured-data/testing-tool ) this page:
    http://purity-iii.demo.joomlart.com/index.php/typography/typo-page/our-team

    I send you a screenshot of the attachments.


    1. demo-error
    Saguaros Moderator
    #1001716

    Kindly follow the topic Ninja Lead is following, our team will update it.

    Thank you.

    bobptz Friend
    #1001790

    Hello

    Are you talking about these?
    https://www.joomlart.com/forums/topic/i-find-errors-when-validating-pages-with-httpsvalidator-w3-org/
    http://pm.joomlart.com/browse/PURITYIII-186

    That topic is about html errors validated here:
    https://validator.w3.org

    However the topic I started here is about Google structured data errors tested here:
    https://search.google.com/structured-data/testing-tool

    I thought those were different issues. So you say that the dev team is aware of Google structured data errors issue too?

    No problem for me to follow both here:
    https://www.joomlart.com/forums/topic/i-find-errors-when-validating-pages-with-httpsvalidator-w3-org/
    http://pm.joomlart.com/browse/PURITYIII-186

    Saguaros Moderator
    #1001985

    Hi,

    The team will join and fix then update to template. Pls stay tuned.

    Regards

    bobptz Friend
    #1005522

    Kindly follow the topic Ninja Lead is following, our team will update it.

    Sorry to bother you again for the same issue. Could you please clarify what is the "topic Ninja Lead is following"? I want to make sure that:

    1) this bug (structured data) is recorded and in queue to be fixed. 2) I will be updated when it is fixed.

    Saguaros Moderator
    #1005732

    Hi,

    Yes, the issue is already lined up in the backlog and will be fixed. The developer is in annual holidays now and will get back next week. Pls stay tuned.

    Regards

    bobptz Friend
    #1005735

    Hi

    Thank you very much for the update.

    Is there a code or page for this issue? Like the http://pm.joomlart.com/browse/PURITYIII-186, so I can better keep an eye on it?

    Saguaros Moderator
    #1005764

    Sorry, I don’t get your question, what you mean by a code or a page?

    bobptz Friend
    #1005768

    For example, I had opened this thread:
    https://www.joomlart.com/forums/topic/i-find-errors-when-validating-pages-with-httpsvalidator-w3-org/

    It turned out to be a bug, and it is now an official open issue:
    http://pm.joomlart.com/browse/PURITYIII-186

    Now we have another thread that seems to be a bug that needs to be fixed. So I assume you need to open an official issue on the above directory ( http://pm.joomlart.com/ ).

Viewing 15 posts - 1 through 15 (of 40 total)

This topic contains 40 replies, has 4 voices, and was last updated by  bobptz 7 years ago.

The topic ‘Error when testing with Google structured data testing tool’ is closed to new replies.