Welcome Guest ( Log In | Register )

 Forum Rules Extensions Support
 
Reply to this topicStart new topic
> Microformats Mtree Errors, I can not get microformats votes to work
ronsmart
post Jun 27 2012, 09:32 PM
Post #1


Newbie
*

Group: Members
Posts: 4
Joined: 27-June 12
Member No.: 1,246



Joomla! 2.5.6
Mtree 2.2.5
PHP Version 5.3.8
Database Version 5.1.63-cll

When I add code after </h2> on this file sub_listingDetails.tpl.php

<div id="listing">

<h2><?php
$link_name = $this->fields->getFieldById(1);
$this->plugin( 'ahreflisting', $this->link, $link_name->getOutput(1), '', array("delete"=>true,"link"=>false) )
?></h2>

<!--CODE ADDED-->
<?
#MicroformatsVotes BOM
if (JPluginHelper::importPlugin('content','microformatsvotes',true)) {
$seoparams = new JRegistry();
JDispatcher::getInstance()->trigger('onContentBeforeDisplay', array('_com_mtree.listing', $this->link, $seoparams));
echo $this->link->plgmfvhtml;
unset($this->link->plgmfvhtml);
}
#MicroformatsVotes EOM
?>

<?php
if ( !empty($this->mambotAfterDisplayTitle) ) {
echo trim( implode( "\n", $this->mambotAfterDisplayTitle ) );
}

if ( !empty($this->mambotBeforeDisplayContent) && $this->mambotBeforeDisplayContent[0] <> '' ) {
echo trim( implode( "\n", $this->mambotBeforeDisplayContent ) );
}



I get these errors in screenshot in reply below


This post has been edited by ronsmart: Jun 27 2012, 09:41 PM


--------------------
[url="http://www.1lgs.com"]SEO Company LGS[/url]
[url="http://www.BailBondsReviews.com"]BailBondsReviews.com Bail Bond Citation Source[/url]
Go to the top of the page
 
+Quote Post
ronsmart
post Jun 27 2012, 09:36 PM
Post #2


Newbie
*

Group: Members
Posts: 4
Joined: 27-June 12
Member No.: 1,246





My plugin settings


--------------------
[url="http://www.1lgs.com"]SEO Company LGS[/url]
[url="http://www.BailBondsReviews.com"]BailBondsReviews.com Bail Bond Citation Source[/url]
Go to the top of the page
 
+Quote Post
ronsmart
post Jun 27 2012, 09:37 PM
Post #3


Newbie
*

Group: Members
Posts: 4
Joined: 27-June 12
Member No.: 1,246



Errors


--------------------
[url="http://www.1lgs.com"]SEO Company LGS[/url]
[url="http://www.BailBondsReviews.com"]BailBondsReviews.com Bail Bond Citation Source[/url]
Go to the top of the page
 
+Quote Post
Ivan Stamenov
post Jun 28 2012, 07:58 AM
Post #4


Advanced User
****

Group: Advanced Member
Posts: 218
Joined: 15-April 11
Member No.: 761



Please try to replace:

JDispatcher::getInstance()->trigger('onContentBeforeDisplay', array('_com_mtree.listing', $this->link, $seoparams));

with:

JDispatcher::getInstance()->trigger('onContentBeforeDisplay', array('_com_mtree.listing', &$this->link, &$seoparams));
Go to the top of the page
 
+Quote Post
ronsmart
post Jun 29 2012, 03:20 AM
Post #5


Newbie
*

Group: Members
Posts: 4
Joined: 27-June 12
Member No.: 1,246



QUOTE (Ivan Stamenov @ Jun 28 2012, 12:58 AM) *
Please try to replace:

JDispatcher::getInstance()->trigger('onContentBeforeDisplay', array('_com_mtree.listing', $this->link, $seoparams));

with:

JDispatcher::getInstance()->trigger('onContentBeforeDisplay', array('_com_mtree.listing', &$this->link, &$seoparams));



I made the change and see the vicroformat votes now but am still getting some errors and the old star rating is still shown example below

Thanks for the help



--------------------
[url="http://www.1lgs.com"]SEO Company LGS[/url]
[url="http://www.BailBondsReviews.com"]BailBondsReviews.com Bail Bond Citation Source[/url]
Go to the top of the page
 
+Quote Post
Web Design Seo
post Jun 29 2012, 05:58 AM
Post #6


Web Design Seo
****

Group: Root Admin
Posts: 4,332
Joined: 29-April 09
From: Sofia
Member No.: 1



The old star rating will be shown if you are not switched off this feature in Mtree configuration.


--------------------
Правила на форума | Forum Rules | How to receive support. 3D Web Design: Уеб дизайн, Seo оптимизация, Web Site Extensions, Oscommerce Addons, Wordpress plugins and Joomla Extensions. Изработка на уеб сайтове и оптимизация на сайт за търсачки и Seo услуги.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Collapse

> Similar Topics

  Topic Replies Topic Starter Views Last Action
No new Pinned: Topic has attachmentsMicroformats Seo Plugin For Rich Snippets In Joomla
Seo plugin to show Rich snippets in google over joomla votes
139 Web Design Seo 654,517 13th March 2020 - 02:13 PM
Last post by: Web Design Seo
No new Pinned: Microformats For Zen Cart
Microformats ratings for Zen Cart online stores
45 Web Design Seo 439,710 30th December 2015 - 11:11 AM
Last post by: Aldo Campione
No New Posts Microformats And Jdownloads - Presale Question
2 zaxavar 64,748 16th June 2014 - 11:59 AM
Last post by: Web Design Seo
No New Posts Microformatsvotes Joomla Plugin
Can´t vote when clicking on the starts?
1 Falle 61,970 30th April 2014 - 06:22 AM
Last post by: Web Design Seo
No New Posts Microformats Show Stars When ..google Want ? !
1 lalalas 64,997 23rd March 2014 - 12:20 PM
Last post by: Web Design Seo
No New Posts Microformats Votes и Flexicontent
1 victorio04 64,882 12th March 2014 - 06:45 PM
Last post by: Web Design Seo
No new Pinned: Microformats For Oscommerce
Microformats votes (Microformats ratings) for Oscommerce online shops
40 Web Design Seo 179,607 25th February 2014 - 01:29 PM
Last post by: Beleth
No New Posts Microformats Installed But Doesn't Work
Microformats
1 Paddlingal 61,792 27th January 2014 - 03:30 PM
Last post by: Web Design Seo
No new Errors In Post By Mail With K2
10 BjoernS 36,745 6th January 2014 - 09:04 AM
Last post by: pavelKukov
No New Posts Microformats Show Individual User Vote
How do we get a single user's rating for a specific article to dis
3 leven 41,561 3rd December 2013 - 11:24 AM
Last post by: pavelKukov


 



RSS Lo-Fi Version Time is now: 2nd June 2026 - 03:04 AM