video thumbnail in category layout blog view

More
10 years 3 months ago #44680 by kogos
i will try to alter the category_item.php file (or any other file that might need changing) to force trigger the plugin before extracting the image and report back just in case anybody else need this...

Again, thanks for the effort and you time.

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #44689 by ggppdk
Hello

-- actually my previous comment was not 100% correct,
if you have configured the description plugin to trigger content plugins, then they are already triggered


-- just the extract image uses:
Code:
$items[$i]->introtext;
but it should use:
Code:
$items[$i]->fields['text']->display



-- you said you want to modify
category_items.php (OR category_items_html.php)
of FLEXIcontent blog template

So find:
Code:
$src = flexicontent_html::extractimagesrc($items[$i]);
and replace with:
Code:
$tmp_descr = new stdClass(); $tmp_descr->introtext = $items[$i]->fields['text']->display; $tmp_descr->fulltext = ''; $src = flexicontent_html::extractimagesrc($tmp_descr); //$src = flexicontent_html::extractimagesrc($items[$i]);


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.266 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline