different joomla contact categories on same page - joomla

how can i create a joomla override, to display 2 different contact categories on the same page?
like this
Category1-Heading
contact1 contact 2 ...
Category2-Heading
contact2 contact3...
when i make one into a subcategories, the contacts are shown only as links, that is not what i need, i just need 2 put different categories on one same page. I think i have to change some PHP in the com_contact. but i can't find which and how..
could anyone help please?

You will need to copy the files components/com_contact/views/categories/tmpl/default.php and components/com_contact/views/categories/tmpl/default_items.php to templates/your-template/html/com_contact/categories and then change the files there to adjust to your needs.
Note: Make sure that you create a menu item of type "List All Contact Categories" in order to display all the categories.

Related

Adding multiple items to special page

I have a quick how to question with Magento.
On my main site I need to have 7 links to special "categories" of items, but these don;t reflect categories of items. It is for a clothes shop so link may be to a summer wear page to only display items tagged as summer wear but from all types of item and categories.
What would the best way to go about creating this functionality?
I am assuming that when you say 'taged' you mean the product has a attribute set to 'summer'. In that case:
If you have products that you want to group together by attribute and list similar to a category page without being in a category, you could try using the Fishpig Splash Page extension:
http://fishpig.co.uk/attribute-splash-pages.html
This extensions allows product attributes to group products instead of categories.
I hope I understood your question correctly.
You can create categories for each of the 7 pages you mention, but hide them from the navigation in the category settings page.
you can then add your products to these categories as you see fit.
They will still be in their original categories too, but you can now link to the new pages and see them there too.
It seems like to me, you would just create the categories like normal. Because products can belong to many categories, you would just assign on a per-product basis which ones need to be in your categories.

Should Magento sitemap contain empty categories?

From SEO point of view, isn't it dangerous to give out a page without any practical value? If you advertise to have content for a particular category, but you actually don't, wouldn't that make the poeple who clicked on the link to just move along?
More importantly, would the empty category not make guys working at Google mark your website as spammy? Cause you have 100 categories in your sitemap, and only 10 actually contain products?
If you are not using them for content or other presentation you should hide/disable categories that are empty until you have products in them.

Magento:- Add Grid in Admin Form

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

Magento - Adding quantity box to upsell / related products

I have a question regarding Magento. I want to be able to add a quantity box to the products that show up in the 'related products' list that is shown on the product detail page. This way a visitor can order a related item multple times instead of only once per action. I have been looking for a solution for this for over 2 weeks, but I can't seem to find anything usefull. Can anyone help me out?
Thanks in advance!
Think you need to edit this template: your_package/your_theme/template/catalog/product/list/upsell.phtml. If you do not have that file already in your theme, simply copy it in your theme and package following the rest of the path.
There you can add you Qty input box and add Add to Cart button and change the URL to include the qty. You should bear in mind that you may have also configurable/bundle products displayed as an up-sell, so you should cover these too.

Magento; Display more products per page in one category

I have the site set to display 3 items per page and I would like to set only one category to display all items in one page. Any help would be appreciated. I tried the solution suggested in Product grid 4 columns and certain pages 5 column with two rows of full products, how? and it didn't work for me. Any help would be greatly appreciated.
Thanks,
Chesky
Each category has it's own handle. So for example for category with id 10 you will have
category_10
handle.
SO I suggest to write a specific handle and custom template or layout updates.
<category_10>
....<!-- Here you should specify template which will show all rpoducts or specify custome layout xml settings. -->
</category_10>

Resources