Welcome Guest ( Log In | Register )

 Forum Rules Extensions Support
 
Reply to this topicStart new topic
> Solution: If Seo Links Integration Code Not Work, seo links integration outside content and k2
Web Design Seo
post Jul 9 2012, 08:14 AM
Post #1


Web Design Seo
****

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



On some servers, due on server configuration and version of php, integration code to use seo links outside content and k2 not work.

If integration code not work, try to replace the following line:

Код
$dispatcher->trigger('onContentBeforeDisplay', array('com_adsmanager', &$seorow, array()));


with:
Код
$seoparams = new JRegistry();
$dispatcher->trigger('onContentBeforeDisplay', array('com_adsmanager', &$seorow, &$seoparams));


This code solve problems on about 90% of cases. On many servers versions of php and versions of joomla and used components are diffferent, so you can use with and without symbol "&"

With:
Код
&$seorow, &$seoparams


Without:
Код
$seorow, $seoparams


Code is added to component package also.


--------------------
Правила на форума | 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
Web Design Seo
post Aug 30 2012, 10:59 AM
Post #2


Web Design Seo
****

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



Example for Virtuemart for Joomla 2.5:

You can try to change this part from integration code:
Код
$dispatcher->trigger('onContentBeforeDisplay', array('virtuemart', &$seorow, array()));


with this:
Код
$dispatcher->trigger('onContentBeforeDisplay', array('virtuemart', $seorow, array()));


--------------------
Правила на форума | 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: Seo Links за Wordpress, плъгин за Seo оптимизация за Wp
плъгин за автоматично линкване за уърдпрес
8 Web Design Seo 19,461 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 63,694 8th April 2019 - 10:22 AM
Last post by: Web Design Seo
No New Posts Pinned: Seo конференция 2015
3 Web Design Seo 17,265 23rd May 2017 - 07:45 AM
Last post by: Web Design Seo
No New Posts Notepad++ New Line Replace
How to find and replace new line in Notepad++
0 Web Design Seo 3,032 8th December 2016 - 01:45 PM
Last post by: Web Design Seo
No New Posts Seo Links Pro Now Work With Virtuemart, Sobi2 And Zoo
Seo Links Pro in Virtuemart, Sobi2 and Zoo
1 Web Design Seo 15,383 16th August 2016 - 03:25 PM
Last post by: Web Design Seo
No new Pinned: Seo Links Pro за Джумла
нова професионална версия на сео линкс за Joomla!
31 Web Design Seo 42,789 2nd April 2016 - 07:45 PM
Last post by: servlet
No New Posts Pinned: Seo пакети за бизнес клиенти: Google работи за Вас
SEO пакети за абонамент на големи клиенти
0 Web Design Seo 10,373 4th January 2016 - 08:33 AM
Last post by: Web Design Seo
No New Posts Seo Conference 2015, Bulgaria
2 Web Design Seo 15,528 3rd September 2015 - 01:21 PM
Last post by: Web Design Seo
No new Pinned: Seo Links For Wordpress, Plugin For Automatic Linking In Wp
automatic linking for Wordpress
17 Ivan Stamenov 31,721 3rd July 2015 - 10:55 AM
Last post by: Web Design Seo
No New Posts Seo Links In Kunena 3.x.x?
fixed, working
2 zaxavar 12,273 30th June 2015 - 12:14 PM
Last post by: Web Design Seo


 



RSS Lo-Fi Version Time is now: 20th August 2019 - 09:48 AM
Clicky Web Analytics