Settings for MarketPlace


Inctructions: TorTags configuration for

Steps:

1. Go: Components -> TorTags -> Manage Components.

2. Click to "Create" button in toolbar.

3. Enter parameters, see picture below.

4. Click to "Save" button in toolbar.

5. Some modification marketplace files.

Example settings for marketplace entries:

Component name: com_marketplace
Component table: #__marketplace_entries
Id field: id
Title field name: headline
Description field name: text
Created field name: date_created
Url template: index.php?option=[COMPONENT]&catid=[CATID]&view=entry&entry=[ID]
Exceptions (views or tasks): 

 

Unfortunately, marketplace developers didn't include pre-processing description by content-plugins.
Therefore, it is necessary to make a small change in the files:

1. /administrator/components/com_marketplace/views/entry/tmpl/default.php (~line 170)

Replace:

To:                       $editor =& JFactory::getEditor();
                     echo $editor->display('text', $this->entry->text, '550', '400', '60', '20', true);
              ?>

 

2. components/com_marketplace/views/entry/tmpl/default.php (~line 2560)

Replace:echo nl2br($this->text);

To:  echo JHTML::_('content.prepare', $this->text);

 

3. components/com_marketplace/views/category/tmpl/default.php (~line 442)

Replace:echo $shorttext;

To:  echo JHTML::_('content.prepare', $shorttext);

 

Demo:

TorTags 2.5 with MarketPlace

Scroll to Top
Ads: