Magento:- Add Grid in Admin Form - magento

Iam generating a form in Magento Adminhtml.
I have two list boxes Category and SubCategory which are populated cascadingly.
Now after click or change event of subcategory list i want to display magento grid(grid with paging filtering) JUST below that subcategory list.
I dont know which block to use to show that grid.
Help appreciated.
-Thanks
Hemant

Try to look in Mage files , magento already using grid into form,
look in this file : core/Mage/Adminhtml/Block/Catalog/Category/Tap/Product.php
Product.php is a grid , to check the result from back-office, check catalog->manage categories then click on category products tab

There are many tutorials on creating a grid.
Maybe this one will help?
http://www.webspeaks.in/2010/08/create-admin-backend-module-in-magento.html

Related

How can i get the url of the filterable attribute in layered navigation?

As we know the filterable attributes on the layered navigation has certain url that magento creates on click which filters the product list.
Let me explain my issue by giving an example. Let's say i have an attribute city which is filterable.Now the city attribute has options like "melbourne","sydney",etc.When I click on melbourne it redirects to url like
http://Your_Base_Url/Category/filter/city/melbourne.html
Same way if there are multiple attributes Magento manages the url like that.So what I want is i have a seperate dropdown where there is listed all the options for city when i click that i have to filter the products of that category.
So I am thinking if i can generate the url same as magento creates for the layered navigation i could get my work done.
So i was hoping if someone could help me on this.I have tried to trace how the layered navigation is working but i couldn't implement that way of generating urls in my case.So any help on this is appreciable.
Regards,
aton

Magento Category - add picture

I've got magento template. I have tried adding a custom block to the RHS of the Catalog, eg:
Catalog
|-Applications
- Applications List 1 Column, Apps2 column, Custom Block
I can create App columns and list under all sub menus, but when i'm trying to add Custom Block (pic in this case), to right or left then the Picture shifts the Apps columns :/
See the screenshots.
thank you!
http://s6.postimg.org/5grafpoip/screenshot.jpg
You can use code given in following link.
https://magento.stackexchange.com/questions/8463/how-to-get-category-thumbnails-in-navbar-menus
It uses observer to add category thumbnail in navigation menu.

Display set of user chosen categories on magento home page

I am trying to display categories on magento home page. I know how to do it in a normal way using magento collections. I want to have it like a widget, if you insert a category link widget in static block or cms page, you can see the following:
{{widget type="catalog/category_widget_link" template="catalog/category/widget/link/link_block.phtml" id_path="category/3"}}
Now, here the id_path indicates which category to display. Can we modify it somehow to show a list of specified categories. For example like this: id_path = '3,4,5,6' so it will display all these specified categories. Can anybody guide me a way to do this? I don't know much about widget coding stuff in magento.
You can add as many as widgets inside the static block by selecting the widget as many as times you want.

Display product in list using widgets in magento

I am working on magento home page and need display products on home page. I have used widgets to display products. I want to display product in list one by one but it shows in grid. Right now I am showing the products in list.
my code is :-
{{widget type="highlight/product_popular" title="special" products_count="3" template="highlight/product/grid.phtml" class_name="highlight-popular"}}
Using this code the product is shown in grid but actually I want to display it in list like:-
1. Product1
2. product2
Please, suggest how I can do this.
whatever you are putting in your grid.phtml - change it as suggested in
base/default/template/catalog/product/list.phtml as per list mode, code followed by it

Combine list.phtml & view.phtml together

Hello all i need to display product detail page right under category page so as you click on the category image it will display the same product details right under the same page.Also when user clicks on any category it comes with all products & with details of first item in list. Is it possible in magento & if yes then how can i do it. I am new in magento but it seems to me a great framework to work with. Please help me Thanks
To show product detail page on category page you have to make ajax request and get the whole detail and insert into div located at bottom of category page.
Follow this link
Magento - AJAX Call Product Page Elements to Category Page. Select Box Not Populated

Resources