WBCE CMS – Way Better Content Editing.
You are not logged in.
Hi
I add following NIA configuration to my template for WBCE 1.4
<?php
if (function_exists('getImageNewsItems')) {
$config = array(
'group_id_type' => 'section_id',
'group_id' => 3,
'max_news_items' => 6,
'max_news_length' => 150,
'display_mode' => 1
);
echo getImageNewsItems();
}
?>
All values declared in the config array are working despite 'max_news_length' value. NIA Module does not see this value and full short post is displayed. When I change this value in the default settings in NIA include.php file, it is working and NIA output has 150 letters.
What can I do to correct it?
Best Regards
Gawi
Offline
The configuration has to be applied to the call, e.g. change
echo getImageNewsItems();
to
echo getImageNewsItems($config);
Sorgen sind wie Nudeln: man macht sich meist zu viele.
Offline
Thank you. It works.
Best regards
Gawi
Offline