Not working in single page?

Permalink Browser Info Environment
Hii michael, the slider not working in single page like profile, register, member.
since it was single page i was add manually
$b = Block::getByName('Header-Slideshow'); //assume name on scrapbook
$bv = new BlockView();
echo  $bv->render($b, 'view');

the image show, but not slide. when i view source code via firefox, the js and css file not include. i try to add it to controller, but stil not work
public function on_page_view() {
  $html = Loader::helper('html');
  $this->addHeaderItem($html->css('style.css'));
  $this->addHeaderItem($html->javascript('jquery.cycle.min.js'));
}


for now i added hardcode in view.php and work fine, although not c5 style
$nav = Loader::helper('navigation');
?>
<link rel="stylesheet" type="text/css" href="/css/style.css" />
<script type="text/javascript" src="/js/jquery.cycle.min.js"></script>


i use concrete5 5.4.2.2

thanks for the block. as far i know, its the best slider in the market

Type: Discussion
Status: New
fastcrash
View Replies:

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.