Adjust Blockname length

Permalink
Hi!

I have an accordion block that displays the Blockname as title:

<a href="#"><i class="fa fa-chevron-circle-right"></i> <?php echo $block->getBlockName() ? $block->getBlockName() : t('Title ') . $key ?></a>

The problem: it seems as if concrete5 only saves a length of 60 characters for blocknames. But I need 75! There MUST be a way to change the number but I don't know where to look. Can anyone help me with this?

Thanks in advance
Maria

Solanum
 
JohntheFish replied on at Permalink Reply
JohntheFish
At a guess, you would need to load the block type controller as an object and call the method on that.

An easier solution to brewing your own accordion is my Magic Tabs addon.
https://www.concrete5.org/marketplace/addons/magic-tabs1...

Accordion at https://demo.c5magic.co.uk/addons/magic-tabs/accordions... and the menu in the right sidebar.