PHP

Eredivisie - Banner generation tool

Depascor Media (the Netherlands) asked AnexusIT to develop a tool. This tool should enable the Dutch National Soccer league to promote the digital TV offering to fan and clubsites.

Anexus IT developed a banner generation tool by integrating API coding into openx (2.8.2), a front office and the actual png/gif generation of banners in an allmost unlimited number of sizes.

Advanced User Module Patch: Enable use HTML format in Bulk Emails

Hello folks

If you are a user of Advanced User module, more likely you want to send bulk HTML emails to your users.

Tabs Module Patch: Enable Validation Form per Tab Panel in Navigation

Hello folks

I made a new feature to the form trigger to enable a validation per panel before the next or previous action gets executed.

If a required field is blank, the field is highlighted as error.

This feature has a flag in admin tabs to enable or disable the JS validation.

Currently this patch only validates inputs and selects controls.

You can follow the issue request to include on the next version at : http://drupal.org/node/1102904

Enjoy IT.

enzo

Patch for CCK Fatal error: Cannot unset string offsets

Hello folks

Yesterday I got a freaking Fatal Error:
 

AttachmentSize
cck_unset_error.patch654 bytes

New Drupal Contribution: Webform Password Module

Hello folks

Today I pushed a new drupal module named webform password.

This module Provides a new Forms API element which is a password textfield element .

Module applications:

  • Webform login
  • Webform Register

Enjoy It.

enzo

Error importing CCK definition with FeedAPI

Hello folks

Today I was trying to export a CCK and import it to another Drupal Installation, but I was getting a freaking error "An illegal choice has been detected. Please contact the site administrator".

Guess what, I'm the administrator :P

Error importing CCK definition with Page Title

Hello folks

Today I was trying to export a CCK and import it to another Drupal Installation, but I was getting a freaking error "An illegal choice has been detected. Please contact the site administrator".

Guess what, I'm the administrator :P

After debugging the import process I realized the fail is because by default all content types in a Drupal Installation with module Page Title enabled, have the option "Show field" unchecked. if this option is unchecked the export process for CCK generates a code like this:
 

Move term and update url alias

Regards,

I've tested taxonomy manager and so far is a really useful module and it really makes things easy, however i am using pathauto as well, in order to make my urls look nicer.

AttachmentSize
urlalias-update.txt1.41 KB

Patch for Views SlideShow: SingleFrame Controls are rendered even if the slideshow doesn't have pagination

Hello folks

Today I realized that if I set the items per slide variable to SingleFrame and Set to YES the variable display controls, the controls are rendered even if the slideshow doesn't have pagination.

So after reviewing the code I detected in my perspective a bug in the logic.

Check the attached patch to validate that item_per_slide is lower than the rows available for the view.

enjoy IT.

enzo

How to force pager type in views for Drupal 6

Hello folks.

Today I'd a problem with attached views and the inherit pager feature, because the pager is inherited but not the style and I'd configured a mini pager. So my solution was to force that using the hook_views_pre_execute in a custom function listed below.
 

function YOURMODULE_views_pre_execute(&$view)
{    
    if($view->display[$view->current_display]->display_plugin == 'attachment'){
        $view->pager['use_pager'] = 'mini';
    }
}


Enjoy it.
enzo

Pages

Subscribe to PHP