Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
I'm trying to create a custom BANNER block with the goal of no having to specify block properties for every instance that I use it for.
So far i have created a copy of:
-> blocks_custom/block_banners_header_CUSTOM.php
--> block_banners_header_CUSTOM.html
Within block_banners_header_CUSTOM.php I have changed the default template to point to the new template
I have also within VIART - CMS Blocks, created an entry for the new custom block and replicated the default banners block settings. Then I have place the block onto the page (above the header block)
I have also modified the header.html file to include a reference {header_banner} at the appropriate location on the page.
My problem is that for it to work I need to still set the TAG_NAME property to be header_banner for the block for it to appear on the page correctly.
Can anyone advise on how to avoid having to still specify the TAG_NAME for the block - which I think is required to be put into the PHP file.