Welcome to the new directory. If you find a bug, please report it on our Issue Tracker.

Arrow up
Arrow down

Joomla! Extensions Directory

logo

Introduction

DirectPHP - a plugin that allows direct embedding of PHP commands right inside Joomla content page!

  • Get this

Available for all Joomla versions: Joomla 1.0.x, native 1.5.x, 1.6.x, 1.7.x, 2.5.x and 3.0.x!

VIP: Don't forget to set the Filter Type to "No Filtering" so that you can enter PHP codes in a Joomla 1.6/1.7/2.5/3.0 articles.

Latest Update

v3.0 (for Joomla 3.0)
Released March 21, 2013

v2.5 (for Joomla 2.5)
Released January 25, 2012

v1.7 (for Joomla 1.7)
Released October 10, 2011

Native version of DirectPHP for Joomla 1.7!

Latest version: 1.6 (for Joomla 1.6)
Released Feb 21, 2011
Native version of DirectPHP for Joomla 1.6!

Latest version: 1.06 (for Joomla 1.0) and 1.56 (for Joomla 1.5).
Added one more parameter "Using No Editor". If you're not using any editor when editing content articles, select 'yes' for this parameter. This will allow you to freely use any HTML tags (such as or ).

Latest version: 1.05 (for Joomla 1.0) and 1.55 (for Joomla 1.5).
Main update: Thanks to Salvatore who informed me about some "mysterious" double-byte characters that get inserted into the DirectPHP code by the content editor of some of the non-English Joomla. These double-byte characters will cause error when processing the PHP commands with eval. Have fixed this in this version.

Latest version: 1.04 (for Joomla 1.0) and 1.54 (for Joomla 1.5).
Main update: now works with PHP4!

Background

Like many other PHP programmers who use Joomla, all I wanted is a simple wish: the ability to include PHP in Joomla content page.

I did some research. Looks like currently the best plugin out there with good user feedback is Jumi. I tried. It works. But something is still missing. The problem I have with Jumi is that it only allows you to call or include another .php file. It doesn't allow you to include PHP commands right inside the content page.

What this means is that to run some PHP commands, you have to put them in an intermediate PHP file. You have to have this intermediate file even if all you want is to display the current date and time with "echo date('Y-m-d H:i:s')"! Imagine having hundreds of dynamic content pages. The intermediate files accumulate more and more and become difficult to maintain.

This is the reason I developed DirectPHP - a plugin that allows direct embedding of PHP commands right inside Joomla content page!

Key Features

  • You can write direct PHP statements right inside the content page using the standard the standard php construct.

  • You can freely intermix static contents with php commands.

  • You can edit the php code right inside the default TinyMCE WYSIWYG Editor!

  • You can easily serve different contents for registered and non-registered members.

  • You can use 'include' or 'require' to load in your favorite PHP library and call any of the functions inside the library.

  • Ability to bloc


Fantastic product


Posted on 15 September 2014

Been using DirectPHP for so long, I can't remember why I haven't reviewed it till now. It has always worked excellently for my custom code needs. Used to use Jumi, but DirectPHP beats that hands down since you can type your PHP code into Joomla! articles directly. Difficulty level is minimal, instructions are clear and concise, and the steps do not take up to 5 minutes to get you started. I recommend!


Great extension


Posted on 06 August 2014

Great product. I use Joomla in a unique way and without being able to put PHP direct into the article I could not use Joomla. Thanks


I've used other php plugins such as Juni. They work but I always thought it would be nice just to type the php code into Joomla.



I needed to add some php code today and decided to do a quick search and came across this plugin. I was looking for the crazy brackets or special hash tags that it took to make it work and to my surprise there were none. Simply type the php code into you content, WITH YOUR FAVORITE EDITOR TURNED ON!


Great plugin


Posted on 20 February 2014

DirectPHP is turning into one of my most used plugins. This functionality should be part of core Joomla. Excellent.


Only for basic php


Posted on 05 January 2014

Is a good extension but I tried to connect to a remote database using php and it doesn't work (I tested the code outside joomla and it works), so I guess is not suitable for "more complicated" php. For some basic one it worked perfectly. Thanks!


Great!


Posted on 31 July 2013

This plugin was exactly what I was looking for!



Thank you!!


