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 “Adding parameters to a Joomla 2.5 plugin” »
Very recently I am impressed by Markdown and in all my writing using Markdown. Thanks to Leanpub I am writing some of my books in Markdown and planning to write all my blog posts in Markdown too.
As a first step, I have installed WP-Markdown plugin for my wordpress blog and happily using that.
But I am a Joomla! guy and usually support my clients managing and building sites with Joomla!. I was searching an extension for Joomla! that can easily transform an article written in Markdown syntax to HTML. In JED, with keyword
markdown nothing returned what I was searching. So I decided to develop a plugin.
Great Google helped me finding PHP Markdown, it has two files – I downloaded PHP Markdown Extra 1.2.5. This file contains a readme and license text, and the main file
markdown.php. The file contains classes to transform markdown’d text into HTML using PHP. Based on this, I created a content plugin for Joomla! 2.5, and fololowing are the steps which you may use as a Tutorial. Continue reading “How to create a content plugin (Markdown) for Joomla! 2.5 in 10 minutes” »
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 “Check your Joomla! files” »
In the previous article we saw how to translate a site’s content using Google’s translation service. The full process is automated and the machine does the translation. However, machine translation is not always good and can sometimes be misleading. To avoid your content getting lost in translation, or in the absence of a translation service for a specific language, like Bengali, you may like to manually translate the site’s content.
In this article by Suhreed Sarkar, author of Joomla! 1.5 Top Extensions Cookbook, you will learn how to translate your site’s content manually into your desired language using the Joom!Fish extension. It allows you to translate the articles, modules, banners, menus, sections, categories, and so on into your desired language. It also shows a language selection module for visitors to choose a language from the site’s frontend. Many other components and modules can be translated by installing their respective content elements. Continue reading “Manually Translating Your Joomla! Site’s Content into Your Desired Language” »
This article focuses on using multiple languages on a Joomla!-based site. It shows you how to add a language, translate language files, translate a site’s content on the fly using Google’s translation service.
In this article by Suhreed Sarkar, author of Joomla! 1.5 Top Extensions Cookbook, we will cover:
- Adding a language to your site
- Translating language files for your site
- Translating your site’s content using Google’s translation service
It is very easy to identify a site built with Joomla!. Once you know that the site is built with Joomla!, you also know where is the administration area. Hackers may try to login to Joomla! administration area by typing its URL, such as http://www.yourdomain.com/administrator. Once the URL of administration area is known, the hackers only need to crack the administrative username and password. You may think about hardening security of your site adding some extra checks in this login system. In this recipe I am going to show you how you can add another security layer to Joomla! administration area. Continue reading “Protecting login into Joomla! administration area” »