adding vertical slide menu to concrete 5
Permalink
Good day
Need some help adding vertical slide menu to concrete 5 ;
I have done the following –
Created the following folder \blocks\autonav\templates\vertical_menu in where I have added the .css file.
Added the .js file in \js folder
I have updated the header_required.php (I copied the file from the concrete elements folder in to the /elements folder and update the file in root)
I added the following code:
$this->addHeaderItem($html->javascript('cssverticalmenu.js'));
$this->addHeaderItem($html->css('..\blocks\autonav\templates\vertical_menucssverticalmenu.css'));
But not working?
Now my question is where and what must be update so that the .js menu will work.
Thanks
Newbie
Need some help adding vertical slide menu to concrete 5 ;
I have done the following –
Created the following folder \blocks\autonav\templates\vertical_menu in where I have added the .css file.
Added the .js file in \js folder
I have updated the header_required.php (I copied the file from the concrete elements folder in to the /elements folder and update the file in root)
I added the following code:
$this->addHeaderItem($html->javascript('cssverticalmenu.js'));
$this->addHeaderItem($html->css('..\blocks\autonav\templates\vertical_menucssverticalmenu.css'));
But not working?
Now my question is where and what must be update so that the .js menu will work.
Thanks
Newbie
Must I update the hearder_requered pages with the following?
$this->addHeaderItem($html->javascript('cssverticalmenu.js'));
How would I chages above code?
and how would I point to the .css file?
I am not goimhg right - all I need is a vertical menu with submenus?
Thanks
$this->addHeaderItem($html->javascript('cssverticalmenu.js'));
How would I chages above code?
and how would I point to the .css file?
I am not goimhg right - all I need is a vertical menu with submenus?
Thanks
You don't necessarily need to use the html helpers, but they do help you omit some typing :) and do a bunch of file exists depending on how the block is added, either through a block install or a package(seems like everything is moving to packages anyways).