Perfect!


Posted on 29 March 2013

I was looking for a replacement for Sourcerer as the plugin kept showing up in Joomla's error log and it was quite expensive for the Pro version. After downloading this, enabling the plugin, I was able to add the PHP date field to Footer (as in Copyright 2013). It also lets you encode forms so you can have a newsletter signup form for say constant contact. Haven't tested it on JS (for google adsense) but I don't think it will be an issue.



Just be sure to insert your code by clicking the HTML editor button (in TinyMCE and JCE) and placing it there. Click save and Voila! Great plugin, great support, and it's free!


Fantastic! I had embedded PHP working in seconds without any need for configuration. Just remember to enable the plugin after upload / install.


Worked perfectly for my needs (using php date code inside a module). Plugin installed with no fuss. I enabled it and my php code worked instantly.


A real (life) time saver!


Posted on 03 August 2012

Just bought you a beer, mate! Really happy to have this valuable extension for free.



For anybody looking for a quick, easy and working solution to code php etc. directly into modules, content or anywhere else... you found it!



No fuss, no guessing, just plain working.

googleMaps by kksou

googleMaps by kksou

Free | Maps & Locations | kksou
2.5 3
Score:
98
42 reviews
This plugin allows you to include one or more google maps right inside your content item or article. This is a super light-weight plugin using less than 20K of codes. You can use this to easily add a map to your company address. Unique features: * uses Google Maps API V3 * You can embed more than one Google Maps within an article * Each Google Map can be of different size, zoom level, map control and map type * Support for kml files * Now works with IE! * With built-in geocoder! i.e. you can specify using standard address instead of longitude and latitude * Built-in street view! * Support for many native languages e.g. Italian, Russian, French * Supports all Joomla versions - 1.0, 1.5, 1.6, 1.7, 2.5 and 3.0! How to Use the googleMaps plugin How to use: http://www.kksou.com/php-gtk2/Joomla-Gadgets/googleMaps-plugin.php#howtouse Tutorials: http://www.kksou.com/php-gtk2/Joomla-Gadgets/googleMaps-plugin.php#tutorials GoogleMaps with Directions This plugin displays the map only. If you want to display the map + driving/walking directions, use the googleDirections plugin: http://extensions.joomla.org/extensions/maps-a-weather/maps-a-locations/map-directions/8487 Latest Version v3.0.21 - for Joomla 3.0 and above Released Feb 10, 2014 Support for Joomla 3.2.2 v1.0.20 (for Joomla 1.0), v1.5.20 (for Joomla 1.5), v1.6.20 (for Joomla 1.6), v1.7.20 (for Joomla 1.7), v2.5.20 (for Joomla 2.5), v3.0.20 (for Joomla 3.0) Released Apr 21, 2013 Support for Joomla 3.0! Changed onload() to addEvent('load') so that it works with some Joomla templates that also use onload(). v1.0.19 (for Joomla 1.0), v1.5.19 (for Joomla 1.5), v1.6.19 (for Joomla 1.6), v1.7.19 (for Joomla 1.7), v2.5.19 (for Joomla 2.5) Released Mar 24, 2012 Supports zoom and multiple InfoWindows with KML files! v1.0.18 (for Joomla 1.0), v1.5.18 (for Joomla 1.5), v1.6.18 (for Joomla 1.6), v1.7.18 (for Joomla 1.7), v2.5.18 (for Joomla 2.5) Released Feb 4, 2012 added support for Joomla 2.5 add flag w3c=1 => w3c compliant support for IE7! allow googleMaps to display in tabs now allow address to include ' (apostrophe) v2.5.17 (for Joomla 2.5) Released Jan 26, 2012 Native version of the googleMaps plugin for Joomla 2.5! v1.0.17 (for Joomla 1.0), v1.5.17 (for Joomla 1.5), v1.6.17 (for Joomla 1.6), v1.7.17 (for Joomla 1.7) Released Jan 03, 2012 Thanks to feedback from Florian who found out that the reverse geocode lookup by Google sometimes do not gives the right mapping. Have modified the code so that the googleMaps plugin now maps the exact location when latitude/longitude is given. v1.0.16 (for Joomla 1.0), v1.5.16 (for Joomla 1.5), v1.6.16 (for Joomla 1.6), v1.7.16 (for Joomla 1.7) Released Dec 24, 2011 New features: Support for googleDirections multiple stopovers! If no label is specified, will
p
Google Currency Converter

