Installing in a theme
Permalink Browser Info Environment
Hi,
I just bought your menu block, and its great!
I'd like to install it in my site's theme, but I don't know the variables used for all the settings.
Can you provide the code needed to install this block in my theme?
Thanks
I just bought your menu block, and its great!
I'd like to install it in my site's theme, but I don't know the variables used for all the settings.
Can you provide the code needed to install this block in my theme?
Thanks
Type: | Discussion |
---|---|
Status: | New |
Hello,
This block was not designed to be installed directly into a theme, but you can add a block to your theme by first adding it to the scrapbook, and then you can use the following code to display it in your theme:
This block was not designed to be installed directly into a theme, but you can add a block to your theme by first adding it to the scrapbook, and then you can use the following code to display it in your theme:
$block = Block::getByName('Scrapbook Block Name'); $block->display();
Thanks for the answer. I did it this way and it's working.
One issue remaining, make the custom css working.. It's apparently not working when the block is in the global scrapbook...
One issue remaining, make the custom css working.. It's apparently not working when the block is in the global scrapbook...
Hello,
Do you mean the custom classes for the block or concrete5's "Design" css interface?
Do you mean the custom classes for the block or concrete5's "Design" css interface?
Anyone can help ?
Thanks in advance