Settings for TorTags and HWD videoshare integration


Inctructions: TorTags configuration for HWD videoshare

Step 1.

1.1 Change view file administrator\components\com_hwdvideoshare\admin.hwdvideoshare.html.php (~line 565) for display tags in the entries in BE:

Find: $smartyvs->assign( "description", $editor->display("description",stripslashes($row->description),350,250,40,20,1) );

And replace to: $smartyvs->assign( "description", $editor->display("description",stripslashes($row->description),350,250,40,20,true) );

1.2 Change view file components\com_hwdvideoshare\hwdvideoshare.class.php (~line 3741) for display tags in the entries on FE:

Find: $details->description_truncated = hwd_vs_tools::truncateText(strip_tags($row->description), $c->trunvdesc);

And replace to (IMPORTANT: 3 its id com_hwdvideoshare, change on your id in BE components page ):
$details->description_truncated = hwd_vs_tools::truncateText(strip_tags($row->description), $c->trunvdesc);
$details->description_truncated = JHTML::_('content.prepare',$details->description_truncated.' {tortags,'.$row->id.',3}');

Step 2.

Configuration for TorTags:

with hdw settings

Component name: com_hwdvideoshare
Component table: #__hwdvidsvideos
Id field: id
Title field name: title
Description field name: description
Created field name: date_uploaded
Url template: index.php?option=[COMPONENT]&task=viewvideo&video_id=[ID]
Front request key: video_id

Scroll to Top
Ads: