So far we have created a very basic plugin that simply shows our predefined text in articles. You probably have noticed that while we were configuring the plugin there was no other parameters to configure, we have simply enabled the plugin. But many other plugins have many parameters to configure, and how we can have such parameters be added to our plugin? Yes, we are going to learn that now.
Let us modify the plugin so that instead of ‘Hello World’ we can show anything we want. We will specify our desired text through a parameter, and that text will be displayed in article. Continue reading →
As you know, content plugins for Joomla! mainly deals with content items. It searches the content items and performs some actions on the content. For example, when shubmitting an article, content plugin may check for valid markups and remove invalid markups. Similarly, when displaying the article, another content plugin may perform some activities to display the article in a special format. In this chapter, we will learn how to develop content plugins for Joomla!. In this chapter, you will learn:
Very recently one of my sites was hacked. Nothing dangerous, but the intruders just changed the index.php file. The main file was showing message that it was hacked! So I had to take it off and check each and every file for change. Luckicly found only two other files changed. The hackers injected code to those files and that code was showing the message on index page. That day I understood how difficult it is to find changed files. Continue reading →
Are you a Joomla! developer? If Yes, you know how repetitive copying and pasting it is. When you are developing a component following Model-View-Controller (MVC) design pattern, you need to do the same thing many times in Joomla!. Often you need to copy and paste the codes. While doing work on some components, I was tired doing this copy and paste, and was thinking how to avoid this. And fortunately found this component at Joomla! Extension Directory. It’s named Just Another Component Creator or JACC. Continue reading →
Adding a map to your site may be a necessity in some cases. For example, you want to show the population of countries, or you want to show a world map to your students for teaching geography. Flash maps are always interesting as you can interact with them and can view them as you like. amMap provides tools for showing Flash maps. The amMap tool is ported as a Joomla! component by yOpensource, and the component is released with the name YOS amMap. This component has two versions—free and commercial. The commercial or pro version has some advanced features that are not available in the free version.
The YOS amMap component, together with its module, allows you to display a map of the world, a region, or a country. You can choose the map to be displayed, which areas or countries are to be highlighted, and the way in which the viewers can control the map. Generally, maps displayed through the YOS amMap component can be zoomed, centered, or scrolled to left, right, top, or bottom. You can also specify a color in which a region or a country should be displayed. Continue reading →