1

I have a BT CONTENT SLIDER module on main page of my website to show a list of 3 articles from category called "News" on main page.

I would like to read custom params of that articles shown on that component, on /templates/mytemplate/html/default.php. I googled a lot and tested some solutions, but I could not not find a way to get article ids.

Any ideas?

1

From the last try, I got the way to get all three articles on BT CONTENT SLIDER:

$list = modBtContentSliderHelper::getList( $params, $module );
foreach($list as $article){
  echo $article->id;
}

To get the id only from current article, it is so easy:

echo $row->id;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.