Google Currency Converter

Free | Currency & Exchange | kksou
2.5
Score:
93
9 reviews
This module allows you to display the Google Currency Converter in a module position. The module makes use of the Currency Converter from Google Finance. Note that Google did not release any API for the Google Currency Converter (There are some APIs for Google Finance, but not for the Google Currency Converter). Unique Features Performs currency conversion by connecting in real-time at the backend to the Currency Converter from Google Finance. So you get the most up-to-date currency rate as provided by Google Finance. Uses AJAX to display the result - no reloading of pages required! Full CSS support! This means that you can set the font family, font size, foreground and background color of the input field, submit button, etc. Available for all Joomla versions: Joomla 1.0.x, native 1.5.x, 1.6.x, 1.7.x and 2.5.x! Live Demo You can see a live demo of the Google Currency Converter by clicking the demo link above. Latest Version v1.0.9 (for Joomla 1.0), v1.5.9 (for Joomla 1.5), v1.6.9 (for Joomla 1.6), v1.7.9 (for Joomla 1.7), v2.5.9 (for Joomla 2.5) Released Apr 6, 2012 The latest version can now handle the following 2 cases: 25,000 will now be correctly handled as 25000 Any empty spaces after a number will be automatically trimmed and handled correctly v2.5.8 (for Joomla 2.5) Released Jan 26, 2012 Native version of the Google Currency Converter for Joomla 2.5! v1.0.8 (for Joomla 1.0), v1.5.8 (for Joomla 1.5), v1.6.8 (for Joomla 1.6) and v1.7.8 (for Joomla 1.7) Released Dec 5, 2011 Native version of the Google Currency Converter for Joomla 1.6 and 1.7! Addition of more than 30 new currencies by Google! v1.0.7 (for Joomla 1.0) and v1.5.7 (for Joomla 1.5) Released May 16, 2010 This is in response to the Morton's post titled "more than one google converters". This new version allows you to display two or more google currency converters all on the same page, each with different currencyfrom and currencyto. v1.0.6 (for Joomla 1.0) and v1.5.6 (for Joomla 1.5) Released August 31, 2009 Added support for retrieving google currency data using filegetcontents or fread. So for those people with no cURL library, you can now use the module using filegetcontents or fread. Your Currency not supported by Google If your currency is not supported by Google, you may want to try the Yahoo Currency Converter which provides 62 more currencies than Google - a total of 153 currencies around the world! http://www.kksou.com/php-gtk2/Joomla-Gadgets/Yahoo-Currency-Converter-AJAX-version.php Complete list of Currencies supported by Google http://www.kksou.com/php-gtk2/Joomla-Gadgets/Google-Currency-Converter-AJAX-version.php#all Complete list of Currencies supported by Yahoo http://www.kkso
m
Drop Down Menu Apple style

Drop Down Menu Apple style

Free | Menu Systems | kksou
2.5
Score:
93
3 reviews
This is a very neat and cool drop down menu provided by www.dynamicdrive.com. Unique Features: * Support infinite levels of sub menus! * Display of submenus is fast and responsive * Easily create a drop down menu within a content item or article. * Optional "sliding" animation when sub menus are revealed. * Complete customization of the menu's look and feel through css (e.g. foreground/background color, color, padding, margin, fonts, etc.) The original version from dynamicdrive.com does not work in Joomla. After much testing, I managed to get it to work inside a Joomla content item. I also wrapped the entire script into a plugin for your convenience. Also, the look and feel of the original version is a bit too dull. So I changed it to that of the Accordion Menu Apple style http://www.kksou.com/php-gtk2/Joomla/Accordion-Menu-Apple-style.php As mentioned earlier, if you don't like the look and feel, you can easily change this through CSS. Latest Version v1.5.6 (for Joomla 1.5), v1.6.6 (for Joomla 1.6), v1.7.6 (for Joomla 1.7) and v2.5.6 (for Joomla 2.5) Released Feb 25, 2012 Native support for Joomla 1.6, 1.7 and 2.5! Updated the plugin with the latest code from dynamicdrive.com The default menu is "Drop Down Menu" or "topbar". Demo here. There is now an additional "sidebar" menu type. Demo here. Use menutype:sidebar to switch to sidebar. Note: For some reason, the latest code from dynamicdrive.com does not work within Joomla 1.0. So the version for Joomla 1.0 stays at v1.05. Also, the Joomla 1.0 version does not support sidebar.
p
googleSearch (CSE) component

