Welcome Guest ( Log In | Register )

 Forum Rules Extensions Support
 
Reply to this topicStart new topic
> Error Joomla Seo Microformats
manolo
post Jan 14 2014, 05:33 PM
Post #1


Newbie
*

Group: Members
Posts: 1
Joined: 14-January 14
Member No.: 1,946



Hi, I can not get to work on virtuemart microformats
I added the code you mention in the instructions on default_pdf.php in <h1>

Код
<div class="productdetails-view">

<? php / / Product Title >
<h1> <? php echo $ this- > product -> product_name > < / h1 >
<? php
# MicroformatsVotes BOM
if ( JPluginHelper :: importPlugin ( 'content' , ' microformatsvotes ', true ) ) {
$ seoparams JRegistry = new ( );
$ seorow StdClass = new ();
$ CurrencyID = ( int) JFactory :: getApplication () -> getUserStateFromRequest ( ' virtuemart_currency_id ', ' virtuemart_currency_id ', $ this-> currency -> _vendorCurrency );
$ db = & JFactory :: getDBO ();
$ db -> setQuery ("SELECT FROM` # currency_code_3 __virtuemart_currencies virtuemart_currency_id `WHERE` ` = $ CurrencyID ");
$ currencyCode = $ db -> loadResult ();
$ seorow -> mfv_id = $ this- > product -> virtuemart_product_id;
$ seorow -> mfv_title = $ this- > product -> product_name;
if ( empty ($ this-> product- > prices [' salesPrice '] ) && ! empty ($ currencyCode ) ) {
$ seorow -> mfv_price = $ this- > product - > prices [' salesPrice '];
$ seorow -> currencyCode = $ mfv_currency;
$ seorow -> mfv_sku = $ this- > product -> product_sku;
$ seorow -> mfv_instock = (bool ) $ this- > product -> product_in_stock;
$ seorow -> mfv_image = empty ($ this-> product- > images [ 0] - > file_url_thumb ) ? FALSE : JURI :: root ( FALSE) $ this- > product - > images [ 0] - > file_url_thumb , .
if ( empty ($ this- > product -> virtuemart_vendor_id ) ) {
$ db -> setQuery ("SELECT vendor_store_name , vendor_url FROM` # `WHERE` __virtuemart_vendors virtuemart_vendor_id ` = ' $ this- > product -> virtuemart_vendor_id . );
$ info = $ db -> loadObject ();
if ( empty ($ info -> vendor_store_name ) ) {
$ seorow -> mfv_vendor = $ info -> vendor_store_name;
$ seorow -> mfv_vendor_url = $ info -> vendor_url;
}
}
}
$ seorow -> product_s_desc = $ this- > product -> product_s_desc;
$ seorow -> product_desc = $ this- > product -> product_desc;
JDispatcher :: getInstance () -> trigger ( ' onContentBeforeDisplay ', array ( ' _virtuemart.product ' , & ​​$ seorow , $ seoparams ) );
$ this- > product -> product_desc = $ seorow -> product_desc;
$ this- > product -> product_s_desc = $ seorow -> product_s_desc;
echo $ seorow -> plgmfvhtml;
}
# MicroformatsVotes EOM
>
<? php / / END Product Title >
<? php / / Showing The Additional Images
if ( empty ($ this-> product- > images ) && count ($ this-> product- > images )> 0) {
echo $ this-> product- > images [ 0] - > displayMediaFull ( 'class = "product -image " ' , false); > ?
<div class="additional-images">
<? php / / List all Images
foreach ( $ this- > product - > images as $ image ) {
echo $ image -> displayMediaThumb ( 'class = "product -image " ' ) / / 'class = "modal" '

} >
< / div >

-------------------------

The configuration of this plugin is



Should I delete something default_pdf.php orginal file? Would appreciate your help could you detail a step by step? Thank you very much from Spain.
Go to the top of the page
 
+Quote Post
Web Design Seo
post Jan 15 2014, 07:19 AM
Post #2


Web Design Seo
****

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



Plugin documentation is here.

If after all steps from documentation again is not working, please, post here this info:
1. What is your Joomla version?
2. What is your php version?
3. What version of Microformats votes you use?


--------------------
Правила на форума | 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 attachmentsJoomla Scraper, Grabber For Joomla
Joomla Scraper Can Grab Any Content From Any Website
82 Web Design Seo 88,612 9th October 2019 - 08:53 AM
Last post by: Web Design Seo
No new Pinned: Seo Links за Wordpress, плъгин за Seo оптимизация за Wp
плъгин за автоматично линкване за уърдпрес
8 Web Design Seo 23,468 15th June 2019 - 08:27 AM
Last post by: toniintro
No new Pinned: Seo Links Pro For Joomla
guide, description and functions of Seo Links Pro
38 Web Design Seo 67,652 8th April 2019 - 10:22 AM
Last post by: Web Design Seo
No new Pinned: Topic has attachmentsJoomla Vulnerable Extensions List
list with new Joomla exploits
20 Web Design Seo 26,613 26th September 2018 - 05:07 AM
Last post by: Web Design Seo
No new Pinned: Joomla Pagination Seo Plugin
SEO plugin for Joomla Pagination that work in all Joomla
61 Web Design Seo 66,872 13th March 2018 - 10:05 AM
Last post by: mxcpz
No New Posts Pinned: Seo конференция 2015
3 Web Design Seo 20,810 23rd May 2017 - 07:45 AM
Last post by: Web Design Seo
No New Posts Pinned: Joomla Scraper Going Open Source
No licenses, use scraper on unlimited number of web sites
0 Web Design Seo 6,616 8th March 2017 - 07:40 AM
Last post by: Web Design Seo
No New Posts Pinned: Joomla Ден 2016
Joomla Day 2016
1 Web Design Seo 21,872 31st October 2016 - 10:11 AM
Last post by: Web Design Seo
No new Pinned: Topic has attachmentsMicroformats Seo Plugin For Rich Snippets In Joomla
Seo plugin to show Rich snippets in google over joomla votes
138 Web Design Seo 98,196 13th October 2016 - 09:30 AM
Last post by: Henry Douglas
No New Posts Error [111] [connection Refused]
[solved]
2 Jan van Kuijk 19,343 17th September 2016 - 07:13 AM
Last post by: Jan van Kuijk


 



RSS Lo-Fi Version Time is now: 6th December 2019 - 08:56 AM
Clicky Web Analytics