I've just created a search and replace extension for Google chrome that allows you to search input fields for text and replace them with a different text. I recently had to replace the same text in over 150 input fields and I wrote a script to do this. I figured that this functionality should be present in Chrome by default and so I turned the script into an extension.
Sometimes it is necessary to run processes on a web site that make changes to the database on a daily basis. An example of this could be when data needs to be aggregated from a reservations component and made available to an external application or tool, in a format that is user friendly. A script would be written that updates an existing table and then the extenal tool could access this table. This script will work fine as a standalone php file but how do we make sure it is run and how do we make use of the Joomla libraries inside it when it is not being called from within the framework?
Freedcamp is a brand new, free project management tool from the Enavu network. This is something I have been keeping an eye on for a while as it could prove to be a competitor to market leaders, such as Basecamp. The interface is clean and crisp and boasts a wide array of smart JQuery functionality that helps to make the user experience more enjoyable.
Joomla is built upon a MySQL database that stores all of the data for the site. This database will contain tables that come predefined with the core installation and others that will have been created by third party extensions. When developing for Joomla it is useful to be able to view the structure of these tables so that you can begin to write code that will add, modify or delete records from them. One way to view the structure is to use phpMyAdmin, which is a "free software tool written in PHP intended to handle the administration of MySQL over the World Wide Web".
This means you can use the phpMyAdmin interface to run SQL queries, make backups of your database stored in a variety of different file formats and import new data from CSV files and the like.
JPATH_COMPONENT -- Sets the component path /Joomla/components/com_example
JPATH_COMPONENT_ADMINISTRATOR -- sets the backend component path /Joomla/administrator/components/com_example
You can check out this page for the full list of JPath constants.
These are obviously useful as they stop you having to type out long paths every time you want to refer to your working component folder. However, there is another factor which you may wish to consider.
Welcome to forgetso.com. My name is Chris Taylor and this is my personal site that I have set up for the purpose of distributing the Joomla extensions that I develop. If you are a keen user of Joomla you may be aware of other extensions that I have worked on, namely the Content Uploader and Joomailer.