googleSearch (CSE) component

Free | Web Search | kksou
2.5
Score:
68
6 reviews
This is the good old googleSearch component: http://extensions.joomla.org/extensions/external-contents/web-search/4903 with one key difference: it uses the Google's new Custom Search Engine (CSE) at the backend. With Google's new Custom Search Engine (CSE), you can do many exciting things such as: search across multiple sites add refinements to your searches upload annotations Very Important Please make sure you have set up a Custom Search Engine in your Google's account before you can use this component. Once you have created a Custom Search Engine, Google will assign a unique CSE ID to that engine. You need to enter the CSE ID into the config page to start using this component. Latest Version v1.6 (for Joomla 1.6), v1.7 (for Joomla 1.7), v2.5 (for Joomla 2.5) Released March 15, 2012 Native version of the googleSearch (CSE) component for Joomla 1.6, 1.7 and 2.5! Live Demo Please click on the demo link above. You can try keywords such as "menu", "joomla", "treeview", etc. Running googleSearch with sh404SEF If you are using the googleSearch component together with sh404SEF, please make sure you read the following article: http://www.kksou.com/php-gtk2/Joomla/running-googleSearch-with-sh404SEF-fixing-the-error-JFolder-folder-Path-is-not-a-folder-language.php "JFolder::folder: Path is not a folder: /language" For those of you who get this error message, please also refer to the article below for the solution: http://www.kksou.com/php-gtk2/Joomla/running-googleSearch-with-sh404SEF-fixing-the-error-JFolder-folder-Path-is-not-a-folder-language.php
c
Include Content Item

Include Content Item

Free | Articles Display | kksou
2.5
Score:
53
23 reviews
This plugin allows you to insert or include one content item into another content item. Key Features support nested include fadein/out of fulltext right in the same article (without any reloading of page) support all Joomla versions: 1.0, 1.5, 1.6, 1.7 and 2.5! Latest Update v2.5.11 (for Joomla 2.5) Released January 26, 2012 Yes, native version of the plugin for Joomla 2.5 is now available! v1.0.11 (for Joomla 1.0), v1.5.11 (for Joomla 1.5), v1.6.11 (for Joomla 1.6), v1.7.11 (for Joomla 1.7) Released October 16, 2011 Yes, native version of the plugin for Joomla 1.7 is now available! Updated the plugin to use the latest jquery library: jquery-1.6.4.js In this new version, you can now include an article more than once by using the tag $allow_multiple=1 v1.0.10 (for Joomla 1.0), v1.5.10 (for Joomla 1.5), v1.6.10 (for Joomla 1.6) Released July 8, 2011 Yes, native version of the plugin for Joomla 1.6 is now available! Updated the plugin to use the latest jquery library: jquery-1.6.2.js In this new version, the article will only be included if it is published. If you unpublish the included article, the article will NOT be displayed. v1.0.8 (for Joomla 1.0) and v1.5.8 (for Joomla 1.5) Released Jun 30, 2009 * added fadein/out of fulltext right in the same article (without any reloading of page) * If you don't want nested include, use nested=0 * If you want nested include to stop at level 2, add level=2 * added support for type=button You can see demos of the fadein/out of fulltext here: http://www.kksou.com/php-gtk2/Joomla/Include-Content-Item-plugin.php#fadein Version History version: 1.01/1.51 released: June 21, 2008 Main update: now works with PHP4! version: 1.02/1.52 Released: July 23, 2008 This is an enhancement contributed by Aleksandar Bogdanovic. Standard use: {includecontentitem 123} To add the title of the included article: {includecontentitem 123 1} To add the title and link to the included article: {includecontentitem 123 1 1} Parameter #1: id of the content/article to be included Parameter #2: 1 means show title, 0 or ignore means don't show title. Parameter #3: 1 means show title and link. 0 or ignore means don't show title and link. version: 1.03/1.53 Released July 31, 2008 This is an enhancement requested by Denis. New features: * {include_intro 123} will include only the intro of the content item. * {include_fulltext 123} will include only the fulltext (or maintext) of the content item. * The original {include_content_item 123} will include both the intro and fulltext. v1.0.5 (for Joomla 1.0) and v1.5.5 (for Joomla 1.5) Released December 25, 2008 This is an enhancement requested by Rexkramer. The "Include Content Item" plugin now allows you to display the "Read More" link. v1.0.4 (for Joomla 1.0) and v1.5.4 (for Joomla 1.5) Released August 17,
p

