Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 30.072.177 Times

Drupal Override Function 6.x-1.5

  Date Added: June 16, 2013  |  Visits: 202

Drupal Override Function

Report Broken Link
Printer Friendly Version


Product Homepage
Download (18 downloads)

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 ModuleThere 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.

Requirements: No special requirements
Platforms: PHP
Keyword: Alert Called Drupal Set Message Everytime Exception Original Popup Shows Vascript
Users rating: 0/10

License: Freeware Size: 655.36 KB
DRUPAL OVERRIDE FUNCTION RELATED
Modules  -  Better Message Action for Rules 6.x-1.0
Provides two new actions for Rules:# Messages: Send a message - implement all of the capabilities of the drupal_set_message() function.# Messages: Clean messages - clean messages created by the drupal_set_message() functionBased on #409090:...
10 KB  
Modules  -  Admin SMS Alert 1.1.0
Admin SMS Alert sends a SMS Message (Text) to the provided cell phone on the chosen carrier for selected alerts. Alert examples are for comments awaiting approval/spam, approved/disapproved comments, and new pingbacks.ASMSA is compatible with most...
20.48 KB  
Modules  -  Fix message_die for multiple errors MOD 1.0.3
This MOD replaces the "message_die() was called multiple times" message with something more useful.It reports a list of all "those" error messages with all relevant information. So that may help board administrators to identify the problem
 
Shell & Desktop  -  WinAssistant 1.1
WinAssistant is a small, freeware utility that allows you to shutdown, reboot, log off, power off, hibernate, stand by, lock the computer at a specified time or if it is idle for a period of time. Also you can set message alarms to notify you. It...
1.42 MB  
Utilities  -  Sender Name for Thunderbird 0.4 Alpha
A Thunderbird add-on that shows the name of the sender in the message list pane This extension shows the display name of the sender in the message list pane if the sender's address (From address) is in the address books.
20.48 KB  
Entertainment  -  Spoiler Tv 1.0.0.0
YES, SPOLER ALERT!!! Get the latest news from your favorite TV shows before anyone else! Vampire Diaries, Revenge, Supernatural, American Horror Story... Requirements: Windows Phone 8.1, Windows Phone 8, Windows Phone 7.5,...
1024 KB  
Web Authoring  -  Alert Post-A-Board 3.0
Create and offer Web Message Boards. No Scripting, No HTML required. Just install the Post-A-Board server and run it alongside your current Web Server - or on its own. Control Panel-driven Web interface lets you create Public Boards and Private...
3.4 MB  
Libraries  -  Exception::System 0.0601
Exception::System is the exception class for system or library calls. SYNOPSIS # Loaded automatically if used as Exception::Bases argument use Exception::Base Exception::System, Exception::File => { isa => Exception::System }; try...
10.24 KB  
Network & Internet  -  Improved internal mail 0.9
This is a modification of the original "newMessage" app, which is called when you write a new internal message from "eyeMessages". In the original app, you needed to know the adressee's username. Now in this version, you can open a list of...
10.24 KB  
Libraries  -  Set::Infinite::Basic 0.61
Set::Infinite::Basic is a Perl module with sets of intervals. SYNOPSIS use Set::Infinite::Basic; $set = Set::Infinite::Basic->new(1,2); # [1..2] print $set->union(5,6); # [1..2],[5..6] Set::Infinite::Basic is a Set Theory module for...
49.15 KB  
NEW DOWNLOADS IN SCRIPTS, MODULES
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Modules  -  TinyMCE Node Picker 6.x-2.1
This module will de discontinued and replaced with Node Picker as soon as a stable release is available.TinyMCE Node Picker provides a button in TinyMCE that displays a list of links to content. Choosing a link inserts it into the editor.The...
20.48 KB  
Modules  -  Fapilicious 5.x-1.x-de
Fapilicious is a collection of FormAPI goodies.I hope to make it a repository of reusable FormAPI trickery and short cuts. Currently it has small collection of powerful FormAPI element validators.Please submit your favorite tricks as patches so we...
10 KB  
Modules  -  Donation Goals 6.x-1.x-de
The Donation Goals module lets you create nodes of the type "Donation Goal." These goals allow you to set an amount of money you'll need for whatever you're saving up for. Visitors of the site can then donate money through PayPal. Once the target...
20.48 KB  
Modules  -  Plica Twitter 1.0.1
Plica TwitterInstallation : * Download, unzip, and install plugin dir in /wp-content/plugins * Activate * All right now
10 KB  
Modules  -  Page Array 5.x-1.x-de
The pagearray module is a small (single function) helper module that can be used whenever there is a need to load the output of any Drupal path in data form. Based on the code in index.php, Page Array bypasses the theme('page') call, instead...
10 KB