21 | 11 | 2024
Main menu
Login/Logout
 
Contacts
Реклама
Our button

Блог Ecolora

Код:

<a href="http://www.ecolora.com" target="_blank" rel="nothing" title="Ecolora.com"><img alt="Ecolora.com" height="31" src="http://www.ecolora.com/images/ecoloracom.gif" width="88" /></a>
Who's online

We have 53 guests and no members online

Лента новостей

Newsletter
Welcome, Guest
Username: Password: Remember me
Component and plugin for musical sites / Компонент для музыкальных сайтов и улучшенная версия плагина MP3 Browser

TOPIC: MP3Browser J1.7 and joomshopping

MP3Browser J1.7 and joomshopping 13 years 2 months ago #22

  • e_critic
  • e_critic's Avatar
hi,

at first - thank you for providing us with this great plug-in! I tried mp3browser two days ago in a joomla 1.7 test environment but unfortunatley the plug-in is not working with the shop system "joomshopping".

It would be awesome to get mp3brower or commedia running in this shop component for joomla.

regards,
max
Last Edit: 13 years 2 months ago by e_critic.
The administrator has disabled public write access.

Re: MP3Browser J1.7 and joomshopping 13 years 2 months ago #23

  • admin
  • admin's Avatar
  • Offline
  • Администратор
  • Posts: 465
  • Thank you received: 40
  • Karma: 19
I am not developer of mp3browser. :) Dotcom Development made this plugin (the original version).

I made free modification of plugin, wich called MP3Browser New for Joomla 1.5. It has many new functions, also I corrected many errors in it.

But you right about Commedia component and plugin for Joomla 1.5+: I made it. ;)

Now, tell me the address of Your site and version of Joomshopping, please, so I can see what is the problem there.

Thank You.

You need to make plugins working in category description or in good description?
Last Edit: 13 years 2 months ago by admin.
The administrator has disabled public write access.

How to make working content plugins in category description in Joomshopping in Joomla 1.5 13 years 2 months ago #24

  • admin
  • admin's Avatar
  • Offline
  • Администратор
  • Posts: 465
  • Thank you received: 40
  • Karma: 19
For Joomla 1.5 do folowing steps:

Add new function to the end of components/com_jshopping/lib/functions.php. Here is the code of the function:
function changeCategoryTextUsePlugin($category){
    $mainframe =& JFactory::getApplication();

    $dispatcher =& JDispatcher::getInstance();

    JPluginHelper::importPlugin('content');
    $obj = new stdClass();
    $params = &$mainframe->getParams('com_content');
    $obj->product_id = $category->product_id;

    $obj->text = $category->description;

    $obj->title = $category->name;

    $results = $dispatcher->trigger('onPrepareContent', array (&$obj, &$params, 0));

    $category->description = $obj->text;
    return 1;

}
Call ths function in /components/com_jshopping/controllers/category.php in
function view()
after
the line
$category->getDescription()
It must works.
Last Edit: 13 years 2 months ago by admin.
The administrator has disabled public write access.

How to make working content plugins in category description in Joomshopping 3.0.1 in Joomla 1.6+ 13 years 2 months ago #25

  • admin
  • admin's Avatar
  • Offline
  • Администратор
  • Posts: 465
  • Thank you received: 40
  • Karma: 19
For Joomshopping 3.0.1:

Replace code in components/com_jshopping/lib/functions.php
function changeProductTextUsePlugin(&$product){
    $mainframe =& JFactory::getApplication();
    $dispatcher    = JDispatcher::getInstance();
    JPluginHelper::importPlugin('content');
    $obj = new stdClass();
    $params = &$mainframe->getParams('com_content');
    $obj->product_id = $product->product_id;
    $obj->text = $product->description;
    $obj->title = $product->name;   
    $results = $dispatcher->trigger('onContentPrepare', array('com_content.article', &$obj, &$params, 0));
    $product->description = $obj->text;
    return 1;
}

It must works.
Last Edit: 13 years 2 months ago by admin.
The administrator has disabled public write access.

Re: How to make working content plugins in category description in Joomshopping 3.0.1 in Joomla 1.6+ 13 years 2 months ago #26

  • e_critic
  • e_critic's Avatar
hi admin,

WOW - спасибо for your super fast feedback!! I really appreciate your help :cheer:

I really don't want to waste your time :blush:, but unfortunatley it's not working.

Here the link where I try to use the plug-in in joomshopping (version: 3.2.6 for joomla 1.6+):
wp10679765.wp073.webpack.hosteurope.de/i...hop/product/view/1/2

and with your permission I will recommend you in the joomshopping-forum and of course on my website.

Всего доброго,
max


File Attachment:

File Name: functions_...fied.txt
File Size:32 KB
Last Edit: 13 years 2 months ago by e_critic.
The administrator has disabled public write access.

Re: MP3Browser J1.7 and joomshopping 13 years 2 months ago #27

  • admin
  • admin's Avatar
  • Offline
  • Администратор
  • Posts: 465
  • Thank you received: 40
  • Karma: 19
In Joomshopping 3.2.6 it's easy! :)

Go to Configuration of JoomShopping, select Category/Product and check the option "Use content plugins in descriptions?"

It must works.
and with your permission I will recommend you in the joomshopping-forum and of course on my website.

Thank You. :)
Last Edit: 13 years 2 months ago by admin.
The administrator has disabled public write access.
Time to create page: 0.115 seconds
for children older than 12 years