footer menu magento

marco.marino1971
54 Posts
marco.marino1971 posted this 16 July 2016

Hi, I am trying to build a footer in magento. I added a section from billion themes in magento and customized it. My intent is to have a footer with 4 columns: inside columns I need to place menu links (for all languages of the site).

footer-section-magento.jpg

Bu how can I insert menu links inside several columns of my section?
Maybe it's not possible?

I am not familiar with magento, but I understand that menu links have to managed in CMS static blocks in magento admin panel. Here I found several blocks related to footer (already existing blocks as I am working on a site created by someone else). some of these blocks are enabled, nevertheless they are not appearing in any place in the footer.

cms-blocks.jpg

Could you help me understand how to go on ?

Regards
Marco

Hi, I am trying to build a footer in magento. I added a section from billion themes in magento and customized it. My intent is to have a footer with 4 columns: inside columns I need to place menu links (for all languages of the site). !footer-section-magento.jpg! Bu how can I insert menu links inside several columns of my section? Maybe it's not possible? I am not familiar with magento, but I understand that menu links have to managed in CMS static blocks in magento admin panel. Here I found several blocks related to footer (already existing blocks as I am working on a site created by someone else). some of these blocks are enabled, nevertheless they are not appearing in any place in the footer. !cms-blocks.jpg! Could you help me understand how to go on ? Regards Marco
Vote to pay developers attention to this features or issue.
9 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 19 July 2016

Hi,

So, you have a static block with some content and you want to show it inside Footer, right?
Please try the solution provided here:
http://answers.themler.com/articles/67124/how-to-show-the-content-of-magento-static-block

Thank you,
Olivia

Hi, So, you have a static block with some content and you want to show it inside Footer, right? Please try the solution provided here: http://answers.themler.com/articles/67124/how-to-show-the-content-of-magento-static-block Thank you, Olivia
marco.marino1971
54 Posts
marco.marino1971 posted this 19 July 2016

Yes that's that I mean, the solution works.
Thank you

Marco

Yes that's that I mean, the solution works. Thank you Marco
Support Team
Support Team posted this 19 July 2016

Marco, you are welcome! Please feel free to contact us in any other case.

Sincerely,
Nettie,
BillionDigital Team

Marco, you are welcome! Please feel free to contact us in any other case. Sincerely, Nettie, BillionDigital Team
marco.marino1971
54 Posts
marco.marino1971 posted this 21 July 2016

Hi I am coming back to this topic as I am a bit confused about management of multilinguage site.

For the footer I placed 4 blocks and use cms content to display content in each columns referring to this instructions:
http://answers.themler.com/articles/67124/how-to-show-the-content-of-magento-static-block

But know how can I make with other language? how can I get a static block that is in english language and place it in the english version of the footer?

And could you give me some directsions on how to manage homepage content in body for different languages?

Should be a different template for each language created? or how?

Thank you
Marco

Hi I am coming back to this topic as I am a bit confused about management of multilinguage site. For the footer I placed 4 blocks and use cms content to display content in each columns referring to this instructions: http://answers.themler.com/articles/67124/how-to-show-the-content-of-magento-static-block But know how can I make with other language? how can I get a static block that is in english language and place it in the english version of the footer? And could you give me some directsions on how to manage homepage content in body for different languages? Should be a different template for each language created? or how? Thank you Marco
Support Team
Support Team posted this 22 July 2016

Hi,

This question is related to magento, not to the theme.
You should configure the Magento localization (install languages, etc). And then create different blocks for different languages and configure "Store View *" of each static block. You can find details instruction in Magento documentation.

The only thing you can make in the theme is adding of a Language control (from Insert tab >> More) to switch the languages.

Thank you,
Olivia

Hi, This question is related to magento, not to the theme. You should configure the Magento localization (install languages, etc). And then create different blocks for different languages and configure "Store View *" of each static block. You can find details instruction in Magento documentation. The only thing you can make in the theme is adding of a Language control (from Insert tab >> More) to switch the languages. Thank you, Olivia
marco.marino1971
54 Posts
marco.marino1971 posted this 22 July 2016

