Code Directory
 Visual Basic & VB.NET
New Code
Rapid PHP 2018 15.5
Online Course Booking Script 1.3.3
Database Workbench Pro 5.6.4
Job Portal Script 1.3.2
The C# PDF Library 5.2
PostgreSQL Data Access Components 6.0
Virtual Data Access Components 11.0
HTMLPad 2018 15.5
WeBuilder 2018 15.5
SentiMask SDK Trial 2.0.0
Track Order For Magento 2 1.0.0
Calendar 365 For Dynamics CRM 4.0
Scimbo 1.2
Odoo Furnito Theme 1.0
Top Code
PostgreSQL Data Access Components 4.4
Database Workbench Pro 5.6.4
Availability Booking Calendar PHP 1.0
Online Course Booking Script 3.04
Flat File Database Manager 1.1
Spylog 2.0 (awt Counter/tracke) Freeware 2.0
LDAP-Express I.40
YASLI-Yet another simple LDAP Interface 0.1
Frood LDAP Browser 1.5.1
ActiveRBAC 1.2
Merge multiple (potentially infinite) sorted inputs into a single sorted output
A Practical Comparison of ADO and ADO.NET - Part II
A Practical Comparison of XSLT and ASP.NET
A Quick Comparison of ADO and ADO.NET - Part I
An introduction to XML, XSL, and ASP.NET
Top Rated
VisualNEO Web 2018.12.15
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
Drupal Override Function 6.x-1.5
File ID: 98686

Drupal Override Function 6.x-1.5
Download Drupal Override Function 6.x-1.5http://drupal.orgReport Error Link
License: Freeware
File Size: 655.4 KB
Downloads: 1
Submit Rating:
Drupal Override Function 6.x-1.5 Description
Description: UPDATE: I have changed the requirements from APD to Runkit OR APD instead. This gives you 2 options. If you use PHP 4 to 5.1 then using APD is the easier route but I dont have install instructions for that right now. If you use php 5.2 to 5.3 then you will need to use Runkit. I have not been able to get APD to work on anything greater than 5.1 yet so I've decided to include Runkit in the mix to cover all the PHP versions. Runkit does not have the ZendOptimizer compatibility problems that PECL APD has. It also works with php 5.2 and php 5.3 where as APD does not. But it is NOT without it's own problems. It's not really compilable from SVN/CVS nor it's own releases. It has to be patched before it'll even work, the project is a complete mess. So I've done this for you and included it.

Test Module
There is now a test module included in this. It showcases what you can do quickly to override/redefine drupal functions. It takes one of the most commonly used drupal functions "drupal_set_message" and completely overrides it with a NEW function. This new function works exactly like the original with 1 exception. It causes a javascript alert box to popup up everytime drupal_set_message() is called by ANY module. So this shows you that you can indeed modify drupal core functions WITHOUT modifying the core files themselves. It does this by using a new hook called hook_function_overrides() that the drupal_override_function module exposes. You can use this hook in your modules to override ANY function you want. But do NOT attempt to override PHP functions. It may "appear" to work, but you will notice random problems on the site. So dont go overriding something like print_r lol. Neither APD nor Runkit are stable enough to do that.

License: Freeware

Related: alert, vascript, Exception, Popup, everytime, Shows, called, drupal set message, original

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 655.4 KB

Downloads: 1

More Similar Code

DBFM Search is an optional add-on for the DBFM (DataBase File Manager) module.

This module enables indexing of files google-style inside DBFM's database and integrates with the standard drupal search function.

FireWire controller class. Provides all control functions for IEEE 1394 devices (SONY cameras, VCRs...). TFireWireControl = class public constructor Create; destructor Destroy; override; function Build(const DevName: string): HRESULT;...

This module gives both Drupal 5.x AND Drupal 6.x versions of jQuery (including the jQuery update module) a compatibility mode. This will allow jQuery functions to be used right along side another JS library such as mootools. If you need to use a...

Better Messages is a very simple module that provides "Popup-like" Drupal messages.

Better Messages intends to let you control where and how you want to see your Drupal messages! Combine different animations and override...

The look and feel of the nodes that are inserted into the newsletter can be altered with the included theming functions.


Download and install jQuery plugins from

SQL Cron is a Drupal module that allows you to create and manage a set of SQL statements that are executed during cron runs. The last execution time and execution result is displayed for each SQL statement. Any SQL statement that is valid for the...

The module allows sites that use Drupal and CiviCRM to create sites with "member-only" available content.

Membership Types and Roles can be synchronized automatically using three different methods. The first method is...

Allow any plain-text custom field to be edited via AJAX on the All Posts page. We use it at Brainstorm Media for quickly editing SEO titles, descriptions, and keywords. However, filters are provided for targeting any plain-text custom field.

XMPP sender allows to send notifications about new comments in blog using XMPP protokol (you know it. This is a jabber. For example, it used in Google Talk).You can customize it to send notifications to blog admin or(and) post author about all...

Exportables 1.x

Exportables module provides easy exportables for objects that normally can't be exported. Currently, taxonomy vocabularies are supported. It does this by the following:

* The most important thing is the fact...

User Review for Drupal Override Function
- required fields

Please enter text on the image