I am integrating blog(wordpress) into our magento site. I am at the point to update handler in the blog.xml file. I want to display in sidebar only the blog menu but not other menus that are by default in the right sidebar. I know i can remove the right sidebar all together but then there is not sidebar to attach my blog menu.
How to do this - add single menu and remove rest of the menues in the sidebar?
Thank you,
Margots
Hy,
you can use unsetChild to remove content from any bar you like, and append to add
any block you want.
See here how to use:
Magento Layout Files Reference
Or remove the complete sidebar and set your block you want to show in your sidebar with as="right"
in your layout update xml.
Z
Related
How to add "Add to wishlist" button next to Add to Cart like the one in the picture?
By turning template path hints you can see the respective template file for these buttons, which is addto.phtml in your theme pakg / theme
You will see 2 button there, see classes used for those button. Find that classes in appropriate css file in your theme pakg/ theme. There might be clear property in li tag which you could remove and try.
i bought one theme and i want to fix my layared navigation to work well.
I need help from which file i have to edit to fix my layered navigation to show after my menu.
First you should find correct template file,then override the template within your theme, then finally rearrange the code so that it displays beneath the vertical navigation. The following may (possibly) work for you. But I don't know what type of theme you are using.
go to your magento backend url, then go to system->configuration->developer then open the debug panel.
Change the current configuration scope to 'Main Website'. Upper left corner of config page.
This should add some items to the debug panel. Set template path hints to 'yes'.
go back to the website and find the phtml file that controls your nav.
copy the file into the theme your using using the same folder structure.
edit that code.
PS another solution may be available to alter the layout files of your site. they get overridden in a similar fashion to phtml files.
I am don't know joomla, but familiar with wordpress & PHP & wants to change some links in my clients existing project.
I have a menu which is a link like http://www.smarti.com.sa/index.php?option=com_content&view=article&id=6&Itemid=107 while calling it from top navigation menu.
developer has taken same link in footer but it redirects to
http://www.smarti.com.sa/index.php?option=com_content&view=article&id=6
Now i want ItemID in footer link also.
My Site URL is http://www.smarti.com.sa/
In that please Products > Microsoft.
Please give solution
As per your post, Your menu link for now is : http://www.smarti.com.sa/index.php?option=com_content&view=article&id=6 .
But, you want to use this like : http://www.smarti.com.sa/index.php/your_menu_name.
You can use aliases of menu links.
You can find aliases here, When you create/edit a menu link from backend of joomla you can see an alias associated with it. You can also find Aliases of menu link from grid screen of you menu type.
For showing Menu in front end you have to create CUSTOM HTML module, You can find how to create Custom HTML module here : http://vinaora.com/2012/09/how-to-add-custom-html-to-your-joomla-site-2/
Now, How can you find HTML to write in thst Custom HTML Module? So, for this you can go the page of front-end where that menu is visible. Now prss CTRL+U, you will see the HTML of that page. Here, you have to find the HTML of those menus.
In this HTML, you will find the links like : index.php?option=com_content&view=article&id=6
Now, you have to replace these links with index.php/alias_of_your_menu.
Now paste the edited HTML in Custom HTML module and save it by selecting a proper Position.
You can use joomla menu module in the footer.
Joomla also has the option to display second level menu items in a menu module.
To do this:
Set the Start Level to "1" and the End Level to "1".
That's all. Good Luck.
Just want change the layout of the login page same as other pages, I want to remove the left sidebar bar and show the main menu, few images and text. You can see the current layout.
Visit http://www.egovtsolutions.net/index.php/component/users/?view=login
You can make the menu module display on all pages rather than on selected pages...then the menu will be displayed on all pages.
You have to choose display option from that module. If you want to enable some modules in that position just check the menus names from that module.
If you don't want any module in login page just unselect all modules from that page. Then only you have better look for login prompt as your wish.
Try this....
I dont know which version of joomla are you working on. But this link covers from joomla 1.5 to 1.7.
You should try to give the "extra2" or "position-29" to your log in module.
The key is just the position you are assigning.
I tried adding some pages in joomla but the navigation on the left disappears when following the newly add link. Please have a look here and notice the left navigation bar not showing under the "Test Menu Item" (left bottom).
I have literally copied all parameters from another menu item (e.g. "MILIEU") but it doesnt seem to affect the behavior. In stead the "news archive" item is always listed in the left navigation area.
How to remove the news archive link and have the normal navigation shown?
Please help!
Joomla 1.5.25
Check the menu assignment of the module you want to show when a menu item is selected. Check this: http://www.byte.nl/cms/images/joomlatemplatecursus/jt15_5/menu-assignment.jpg