Pausing up-down Scroller

Free | Articles Display | kksou
2.5
Score:
0
6 reviews
This is the module version of the Pausing up-down Scroller plugin. http://extensions.joomla.org/extensions/content-&-news/news-tickers-&-scrollers/6728/details This module allows you to display an up-down scroller that pauses between each message! The scroller is displayed in a module position. The look of the scroller is completely styled using external CSS, including the dimensions. Very Important: This module makes use of the Pausing up-down Scroller plugin plugin. So please make sure you have installed this plugin too for this module to work. Support for all Joomla versions! (Joomla 1.0, 1.5, 1.6 and 1.7) Latest Version v1.03 (for Joomla 1.0), v1.53 (for Joomla 1.5), v1.63 (for Joomla 1.6), v1.73 (for Joomla 1.7), v2.53 (for Joomla 2.5) Released January 31, 2012 Support for HTML tags in the scrolling messages for Joomla 1.6, 1.7 and 2.5. Thanks to Rusty for highlighting this. Native version of the Pausing up-down Scroller module for Joomla 2.5! v1.02 (for Joomla 1.0), v1.52 (for Joomla 1.5), v1.62 (for Joomla 1.6) and v1.72 (for Joomla 1.7) Released December 4, 2011 Native version of the Pausing up-down Scroller plugin for Joomla 1.6 and Joomla 1.7! Very Important: You must install the latest version of the Pausing up-down Scroller plugin for this module to work.
m
googleDirections

googleDirections

Free | Maps & Locations | kksou
2.5
Score:
0
3 reviews
This plugin allows you to include one or more driving or walking directions provided by Google Maps right inside your content item or article. This is a light-weight plugin using only about 20K of codes. If you need to display driving or walking directions to your company, or from one place to another, this is the plugin. If you only want to display a Google Map, use the googleMaps plugin: http://extensions.joomla.org/extensions/maps-a-weather/maps-a-locations/maps/8213 If you want to allow users to find ways to your office or some designated place, use the googleDirections - To Here - plugin http://extensions.joomla.org/extensions/extension-specific/extensions-specific-non-sorted/8682 Unique features Uses the latest Google Maps API v3 You can embed multiple Google Directions within an article Each Google Direction can be of different size, map control and map type Support for kml files You can specify the starting, ending and stopover points using real address or longitude/latitude points Built-in street view! Support for multiple waypoints or stopover points Support for many native languages e.g. Italian, Russian, French Available for all Joomla versions: Joomla 1.0.x, native 1.5.x, 1.6.x, 1.7.x and 2.5.x! How to Use the googleDirections plugin How to use: http://www.kksou.com/php-gtk2/Joomla-Gadgets/googleDirections-plugin.php#howtouse Tutorials: http://www.kksou.com/php-gtk2/Joomla-Gadgets/googleDirections-plugin.php#tutorials Latest Version v1.0.12 (for Joomla 1.0), v1.5.12 (for Joomla 1.5), v1.6.12 (for Joomla 1.6), v1.7.12 (for Joomla 1.7), v2.5.12 (for Joomla 2.5) Released Feb 4, 2012 added support for Joomla 2.5 add flag w3c=1 => w3c compliant support for IE7! allow googleMaps to display in tabs now allows address to include ' (apostrophe) v2.5.11 (for Joomla 2.5) Released Jan 26, 2012 Native version of the googleDirections plugin for Joomla 2.5! v1.0.11 (for Joomla 1.0), v1.5.11 (for Joomla 1.5), v1.6.11 (for Joomla 1.6), v1.7.11 (for Joomla 1.7) Released Jan 03, 2012 Thanks to feedback from Florian who found out that the reverse geocode lookup by Google sometimes do not gives the right mapping. Have modified the code so that the googleDirections plugin now maps the exact location when latitude/longitude are given for the starting, ending and stopover points. v1.0.10 (for Joomla 1.0), v1.5.10 (for Joomla 1.5), v1.6.10 (for Joomla 1.6), v1.7.10 (for Joomla 1.7) Released Dec 24, 2011 New Features: Support for multiple stopovers! Support for vertical alignment Added 3 more tags: stopover, vertical and mapfullwidth Added unit: metric / imperial v1.09 (for Joomla 1.0), v1.59 (for Joomla 1.5), v1.69 (for Joomla 1.6), v1.79 (for Joomla 1.7) Released Nov 15, 2011 Now uses Google Maps API v3! Key advantages in Google Maps API v3 includes: Built-in
p
To Here for googleDirections

