Tag Archives: PHP

Adding parameters to a Joomla 2.5 plugin

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 Continue reading → Continue reading →

How to create a content plugin (Markdown) for Joomla! 2.5 in 10 minutes

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 Continue reading → Continue reading →

Tutorial: Developing Joomla! Content Plugin

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 Continue reading → Continue reading →

পিএইচপি স্ক্রিপ্ট লেখার নিয়ম

কোনো পিএইচপি স্ক্রিপ্টের মধ্যে একইসাথে HTML ও PHP কোড থাকতে পারে। এইচটিএমএল কোডকে আমরা সহজেই পৃথক করতে পারি। ব্রাউজার যখনই কোনো এইচটিএমএল কোড পাবে তখন সেটিকে নিয়মানুসারে প্রদর্শন করবে। কিন্তু PHP কোড ব্রাউজারের নিকট যায়না। ব্রাউজার কোনো PHP পেজ চাইলে ওয়েব সার্ভার যাচাই করে দেখে সেই পেজে কোনো পিএইচপি কোড আছে কি না। তারপর সেসব কোডের মাধ্যমে দেয়া নির্দেশ পালন করে তার আউটপুট ব্রাউজারের নিকট পাঠায়। সাধারণত এইটিএমএল কোডে সার্ভার কোনো পরিবর্তন করে না। কোনটি এইচটিএমএল কোড আর কোনটি পিএইচপি কোড তা বোঝার জন্য বিশেষ Continue reading → Continue reading →

Joomla! 1.5 Top Extensions for Using Languages

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 Continue reading →

Protecting login into Joomla! administration area

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 Continue reading → Continue reading →