step by-step guide for magento module development. Hire dedicated magento 2 developers from mageguru with 5+ years experience, starting at just $18/hr to render highly robust, scalable and high-performance magento 2 compliment your business requisites.
How to create a joomla component from scratchTim Plummer
In this presentation, Tim Plummer shows you how you can create your own Joomla component by forking Hello World, then adding some improvements to make it more like a typical third party Joomla extension. Files and code used in this presentation will be available for download.
How to create a joomla component from scratchTim Plummer
In this presentation, Tim Plummer shows you how you can create your own Joomla component by forking Hello World, then adding some improvements to make it more like a typical third party Joomla extension. Files and code used in this presentation will be available for download.
PHP scripting and MySQL database are one of the worlds most popular open source techniques used to develop websites. Add an advantage of a MVC framework to it and you can develop powerful, dynamic and easy to maintain database driven websites. PHP, MySQL and CakePHP are also platform independent i.e. You can easily port a website developed on a windows machine to a Linux based apache web server with minimal to no changes. The CakePHP MVC architect also adds some additional security against threats like SQL injections, hacking etc.
JSP (Java Server Pages) Lecture # 9
Java Server Faces the best Alternative of C# and Easy to make your own Application (Desktop applications) or web applications
Magento is a complex and flexible eCommerce platform rich in features and community. We will go over common best practices and toolsets, introduce popular community resources, and take a quick dive into setting up a Magento site to illustrate the effort required to get a project off the ground.
In this presentation Mathew Beane will briefly discuss the following topics:
Best Practices: Keeping core clean, how to modify Magento the right way.
Common Toolsets: Zend Studio, Z-Ray, n98-magerun and other common tools.
Community Resources: How to join the Magento Community
Certification: How to get Magento Certified
Setting up a Magento site: Covering the basic design and development choices.
- See more at: http://www.zendcon.com/session#node-91
Introduction to Magento 2 module development - PHP Antwerp Meetup 2017Joke Puts
This presentation was given at a PHP Antwerp Meetup: https://www.meetup.com/phpantwerp/events/237632633/
Magento 2 is a commerce platform released since November 2015. In this introduction I’ll focus on the open source version, Magento Community and show you how easy it is to start creating modules for this platform. These modules can be used to customize your store or to publish on the Magento Marketplace.
12 Amazing Features of Magento 2
1 Backup / Rollback System in Magento 2
2 Upgrading in Magento 2
3 Maintenance Mode and Restricting IP Addresses
4 Three Modes in Magento 2 Developer, Production and Default
5 Module Installation and Management
6 PSR Compliance
7 Performance
8 Magento 2 Admin Backend UI
9 Theme Developer's Delight : Blank Theme
10 Migration Tool
11 Scalability
12 Last but not the least: The Magento 2 Testing Framework
For more Updates on Magento 2, visit us @
http://schogini.biz/magento/
Techgig Webinar: Joomla Introduction and Module Development June 2012Vishwash Gaur
As you gain experience with procedural coding in PHP, you notice that there are tasks which are performed in a routine fashion and a lot of code which can be simply reused. What if you can save your time on these points using some of the existing PHP development frameworks and/or content management systems which allows MVC architecture and object oriented programming concepts to follow at ease for you?
In this beginner webinar on the topic, I would cover a quick introduction of content management system with focus on PHP based content management system “Joomla”. Joomla is considered as dynamic portal engine and content management system, and allows you to develop variety of systems from website, ecommerce store to a complex social network with the help of pre-built features i.e. caching, content management, web services, templates, and more.
The real power of Joomla lies in the scalability which can be achieved with the use of custom extensions which include templates, language files, plugins, modules and components. This webinar would further cover quick hands on workshop to download and setup Joomla on a demo server, and developing a simple module and component for Joomla version 2.5.
This webinar covers:
What is the basic database structure difference between Joomla 1.5 and Joomla 2.5 versions?
I was able to create and load modules easily in Joomla 1.5 but I can't do the same in Joomla 2.5?
Are too many modules a problem for the Joomla site?
Does the extension be compulsory an open source code?
Do I really need to switch to Joomla 2.5 from Joomla 1.5 and why?
How can I get more information on Joomla extension development?
Can I use Jquery framework in the extension development while Joomla uses MooTools JS framework?
PHP scripting and MySQL database are one of the worlds most popular open source techniques used to develop websites. Add an advantage of a MVC framework to it and you can develop powerful, dynamic and easy to maintain database driven websites. PHP, MySQL and CakePHP are also platform independent i.e. You can easily port a website developed on a windows machine to a Linux based apache web server with minimal to no changes. The CakePHP MVC architect also adds some additional security against threats like SQL injections, hacking etc.
JSP (Java Server Pages) Lecture # 9
Java Server Faces the best Alternative of C# and Easy to make your own Application (Desktop applications) or web applications
Magento is a complex and flexible eCommerce platform rich in features and community. We will go over common best practices and toolsets, introduce popular community resources, and take a quick dive into setting up a Magento site to illustrate the effort required to get a project off the ground.
In this presentation Mathew Beane will briefly discuss the following topics:
Best Practices: Keeping core clean, how to modify Magento the right way.
Common Toolsets: Zend Studio, Z-Ray, n98-magerun and other common tools.
Community Resources: How to join the Magento Community
Certification: How to get Magento Certified
Setting up a Magento site: Covering the basic design and development choices.
- See more at: http://www.zendcon.com/session#node-91
Introduction to Magento 2 module development - PHP Antwerp Meetup 2017Joke Puts
This presentation was given at a PHP Antwerp Meetup: https://www.meetup.com/phpantwerp/events/237632633/
Magento 2 is a commerce platform released since November 2015. In this introduction I’ll focus on the open source version, Magento Community and show you how easy it is to start creating modules for this platform. These modules can be used to customize your store or to publish on the Magento Marketplace.
12 Amazing Features of Magento 2
1 Backup / Rollback System in Magento 2
2 Upgrading in Magento 2
3 Maintenance Mode and Restricting IP Addresses
4 Three Modes in Magento 2 Developer, Production and Default
5 Module Installation and Management
6 PSR Compliance
7 Performance
8 Magento 2 Admin Backend UI
9 Theme Developer's Delight : Blank Theme
10 Migration Tool
11 Scalability
12 Last but not the least: The Magento 2 Testing Framework
For more Updates on Magento 2, visit us @
http://schogini.biz/magento/
Techgig Webinar: Joomla Introduction and Module Development June 2012Vishwash Gaur
As you gain experience with procedural coding in PHP, you notice that there are tasks which are performed in a routine fashion and a lot of code which can be simply reused. What if you can save your time on these points using some of the existing PHP development frameworks and/or content management systems which allows MVC architecture and object oriented programming concepts to follow at ease for you?
In this beginner webinar on the topic, I would cover a quick introduction of content management system with focus on PHP based content management system “Joomla”. Joomla is considered as dynamic portal engine and content management system, and allows you to develop variety of systems from website, ecommerce store to a complex social network with the help of pre-built features i.e. caching, content management, web services, templates, and more.
The real power of Joomla lies in the scalability which can be achieved with the use of custom extensions which include templates, language files, plugins, modules and components. This webinar would further cover quick hands on workshop to download and setup Joomla on a demo server, and developing a simple module and component for Joomla version 2.5.
This webinar covers:
What is the basic database structure difference between Joomla 1.5 and Joomla 2.5 versions?
I was able to create and load modules easily in Joomla 1.5 but I can't do the same in Joomla 2.5?
Are too many modules a problem for the Joomla site?
Does the extension be compulsory an open source code?
Do I really need to switch to Joomla 2.5 from Joomla 1.5 and why?
How can I get more information on Joomla extension development?
Can I use Jquery framework in the extension development while Joomla uses MooTools JS framework?
A lot of companies use the Magento 1 platform to power their eCommerce needs. So when they set out to build a major new version, the Magento team had significant pressure to deliver a modern, well-designed PHP-based system. This include a new architecture and a new database model.
In other versions of Magento (1.9) we were able to upgrade core files and with a few lines of code we were able to upgrade modules and admin accesses.
The migration process to Magento 2 it’s a complex process that includes migration of database data and migration of modules.
I want share mi experience to know what is the better way and tools to arrive our goal.
Presentation for EAAA ITDays October 2012.
Introducing the Magento eCommerce platform on conceptual level and the practical level, taking both administration and development into consideration.
Create Basic module in magento2| Tuitorial hello world Magento2eGlobe IT Solutions
Learn how to create basic module in Magento2. A step-by-step tutorial to learn create helloworld module in Magento2.Learn magento easily from eGlobe IT Solutions.
How to Develop Your First Ever Joomla Template?damienwoods
Sometimes creating a template gives you the freedom of customizing it. You can position the header, footer and other aspects of the template as and where you want to. Follow these steps to create your template, and then change the positions of the different elements as per your need. Hire Joomla developer to give your template the aesthetic purview
Similar to Mageguru - magento custom module development (20)
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns
Unlocking Business Potential: Tailored Technology Solutions by Prosigns
Discover how Prosigns, a leading technology solutions provider, partners with businesses to drive innovation and success. Our presentation showcases our comprehensive range of services, including custom software development, web and mobile app development, AI & ML solutions, blockchain integration, DevOps services, and Microsoft Dynamics 365 support.
Custom Software Development: Prosigns specializes in creating bespoke software solutions that cater to your unique business needs. Our team of experts works closely with you to understand your requirements and deliver tailor-made software that enhances efficiency and drives growth.
Web and Mobile App Development: From responsive websites to intuitive mobile applications, Prosigns develops cutting-edge solutions that engage users and deliver seamless experiences across devices.
AI & ML Solutions: Harnessing the power of Artificial Intelligence and Machine Learning, Prosigns provides smart solutions that automate processes, provide valuable insights, and drive informed decision-making.
Blockchain Integration: Prosigns offers comprehensive blockchain solutions, including development, integration, and consulting services, enabling businesses to leverage blockchain technology for enhanced security, transparency, and efficiency.
DevOps Services: Prosigns' DevOps services streamline development and operations processes, ensuring faster and more reliable software delivery through automation and continuous integration.
Microsoft Dynamics 365 Support: Prosigns provides comprehensive support and maintenance services for Microsoft Dynamics 365, ensuring your system is always up-to-date, secure, and running smoothly.
Learn how our collaborative approach and dedication to excellence help businesses achieve their goals and stay ahead in today's digital landscape. From concept to deployment, Prosigns is your trusted partner for transforming ideas into reality and unlocking the full potential of your business.
Join us on a journey of innovation and growth. Let's partner for success with Prosigns.
Large Language Models and the End of ProgrammingMatt Welsh
Talk by Matt Welsh at Craft Conference 2024 on the impact that Large Language Models will have on the future of software development. In this talk, I discuss the ways in which LLMs will impact the software industry, from replacing human software developers with AI, to replacing conventional software with models that perform reasoning, computation, and problem-solving.
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Shahin Sheidaei
Games are powerful teaching tools, fostering hands-on engagement and fun. But they require careful consideration to succeed. Join me to explore factors in running and selecting games, ensuring they serve as effective teaching tools. Learn to maintain focus on learning objectives while playing, and how to measure the ROI of gaming in education. Discover strategies for pitching gaming to leadership. This session offers insights, tips, and examples for coaches, team leads, and enterprise leaders seeking to teach from simple to complex concepts.
Code reviews are vital for ensuring good code quality. They serve as one of our last lines of defense against bugs and subpar code reaching production.
Yet, they often turn into annoying tasks riddled with frustration, hostility, unclear feedback and lack of standards. How can we improve this crucial process?
In this session we will cover:
- The Art of Effective Code Reviews
- Streamlining the Review Process
- Elevating Reviews with Automated Tools
By the end of this presentation, you'll have the knowledge on how to organize and improve your code review proces
Experience our free, in-depth three-part Tendenci Platform Corporate Membership Management workshop series! In Session 1 on May 14th, 2024, we began with an Introduction and Setup, mastering the configuration of your Corporate Membership Module settings to establish membership types, applications, and more. Then, on May 16th, 2024, in Session 2, we focused on binding individual members to a Corporate Membership and Corporate Reps, teaching you how to add individual members and assign Corporate Representatives to manage dues, renewals, and associated members. Finally, on May 28th, 2024, in Session 3, we covered questions and concerns, addressing any queries or issues you may have.
For more Tendenci AMS events, check out www.tendenci.com/events
Globus Connect Server Deep Dive - GlobusWorld 2024Globus
We explore the Globus Connect Server (GCS) architecture and experiment with advanced configuration options and use cases. This content is targeted at system administrators who are familiar with GCS and currently operate—or are planning to operate—broader deployments at their institution.
Check out the webinar slides to learn more about how XfilesPro transforms Salesforce document management by leveraging its world-class applications. For more details, please connect with sales@xfilespro.com
If you want to watch the on-demand webinar, please click here: https://www.xfilespro.com/webinars/salesforce-document-management-2-0-smarter-faster-better/
Unleash Unlimited Potential with One-Time Purchase
BoxLang is more than just a language; it's a community. By choosing a Visionary License, you're not just investing in your success, you're actively contributing to the ongoing development and support of BoxLang.
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar
The European Union Agency for Law Enforcement Cooperation (Europol) has suffered an alleged data breach after a notorious threat actor claimed to have exfiltrated data from its systems. Infamous data leaker IntelBroker posted on the even more infamous BreachForums hacking forum, saying that Europol suffered a data breach this month.
The alleged breach affected Europol agencies CCSE, EC3, Europol Platform for Experts, Law Enforcement Forum, and SIRIUS. Infiltration of these entities can disrupt ongoing investigations and compromise sensitive intelligence shared among international law enforcement agencies.
However, this is neither the first nor the last activity of IntekBroker. We have compiled for you what happened in the last few days. To track such hacker activities on dark web sources like hacker forums, private Telegram channels, and other hidden platforms where cyber threats often originate, you can check SOCRadar’s Dark Web News.
Stay Informed on Threat Actors’ Activity on the Dark Web with SOCRadar!
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Globus
Large Language Models (LLMs) are currently the center of attention in the tech world, particularly for their potential to advance research. In this presentation, we'll explore a straightforward and effective method for quickly initiating inference runs on supercomputers using the vLLM tool with Globus Compute, specifically on the Polaris system at ALCF. We'll begin by briefly discussing the popularity and applications of LLMs in various fields. Following this, we will introduce the vLLM tool, and explain how it integrates with Globus Compute to efficiently manage LLM operations on Polaris. Attendees will learn the practical aspects of setting up and remotely triggering LLMs from local machines, focusing on ease of use and efficiency. This talk is ideal for researchers and practitioners looking to leverage the power of LLMs in their work, offering a clear guide to harnessing supercomputing resources for quick and effective LLM inference.
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Globus
The U.S. Geological Survey (USGS) has made substantial investments in meeting evolving scientific, technical, and policy driven demands on storing, managing, and delivering data. As these demands continue to grow in complexity and scale, the USGS must continue to explore innovative solutions to improve its management, curation, sharing, delivering, and preservation approaches for large-scale research data. Supporting these needs, the USGS has partnered with the University of Chicago-Globus to research and develop advanced repository components and workflows leveraging its current investment in Globus. The primary outcome of this partnership includes the development of a prototype enterprise repository, driven by USGS Data Release requirements, through exploration and implementation of the entire suite of the Globus platform offerings, including Globus Flow, Globus Auth, Globus Transfer, and Globus Search. This presentation will provide insights into this research partnership, introduce the unique requirements and challenges being addressed and provide relevant project progress.
First Steps with Globus Compute Multi-User EndpointsGlobus
In this presentation we will share our experiences around getting started with the Globus Compute multi-user endpoint. Working with the Pharmacology group at the University of Auckland, we have previously written an application using Globus Compute that can offload computationally expensive steps in the researcher's workflows, which they wish to manage from their familiar Windows environments, onto the NeSI (New Zealand eScience Infrastructure) cluster. Some of the challenges we have encountered were that each researcher had to set up and manage their own single-user globus compute endpoint and that the workloads had varying resource requirements (CPUs, memory and wall time) between different runs. We hope that the multi-user endpoint will help to address these challenges and share an update on our progress here.
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Mind IT Systems
Healthcare providers often struggle with the complexities of chronic conditions and remote patient monitoring, as each patient requires personalized care and ongoing monitoring. Off-the-shelf solutions may not meet these diverse needs, leading to inefficiencies and gaps in care. It’s here, custom healthcare software offers a tailored solution, ensuring improved care and effectiveness.
Listen to the keynote address and hear about the latest developments from Rachana Ananthakrishnan and Ian Foster who review the updates to the Globus Platform and Service, and the relevance of Globus to the scientific community as an automation platform to accelerate scientific discovery.
Enterprise Resource Planning System includes various modules that reduce any business's workload. Additionally, it organizes the workflows, which drives towards enhancing productivity. Here are a detailed explanation of the ERP modules. Going through the points will help you understand how the software is changing the work dynamics.
To know more details here: https://blogs.nyggs.com/nyggs/enterprise-resource-planning-erp-system-modules/
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamtakuyayamamoto1800
In this slide, we show the simulation example and the way to compile this solver.
In this solver, the Helmholtz equation can be solved by helmholtzFoam. Also, the Helmholtz equation with uniformly dispersed bubbles can be simulated by helmholtzBubbleFoam.
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...informapgpstrackings
Keep tabs on your field staff effortlessly with Informap Technology Centre LLC. Real-time tracking, task assignment, and smart features for efficient management. Request a live demo today!
For more details, visit us : https://informapuae.com/field-staff-tracking/
3. Magento is leading the Ecommerce realm and one of the core reasons behind it
is the vast community of Magento Developers. Magento community edition is
released with all the basic required features to set up a working e-commerce
store for any business.
But, what if you want to build your own custom module or extension in
magento? What are the basic necessary steps to be followed by the developer
to create a working magento module, both on the front end area as well as in
the admin area?
In this article, step by step, we are going to create our first custom module in
magento. Here I assume that, you have already completed the installation of
the magento, caching and compilation is turned off and have basic knowledge
of the magento module’s directory structure and file system.
4. Before we start with the actual magento module development, let’s have a bird’s
eye view on typical magento directory structure:
– webroot [magento project root directory]
– app [contains code pools, design, configuration, localization and Mage.php
files]
– code [contains the code files]
– community [third party modules]
– core [magento core modules]
– local [local modules]
– design [contains modules templates and layout files]
– adminhtml [contains the templates and layout of admin area]
– frontend [contains the templates and layout of front area]
– install [contains installation files]
5. – etc [contains the system and modules configuration files]
– local.xml
– config.xml
– modules [module configuration files]
– locale [contains the localization files]
– Mage.php [main entry point of magento framework]
– js [javascript library files]
– lib [external libraries include varien, zend framework, etc.]
– media [contains product, cms images, etc]
– skin [contains the css and js file based on the theme]
– var [contains the system generated directories like cache, report, sessions etc]
– cron.sh [cron to make task automatically]
– index.php [main entry point for php application]
6. Like several other popular PHP frameworks, magento also follows the MVC [Model
View Controller pattern] structure for handling the requests that are coming inwards.
But the major point which segregates it from others is the module configuration and
request handling using the layout and config xml files.
Here I am going to create a simple HelloWorld module with simple page on front
side and menu and page in admin side too; so folks, lets get started.
The first question that comes to our mind is where to put our modules’ directories
and files – we have three choices: a) in the community directory b) in the core
directory c) in the local directory, all three are located under the app directory. In
magento these are called code pools.
Let’s have a quick overview of the code pools,
•Core – The core directory contains the core modules which come with magento
community edition release. My advice is to never make direct changes into any of
the files in this directory, because when it’s time to upgrade magento to a newer
version, all the changes you made will disappear.
7. • Community – The community code pool contains the modules from third party
developers either downloaded from the magento connect store or installed
manually. You should place modules code in this directory if you are planning to
upload the module to magento connect store.
• Local – We put all our projects’ specific modules into the local directory, create
one if it is not already present in the code directory.
So, for our HelloWorld module I am going to create files and directories under the
local code pool. You can use the community code pool too for this purpose. But
before that, let’s see which are the major components of a simple magento
module development.
Magento module comprises of the following parts:
8.
9. • Block – Block files are used to fetch the data and display it on the template files.
• Model – The model files contains the business logic
• Controllers – Controllers handles the incoming request and renders the pages
according to the routes defined in the layout files.
• Helper – Helper files, as the name suggest contains, the common code required
in the whole module like (validations, image processing, etc.).
• Etc – etc directory contains the module configuration files which are in xml
format. Basically there are two main files. config.xml and system.xml.
• Sql – sql directory contains the database query files which are in need for that
module.
With this a module in magento should also follow the standard Naming
Conventions, which is like Companyname_Modulename as in our case it will be
Multidots_HelloWorld.
So, let’s do it:
Step 1: Go to the app/etc/modules directory and create the
Multidots_HelloWorld.xml file and paste the below code in the file:
11. This XML file tells magento that our module is placed under local code pool and
it’s status is active.
You can verify the status of the module in magento admin panel from: System >>
Configuration.
From the left sidebar Under the Advanced section click on the Advanced tab, click
on Disable Modules Output section to expand it, search for the
Multidots_HelloWorld module.
If the module is not listed here, please check the Multidots_HelloWorld.xml file or
clear the cache from System >> Cache Management.
If there isn’t any problem, then you can see the module enabled; see the below
screenshot:
12.
13. Step 2: Now as our module is enabled on the magento site, next we will start
creating the required files and directories one by one.
Firstly, under the local code pool, you need to create the directory with name
Multidots, under that create directory HelloWorld.
It will be like /webroot/app/code/local/Multidots/HelloWorld
14. Step 3: Next we will create etc directory under the
app/code/local/Multidots/HelloWorld and create XML file with name config.xml under
the etc directory. This file will tell magento everything about the structure of our
module.
Put the below code in the config.xml file:
<?xml version="1.0"?>
<config>
<modules>
<Multidots_HelloWorld>
<version>0.1.0</version>
</Multidots_HelloWorld>
</modules>
<frontend>
<routers>
<helloworld>
<use>standard</use>
<args>
<module>Multidots_HelloWorld</module>
<frontName>helloworld</frontName>
</args>
</helloworld>
16. – Let’s understand the purpose behind each tag used in this file, <config>/config> is
main configuration tag which contains all other tags.
– Next one is <modules>/modules> tag, in which we have to put our module tag
which will be like <Companyname_ModuleName>/Companyname_ModuleName>
and the version of the module in the <version>/version> tag. the module
upgradation and versioning is managed on the value in this tag.
– Under the <frontend>/frontend> tag, there is one element <routers>/routers>, and
it contains the <helloworld>/helloworld> tag which identifies our module in the
magento system.
– <use>/use> will tell magento which router we are using, it can be standard, admin
or default.
– <args> tag contains the information about our module and the value in the
<frontName> tag will be used to access our module on frontend.
In our case it will be https://website.com/index.php/helloworld/
There is <admin> tag which also contains the same tags we have used in the
<frontend> tag, which is used for the admin configuration of our module.
17. Step 4 : Till now we have told magento about our module, now let’s do some action,
in this step we are going to create a controller file.
Head to /webroot/app/code/local/Multidots/HelloWorld/controllers directory.
18. -Create IndexController.php file in the controllers directory and put the below
code snippet in the file.
<?php
class Multidots_HelloWorld_IndexController extends
Mage_Core_Controller_Front_Action{
/**
* Index action
*
* @access public
* @return void
*/
public function indexAction() {
echo "Huhh...., I knew you can do it!!!n";
echo "Let's do it in proper way, you konow... ;) :D :P";
}
}
?>
19. -Now type the URL https://website.com/index.php/helloworld/ in your browser and
see the magic.
Very easy, wasn’t it �
Here we have created our controller file which inherits its code from the core
magento Class Mage_Core_Controller_Front_Action, it is the base front controller
file.
-By when we type the module name after the index.php in the browser it will call
the Index Action of the IndexController, that means
https://website.com/index.php/helloword/ is similar to
https://website.com/index.php/helloworld/index/index/.
-To be more confident let’s create another action. Add the below code after the
index action in the IndexController.php file.
20. /**
* Done it again
*
* @access public
* @return void
*/
public function doneintagainAction() {
echo "done it again....!!!!";
}
-Now, type the URL https://website.com/index.php/helloworld/index/doneintagain/,
we have created another action successfully. You can add as many action you
want in the controller file.
This is it for the frontend part, now let’s see how to create and access the admin
part of our module.
21. Step 5: I am sure you have noticed the below configuration portion in the config.xml
file we created in the Step 3 of this tutorial:
<admin>
<routers>
<helloworld>
<use>admin</use>
<args>
<module>Multidots_HelloWorld</module>
<frontName>admin_helloworld</frontName>
</args>
</helloworld>
</routers>
</admin>
-This portion in the config.xml file tells magento the name of the router we are going
to use in the admin side, which is described as
<frontName>admin_helloword</frontName>.
-Now, head to the path /webroot/app/code/local/Multidots/HelloWorld/controllers
and create the Adminhtml directory.
24. -The above XML part in the config.xml file is required for the admin part. The
configuration in the <global> tag will be available for both the frontend and the
admin panel.
-<helpers> tag specifies the path of the helper class in our module.
Step 6: Head to the path /webroot/app/code/local/Multidots/HelloWorld/. Create a
new Helper directory there, and in the Helper directory create Data.php file, in the
Data.php file add the below code:
<?php
class Multidots_HelloWorld_Helper_Data extends Mage_Core_Helper_Abstract {
}
The helper class is used to render the menu in the admin panel, which is generated
by the XML code in the tags <adminhtml> in the config.xml file
25. Step 7 : In the Adminhtml directory create IndexController.php file and put the below
code snippet in that file.
<?php
class Multidots_HelloWorld_Adminhtml_IndexController extends
Mage_Adminhtml_Controller_Action {
/**
* Admin controller index action
*
* @access public
* @return void
*/
public function indexAction() {
echo 'hello world in the admin side..!!!'. '';
}
}
-Here we have created a controller file which extends the core magento admin
Controller file and created an index action same as we had done in the front end
part.
26. Step 8: Now log into your admin panel on the main navigation bar. You will see the
new menu Helloworld:
click on the Hello World menu and you will see the message on your monitor
screen.
That’s it guys, you have done it �
It’s all simple and basic stuff relating to magento.
There is a lot to come ahead. Stay tuned till then.
27. Follow Us on Social Media
• https://plus.google.com/11731392778750
2991442
• https://www.facebook.com/MageGuru.co/
• https://twitter.com/mageguruco
• https://www.pinterest.com/mageguru/
• https://www.linkedin.com/company/mageg
uru/
• https://www.youtube.com/channel/UCIPw4
CAb47uqsA7nMfsJKgQ