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

Type: Discussion
Status: New
Jsneor
View Replies:
appliculture replied on at Permalink Reply
appliculture
I'm also really interested to know how to embed it in a template.

Anyone can help ?

Thanks in advance
c5studio replied on at Permalink Reply
c5studio
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:

$block = Block::getByName('Scrapbook Block Name');
$block->display();
appliculture replied on at Permalink Reply
appliculture
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...
c5studio replied on at Permalink Reply
c5studio
Hello,
Do you mean the custom classes for the block or concrete5's "Design" css interface?

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.