Hello anyone?
I’m new to JoomlArt and have installed the JM Mozanis template. Most things are up and running, but I can’t find out how to edit the titles in JM Tabs. I have changed the titles in the Static blocks with no results, and have no ideas where else to look.
Can anyone please help me??
2 answers
Go to this File : app\code\local\JoomlArt\Jmtabs\Block\Core.php
Replace this function
Code:
function addTabs_staticblock($title='', $identifier=''){ if (!$title || !$identifier ) { return false; } $this->_setTitles[] = $title; $model_cms = Mage::getModel('cms/block'); $Model = Mage::getModel('joomlart_jmtabs/listData'); $block_id = $Model->_getBlockId($model_cms, $identifier ); $this->_setContents[] = $this->get_Content_Static_Block($block_id); }
With
Code:
function addTabs_staticblock($title='', $identifier=''){ if (!$title || !$identifier ) { return false; } $block = Mage::getModel('cms/block')->load($identifier); $this->_setTitles[] = $block->getTitle(); $model_cms = Mage::getModel('cms/block'); $Model = Mage::getModel('joomlart_jmtabs/listData'); $block_id = $Model->_getBlockId($model_cms, $identifier ); $this->_setContents[] = $this->get_Content_Static_Block($block_id); }
Now the Static block title can be viewed on Tab
Note: If you Find my Post useful please click on the Thanks Icon
Thanks a lot!! That did it!
This question is now closed