I want to design a custom menu just like the admin configuration menu in magento as you can see in the image below.
I have a custom phtml file and I want the same menu in that file. how can I do this using built-in magento functionality.
Here is great manual from Alan Storm, how to create custom tabs in admin panel
http://alanstorm.com/custom_magento_system_configuration
Related
I am new in magento and using magento 2.0.7 version and trying to add custom menu in header. I created a menu with name Horizontal Menus and added item in it from Menus Management in admin panel. Now i am stuck to call this menu in header. I searched around but did not find out the way to do this. Also it tried to do this by static block and added html to it. But i need to make it manageable from Menu Management of admin panel. Can anyone suggest me the way.
Edit:
The code i tried by using static block is
<?php echo $block->getLayout()->createBlock('Magento\Cms\Block\Block')->setBlockId('megamenu-horizontal')->toHtml();?>
But in static block i can manage it by adding html code but i want it manageable from Menus Management.
This button would be 'share' and placed at the article editor just like we have buttons like 'save','edit' etc
I facing a problem understanding joomla code structure and which file I need to make changes so as to add this button. Should it be administrator/layout/editor/ ?
There is a free plugin that can help you share your contents in social network. have a look http://extensions.joomla.org/extensions/extension/social-web/social-comments/social-comments-and-sharing-for-joomla .
Also there are several other plugins that may suit your requirements then to hack the core files http://extensions.joomla.org/extensions/extension?searchall=share+button
if you want to develop your custom editor button then you can check this link
Add Custom Button to Joomla's Article Editor (TinyMCE)
Here's what I'm trying to do:
In Joomla 3.1, I'm using the K2 component to build a full content-driven news website.
All is well, but I just don't like the K2 Login module, and therein lies the rub. That module automatically generates two key links:
• Add Item
• My Page
I want to unpublish the login module and add both of these links to a standard Joomla menu. It's easy to add the "add item" link because it's essentially static.
But the "My Page" link is dynamic. I've found the PHP code that generates it:
<?php echo JText::_('My Page'); ?>
But I don't know how to make a plain old Joomla menu item -- as in, one that I add through the menu manager -- to generate that code.
Note: It's important that I be able to use the Joomla menu structure because I'm also using Joomla's access control to hide or show these buttons. Meaning, I've added a "contributor" usergroup, and I only want them to see these links.
Any bright ideas would be much appreciated! Thank you!
You should go to the template you are currently using, in their you create a html folder.
In that folder you create a mod_menu folder.
Than you got your Joomla root > modules > mod_menu.
And copy files which are inside and drop them in the html > mod_menu folder.
Now you can edit the mod_menu to your favors with a rewrite.
http://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core
Hope this helps you.
I'm using Magento WordPress Integration I'm wondering how to add fishpig "blog" link to main navigation in magento ? Currently it's only adding a link to my top header navigation.
Thanks
The above answer correctly shows how to add a link to your toplinks, however this is included in the extension by default. If you want to do this, you can enable/disable this from the extension's configuration area.
If you are referring to the Topmenu (the Category menu), it is now possible to create a custom Menu in the WordPress Admin and have this automatically added to your Magento Topmenu.
To do this, create a menu in WordPress. If you only want a single link to your blog, create a menu with this just this link in. Next, login to the Magento Admin and go to the configuration area for WordPress Integration. Under the fieldset labelled 'Menu', you can enable menu integration and select your newly created menu.
This will only work if your theme uses the Magento Topmenu block, which is the default menu block for Magento 1.7. Some custom themes use a custom menu extension for this menu and it is highly unlikely that this custom extension will call the necessary event.
As always, ensure you are using the latest version of WordPress Integration as this feature is quite new and has only recently been added.
Is it possible to use a different navigation menu on some cms pages in magento?
And how to do this?
If you are a developer you can create (duplicating the which one is in use) one theme that does not show top menu but show your custom menu.
Then when you create a new CMS page in the tab design you can choose your new theme for that specific CMS page.