Yes, I already confugured languages and managed static block.

For example I created 2 static block for the first columns in footer.
One static block is for the italian site: "Footer colonna 1 themler"
The other block is fot the english vire "Footer colonna 1 themler EN"
I assigned to the 2 blocks the same identifier "footer_themler_col1"

and inserted cms content with this code:
<?php $staticblock?>load('footer_themler_col1');
//echo $staticBlock->getTitle(); // block title
echo $staticBlock->getContent(); // block content
?>

I suppose that the front end should get the static block "footer_themler_col1" displaying the italian version for IT languae and the english view for english view.
But I am always getting italian view.

Do you think I made some mistake or there is some bug in themler?

thank you

Yes, I already confugured languages and managed static block. For example I created 2 static block for the first columns in footer. One static block is for the italian site: "Footer colonna 1 themler" The other block is fot the english vire "Footer colonna 1 themler EN" I assigned to the 2 blocks the same identifier "footer_themler_col1" and inserted cms content with this code: &lt;?php $staticblock?&gt;load('footer_themler_col1'); //echo $staticBlock->getTitle(); // block title echo $staticBlock->getContent(); // block content ?> I suppose that the front end should get the static block "footer_themler_col1" displaying the italian version for IT languae and the english view for english view. But I am always getting italian view. Do you think I made some mistake or there is some bug in themler? thank you
Support Team
Support Team posted this 26 July 2016

Hi,

Please try the following solution:

<?php
$Store = Mage::app()->getStore()->getCode();
if($Store == "default"){
$staticBlock = Mage::getModel('cms/block')->load('block-1');
echo $staticBlock->getTitle(); // block title
echo $staticBlock->getContent(); // block content
}
elseif($Store == "german"){
$staticBlock = Mage::getModel('cms/block')->load('block-2');
echo $staticBlock->getTitle(); // block title
echo $staticBlock->getContent(); // block content
}
else {
$staticBlock = Mage::getModel('cms/block')->load('block-1');
echo $staticBlock->getTitle(); // block title
echo $staticBlock->getContent(); // block content
}
?>

Here "default" and "german" are store codes from System >> Manage Stores.
I've created two blocks with different IDs: "block-1" and "block-2".

Thank you,
Olivia

Hi, Please try the following solution: `<?php $Store = Mage::app()->getStore()->getCode(); if($Store == "default"){ $staticBlock = Mage::getModel('cms/block')->load('block-1'); echo $staticBlock->getTitle(); // block title echo $staticBlock->getContent(); // block content } elseif($Store == "german"){ $staticBlock = Mage::getModel('cms/block')->load('block-2'); echo $staticBlock->getTitle(); // block title echo $staticBlock->getContent(); // block content } else { $staticBlock = Mage::getModel('cms/block')->load('block-1'); echo $staticBlock->getTitle(); // block title echo $staticBlock->getContent(); // block content } ?> ` Here "*default*" and "*german*" are store codes from System >> Manage Stores. I've created two blocks with different IDs: "*block-1*" and "*block-2*". Thank you, Olivia
marco.marino1971
54 Posts
marco.marino1971 posted this 26 July 2016

This way it seems to work!

So do you think I shoud use the same solution also for the body of the page?

home-page-blocks.png

thank you
Marco

This way it seems to work! So do you think I shoud use the same solution also for the body of the page? !home-page-blocks.png! thank you Marco
Support Team
Support Team posted this 26 July 2016

Hi,

This solution for any static blocks no matter where they are located.
Not sure about other content. I'm not so good familiar with Magento.

Thank you,
Olivia

Hi, This solution for any static blocks no matter where they are located. Not sure about other content. I'm not so good familiar with Magento. Thank you, Olivia
You must log in or register to leave comments