Archive for the 'PHP' Category

Remove Spaces at end of lines easily with Komodo Edit

July 16, 2008

I was running a module through coder and there were numerous white spaces at the end of the lines. Doing these one at a time would have been awful and was starting to be. I use Komodo Edit for my editor and searching for a function I found this is built in. [...]

Only Show Certain Themes

May 30, 2008

I was looking for a way to only show certain themes on admin/build/themes page. I ended up adding some jquery to handle this. I created this script in a js file called theme_list.js.

var themes =new Array();

//Enter themes here into the array.
themes[0] = ‘theme_1′;
themes[1] = ‘theme_2′;
themes[2] = ‘theme_3′;

if(Drupal.jsEnabled) {
$(document).ready(
[...]

Preview Your Theme Styles

May 13, 2008

I was working on creating a preview window in the theme settings page for a theme I was implementing. See Garlands preview for an idea of what I’m talking about. It was a simple idea that the user would choose the style they wanted of that theme and it would update an image [...]

Multisite installation steps Drupal

December 14, 2007

Create a database for your template site.
Copy the drupal files to your chosen location.
Install drupal according to the main instructions.
Export the tables and data of your new installation.
Open up the exported sql file and make sure there isn’t a create database operation.

This is how you will set up each additional site.

In the database create a [...]

My Ideal Software Development App

October 5, 2007

I have been looking for the perfect community development app.
Here are my requirements.

Create Multiple projects.
Blog w/ standard api so i can use ScribeFire to post to the blog.
Subversion browsing and repository creation.
Ticket Management
Task Management
File Management
Wiki
Open Source
PHP for easy installation and portability.

If you happen to find an app that fits the bill please inform me.

How Composer-NVU-KompoZer is a story of open source success.

October 1, 2007

I learned today that NVU has been picked up bug fixed and rebadged as KompoZer. I’m sure, with how this product has been having a tough time getting off the ground, that people would be hard pressed to call this a success.  But I think it is and here is why.Open Source Builds Momentum
People have [...]

Adapting Joomla 1.0 extensions to Joomla 1.5

July 2, 2007

http://dev.joomla.org/component/option,com_jd-wiki/Itemid,31/id,tips:make_your_extensions_fit/When converting someone else’s extensions to 1.5 this could help also.

Converting Plugins, Extensions, etc. in Joomla

June 28, 2007

I’m mainly working on Joomla 1.5 at the moment and there are very, VERY, little extensions and plugins for it. So I’m learning how to create them, but the best way so far is trying to convert already created 1.0 versions to 1.5. This forum topic is invaluable in doing that.http://forum.joomla.org/index.php/topic,177581.0.html
By the way [...]