Magento Development
Google Map Store Location
If you have a physical store and would like to let your customers know where it is located, this extension is exactly what you need. This extension is easy to configure and use.
After installation go to System -> Configuration -> Gmap Locations-> Configuration and add your Google Map API Key. You can get it here http://code.google.com/apis/maps/signup.html. Just change Front End Title to whatever you want, and extension is ready for use.
You can add as many locations as you want under admin menu CMS -> Gmap Locations
The locations on front end may be viewed at http://your_site.com/gmap-locations/
Allowed search functionality on front end;
Search functionality on front end (may be enabled or disabled);
From search results user can see directions to Store:
If you have ideas or ways to improve this extension we welcome your comments.
Enjoy it.
TESTED Magento 1.4.0, 1.3.0
Browsers: IE 8.0, FF 3.6, Safari 5.0, Chrome 0.3
Simple Forum Extension Magento
We are pleased to introduce the Simple Forum Module for Magento, a useful extension that allows you to create a forum in your Magento store. This extension is loaded with functions that should be included in a forum (see feature list below).
Admin:
- Manage Forums add, edit, delete, activate, deactivate;
- Manage Topics add, edit, delete, activate, deactivate;
- Manage Posts add, edit, delete, activate, deactivate;
- Forums Meta Data(Meat Description, Meta Keywords);
- Manage Moderators (create them from existing customers);
- Sitemap Generation;
- Notification settings about new Topics Posts;
- Design settings(page layout, top banner);
- Easy to manage front-end view;
- Configuration settings;
Frontend:
- Easy integrated with any theme;
- Search Forum – own search which shows searched results in Topic’s Posts;
- Logged customers could create or edit, delete own Topics and Posts;
- Forum, Topics, Posts have info about who made them and when (Date and Time);
- Who is online functions – shows quantity of logged customers or not logged visitors which browsing Forum, Topic;
- Statistic functions – shows total Posts, Topics, Forums, Active Customers;
- Jump to function – allow user faster navigate from one Forum (Topic) to another Forum (Topic);
- Bookmark Topics;
- My account Edit Delete My Topics, My Posts;
- Fast reply;
- Sort Topics, Posts by date created;
- RSS Feeds for Forum, Topics;
- Allowed for users add Posts with own Nicknames for Privacy;
- Sorting Forums by Priority;
- RE-CAPTURE;
- Notification settings for customers about new Posts;
Extension have Locale file (en_US) and could be translated on any language;
Your customers will love you for having this extension. It will help you to communicate and stay in touch with your customers allowing them to postt questions they may have about products, services etc. It can be used as a customer service line, customer support and adds a professional level to your customer service and cart.
If You have any suggestions, ideas or wish list about this extension or find a mistake all posts are welcome.
After installation forum can be viewed http://your_site.com/forum/
TESTED Magento 1.3.0, Magento 1.4.0
New link at bottom block Magento
Adding new link at bottom block.
The correct way to do this is to open the theme/layout/customer.xml file and then modify the section that shows customer links on all pages, to include a link in the home page and also a link to other customer service pages that you have deemed necessary, e.g. ‘returns’ (if you get a lot of those inquiries…).
But if you are writing in the extension you can also add code in the default section of your layout xml file, example:
<default>
<reference name="top.links">
<action method="addLink" translate="label title"
module="[your_module]"><label>[Your Label]</label><url>
[your_url]</url><title>[Your Title]</title>
<prepare>true</prepare><urlParams/>
<position>[position]</position>
</action>
</reference>
</default>
Instead of url in the xml file you can use the helper function which returns url, but then you should set the prepare to false:
<default>
<reference name="top.links">
<action method="addLink" translate="label title"
module="[your_module]"><label>[Your Label]</label>
<url helper=[your_helper] /><title>[Your Title]</title>
<prepare/><urlParams/>
<position>[position]</position>
</action>
</reference>
</default>
If the new item is first (or last), you can use css to change its style in style.css file .access .links li.first a or .access .links li.last a
Hello World Magento
Create hello world extension for magento.
All process could be diveded on six steps:
1. Create xml file for activate extension:
<?xml version="1.0"?>
<config>
<modules>
<Someextension_Helloworld>
<active>true</active>
<codePool>local</codePool>
</Someextension_Helloworld>
</modules>
</config>
Save file at: /app/etc/modules/Someextension_Helloworld.xml
2. Create xml – configuration file for extension:
<?xml version="1.0"?>
<config>
<modules>
<Someextension_Helloworld>
<version>0.1.0</version>
</Someextension_Helloworld>
</modules>
<frontend>
<routers>
<someextension_helloworld>
<use>standard</use>
<args>
<module>Someextension_Helloworld</module>
<frontName>someextension-helloworld</frontName>
</args>
</someextension_helloworld>
</routers>
<layout>
<updates>
<someextension_helloworld>
<file>helloworld.xml</file>
</someextension_helloworld>
</updates>
</layout>
</frontend>
<global>
<blocks>
<someextension_helloworld>
<class>Someextension_Helloworld_Block</class>
</someextension_helloworld>
</blocks>
</global>
</config>
Save file at: app/code/local/Someextension/Helloworld/etc/config.xml
In this file we define routers, configuration file for layout updates and class for Block files.
3. Create controller file:
<?php
class Someextension_Helloworld_IndexController
extends Mage_Core_Controller_Front_Action
{
public function indexAction()
{
//here could be code
//show layout
$this->loadLayout();
$this->renderLayout();
}
}
?>
Save file at: app/code/local/Someextension/Helloworld/controllers/IndexController.php
Actually, after this, we could see that extension is working http://www.yourdomain.com/index.php/someextension-helloworld, but its empty page. For complete extension we should create xml-configuration file for layout and template;
4. Create xml-configuration file for layout:
<?xml version="1.0"?>
<layout version="0.1.0">
<someextension_helloworld_index_index>
<reference name="root">
<action method="setTemplate">
<template>page/1column.phtml</template>
</action>
</reference>
<reference name="content">
<block type="someextension_helloworld/hello"
template="helloworld/index.phtml" />
</reference>
</someextension_helloworld_index_index>
</layout>
Save file at: app/design/frontend/default/default/layout/helloworld.xml
In this file we define “Block” file for template (Hello.php) and template which showed.
5. Create template:
As we code in previos file that template for layout is index.phtml, create it:
Save file at:app/design/frontend/default/default/template/helloworld/index.phtml
6. Create Block file to activate viewing template:
class Someextension_Helloworld_Block_Hello
extends Mage_Core_Block_Template
{
protected function _prepareLayout()
{
parent::_prepareLayout();
}
}
Save file at: app/code/local/Someextension/Helloworld/Block/Hello.php
That’s all.
Important: DO NOT FORGET DISABLE CACHE Admin->System->Cache Management
Recent Posts
- Update Simple Forum to Advanced
- Slide Image Gallery
- ExtJs themes – 4
- Google Custom search Engine Integration Into “AW_Blog community edition”
- Integration Gsearch Module into WIO Forum Extension.
- Google Custom search Engine Integration Into Magento store.
- Magento Google Custom Search Engine
- Full version of the Magento Forum
- Simple Forum Module Update 2
- Google Map Store Locations Update
















