Very recently I bought a Galaxy Trend Duos. I was. Trying to get screenshot of some apps. Went to Google play and found some apps for taking screenshot. However most are for rooted devices. Suddenly found that I can take screenshot by pressing power and home button simultaneously. You just stop press both button at a time and keep pushing until you hear a beep. That’s it. No need to install app. You can download and install Google Keep from Play Store.
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:
- How to create plugin files
- How to Install the plugin
- How to enable the plugin
- How to add functions to the plugin
- What are the events for content plugin
- How to package the content plugins Continue reading “Tutorial: Developing Joomla! Content Plugin” »
Every now and then go away, have a little relaxation, for when you come back to your work your judgment will be surer. Go some distance away because then the work appears smaller and more of it can be taken in at a glance and a lack of harmony and proportion is more readily seen. Continue reading “Relax” »
Earning money is many people’s only motto in life. I am not saying that it’s bad or it’s good – as everyone will agree without money we cannot live. To ensure our life’s little comforts we need money; for food, clothes, education, healthcare – we need money. Even for getting love of the beloveds you need money. So there is no way saying ‘I don’t need money’. Those who say so – either they are not saying the truth or are out the context and have already lost to understand the meaning of their words. Continue reading “How Can I earn money quickly?” »
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” »
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 “Just another component creator?” »
Recently I bought a Sony Bravia 32″ LCD TV. It supports connectivity to Internet over the wi-fi and ethernet cable. I was happy seeing its specifucations and it was written ‘internet ready’. Later I found the fine print – I have to buy a dongle from Sony to get the Wi-Fi working. The shop at Gulshan asked a price of BDT 10,000 for the dongle. It’s too much for me – $250 for a dongle! Continue reading “How did I connect my Sony BRAVIA to Internet without buying the dongle from Sony” »