0
Welcome Guest! Login
0 items Join Now

structured data and templates

    • Diana38's Avatar
    • Diana38
    • Sr. Rocketeer
    • Posts: 155
    • Thanks: 0

    structured data and templates

    Posted 9 years 2 months ago
    • I have been using Rocket themes on and off for years. Love them! For some reason I cannot see any more templates section here in forum. And yes I recently purchased template as I was doing upgrade. So really sorry if i am posting in wrong section but I cannot see template section. My appology.

      Anyhow reason why I am here as recently I have upgraded Joomla 2.5 to 3.48 and of course bought template to be able to upgrade - Graffito, same i used for 2.5 Joomla. Started testing my extensions and components like Reviews to check structured data ( work fine ) but then realise I have other articles errors.

      Structured data has so many errors. After day of investigation checking my other website on different template and finally switch template all together to the same site.......realised errors comes from theme.

      I hope somene might tell me how to override that. I already spend couple of days wihout success.
      The structued data display just fine on beez or atomic but as soon as I use rocket theme I have 11 errors.

      I hope someone will point me to right direction how to fix it . It is important nowadays for clients.

      Thank you so much for any consideartion and your time to answer!!!!!!!!!!!!!!
    • David Goode's Avatar
    • David Goode
    • Preeminent Rocketeer
    • Posts: 17058
    • Thanks: 890
    • Web Designer and Host

    Re: structured data and templates

    Posted 9 years 2 months ago
    • Hi Diana,

      Looks like your subscription expired on 10th February this year.

      If you purchased the template outright then please send an email to This email address is being protected from spambots. You need JavaScript enabled to view it. with your purchase details and they will sort it out.

      Do you have a link to the problem?
    • The following users have thanked you: Diana38


    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information
    • Diana38's Avatar
    • Diana38
    • Sr. Rocketeer
    • Posts: 155
    • Thanks: 0

    Re: structured data and templates

    Posted 9 years 2 months ago
    • Thank you David, I fixed that payment immediately. :) Yes it is definitelly my ignorance with theme. I know I should do rewrites but a bit scare to play on live site. I was hoping someone can point me to right direction. As per link can I PM you ? Also site is blocked for some countries so I need to unblock it first anyhow :)

      Again thank you for your time and huge hugsssssssssssssssss for that.
    • Diana38's Avatar
    • Diana38
    • Sr. Rocketeer
    • Posts: 155
    • Thanks: 0

    Re: structured data and templates

    Posted 9 years 2 months ago
    • Hello David,

      I found solution by using JCE editor works well. I thought I post it here for others if they have similar errors. Yes it was my ignorance but we always have to learn few tricks. It does not solve it automatically and I have to do it article on article basis though. So may be there is theme solution after all :) And yes it definitelly works on beez template but I am scared to touch overrides on live sites.

      to do template rewrite I found articles where in templates/rt_graffito/html/com_content/article/default.php I should change codes. However in gantry I had idea where to find code, I am looking for <div class="item-page<?php echo $this->pageclass_sfx; ?>" itemscope itemtype=" schema.org/Article ">
      <meta itemprop="inLanguage" content="<?php echo ($this->item->language === '*') ? JFactory::getConfig()->get('language') : $this->item->language; ?>" />

      so no clue what to do as in default.php in overides I only have these.
      <?php
      /**
      * @version $Id: default.php 26165 2015-01-27 17:23:34Z james $
      * @author RocketTheme www.rockettheme.com
      * @copyright Copyright (C) 2007 - 2015 RocketTheme, LLC
      * @license www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
      */
      defined('_JEXEC') or die;
      $gantry_lib_path = JPATH_SITE . '/libraries/gantry/gantry.php';
      if (!file_exists($gantry_lib_path)) {
      echo 'This template requires the Gantry Template Framework. Please download and install from <a href=" www.gantry-framework.org/download "> www.gantry-framework.org/download </a>';
      die;
      }
      include(JPATH_LIBRARIES.'/gantry/gantry.php');
      $gantry->init();
      include JPATH_SITE.'/templates/'.$gantry->getCurrentTemplate().'/html/base_override.php';
    • Last Edit: 9 years 2 months ago by Diana38.
    • David Goode's Avatar
    • David Goode
    • Preeminent Rocketeer
    • Posts: 17058
    • Thanks: 890
    • Web Designer and Host

    Re: structured data and templates

    Posted 9 years 2 months ago
    • Hi Diana,

      We all learn something new all the time.

      The code you are looking for is from Joomla and not the template. To create an override in the template you need to copy the files default.php and index.html from /components/com_content/views/article/tmpl/ and put them in the template for overrides, which is templates/rt_graffito/html/joomla/3.4/

      Please note that graffito only has directories up to 3.2 so you will have to add a directory to match your Joomla version.

      Now you can edit the default.php to match your needs.

      Hope this helps 8)

      Our forums do not have PM any more. We use the "Secure" tab above the post and this creates a non-public portion to your post. This means that other moderators can also assist without having to wait for access details.

    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information

Time to create page: 0.069 seconds