To Here for googleDirections

Free | Extensions Specific non sorted | kksou
2.5
Score:
0
2 reviews
This plugin is an extension of the googleDirections plugin. http://extensions.joomla.org/extensions/external-contents/map-directions/8487 You specify a designated place to be the destination, and let the user enter the address he or she is coming from. Google will then provide the driving or walking directions from the user-specified address to your designated place. Unique Features Uses the latest Google Maps API v3 You can embed multiple Google Directionstohere within an article Each Google Direction can be of different size, map control and map type Support for kml files You can specify the "home position" using real address or longitude/latitude points Built-in street view! Support for many native languages e.g. Italian, Russian, French Available for all Joomla versions: Joomla 1.0.x, native 1.5.x, 1.6.x, 1.7.x and 2.5.x! If you only want to display a Google Map, use the googleMaps plugin: http://extensions.joomla.org/extensions/maps-a-weather/maps-a-locations/maps/8213 If you want to display the Google Directions from Point A to Point B, with optional stopover points along the way, use the Google Directions Plugin: http://extensions.joomla.org/extensions/maps-a-weather/maps-a-locations/map-directions/8487 How to Use the googleDirections plugin How to use: http://www.kksou.com/php-gtk2/Joomla-Gadgets/googleDirections-To-Here-plugin.php#howtouse Tutorials: http://www.kksou.com/php-gtk2/Joomla-Gadgets/googleDirections-To-Here-plugin.php#tutorials Latest Version v1.0.8 (for Joomla 1.0), v1.5.8 (for Joomla 1.5), v1.6.8 (for Joomla 1.6), v1.7.8 (for Joomla 1.7), v2.5.8 (for Joomla 2.5) Released Feb 4, 2012 added support for Joomla 2.5 add flag w3c=1 => w3c compliant support for IE7! allow googleMaps to display in tabs now allows address to include ' (apostrophe) support for vertical alignment v2.5.7 (for Joomla 2.5) Released Jan 26, 2012 Native version of the googleDirections - To Here - plugin for Joomla 2.5! v1.0.7 (for Joomla 1.0), v1.5.7 (for Joomla 1.5), v1.6.7 (for Joomla 1.6), v1.7.7 (for Joomla 1.7) Released Jan 03, 2012 Thanks to feedback from Florian who found out that the reverse geocode lookup by Google sometimes do not gives the right mapping. Have modified the code so that the googleDirections_tohere plugin now maps the exact location when latitude/longitude is given when specifying the "home position". One other new feature for this new version is that: the user can now press the Enter key (as oppose to pressing the "Get Directions" button) to get the directions to your home position. v1.0.6 (for Joomla 1.0), v1.5.6 (for Joomla 1.5), v1.6.6 (for Joomla 1.6), v1.7.6 (for Joomla 1.7) Released Dec 24, 2011 Support for multiple stopovers! v1.0.5 (for Joomla 1.0), v1.5.5 (for Joomla 1.5), v1.6.5 (for Joomla 1.6), v1.7.5 (for Joomla 1.7) Released Nov 15, 2011
p

DirectPHP

Version:
3.0
Developer:
kksou
Date added:
Mar 27 2008
License:
GPLv2 or later
Type:
Free download
Uses updater:
Includes:
Compatibility:
2.5 3
Download Demo Support Documentation
  • Overall
  • Functionality

  • Ease of use

  • Documentation

  • Support