Recent blog posts
- My Blog now supports creative commons license
- Custom version for MultiSite Search Module
- Drupal: How to Enable Active Trail with Nice Menus
- DrupalCamp CA / Guatemala 2010
- Content Profile Form inside User Edit for Drupal 6
- How use views arguments in PHP Code for Drupal 6
- Drupal Contribution: Generate vancode using mysql alone
- Drupal Module Patch: Belated PNG
- Drupal Patch to Notify Module to process only new content
- Notify module: Handle both published and unpublished entries
Blogs
My Blog now supports creative commons license
Submitted by enzo on Tue, 08/24/2010 - 12:41
Hello folks.
Well I know my blog is not the must popular blog on Internet, but just in case I decide to release my post using creative commons license, I did this work including the module Creative Commons in my drupal blog.
At least I like the icons in at the bottom of this post :P
TTYL.
enzo
Custom version for MultiSite Search Module
Submitted by enzo on Wed, 08/18/2010 - 13:07
Hello folks
Recently I was involved in a project with the requirement to do search against several Drupal Instances, I found the great module Multisite Search both I found inconsistences from my perspective, so I decide to create my own version and share with the community.
| Attachment | (click to download) | |
|---|---|---|
| multisite_search.zip | 15.71 KB | |
| multisite_search-1.1-dev.patch | 35.77 KB |
Drupal: How to Enable Active Trail with Nice Menus
Submitted by enzo on Tue, 08/17/2010 - 01:27
As you maybe know Nice Menus is one of the top ten modules in Drupal, because we can enable a js menu with sub levels.
The problem I found at least until now is nice menus doesn't implement by default the active trail classes used to highlight a menu or section.
If you as me needs this functionality just copy these functions to your template.php file in your theme and clean the cache, after that select a menu and you will see new active-trails css classes. CSS classes to highlight menu aren't included.
DrupalCamp CA / Guatemala 2010
Submitted by enzo on Wed, 07/14/2010 - 20:00
Hey folks.
I went to the last Drupal Camp Central America 2010, this event was in Guatemala at June 25/26. I did two lectures about Drupal Themes + 960 Grid CSS and Migration Tips from other CMS to Drupal.
This event was 100% successful with people from Nicaragua, El Salvador, Belice, Mexico, Costa Rica, Colombia (me) and off course Guatemala.
Also I visited the beautifully city Antigua, Guatemala . some pictures at http://picasaweb.google.com/yersika/Drupalgt10
| Attachment | (click to download) | |
|---|---|---|
| Drupal-Migration-2010-Spanish.ppt | 819.5 KB | |
| Drupal-Migration-2010-Spanish.odp | 683.95 KB | |
| Drupal-Themes-2010-Spanish.ppt | 1.62 MB | |
| Drupal-Themes-2010-Spanish.odp | 1.47 MB |
Content Profile Form inside User Edit for Drupal 6
Submitted by enzo on Wed, 07/14/2010 - 15:31
If you are familiar with Content Profile Drupal Module, you notice this module generate a tab(s) or subtab(s) for edition mode. This behavior is acceptable, but a common request is enable to put all fields in one big form, but with the option each section has its own submit button.
Well this is my solution for this request.
1. Create a PHP block for each content profile content type, i.e user_shipping_address_page.
How use views arguments in PHP Code for Drupal 6
Submitted by enzo on Sat, 04/10/2010 - 17:44
If you need for some reason in your header or footer PHP code use this snipet code
$view = views_get_current_view(); // [0] is first arg, [1] is second etc. $new_var = $view-> args[0]; echo $new_var;
Enjoy It
enzo
Drupal Contribution: Generate vancode using mysql alone
Submitted by hertzel on Thu, 04/08/2010 - 17:42
I once had to do a migration entirely on mysql and find myself spending a quite fair amount of time digging about the vancode thing. and then I thought why not sharing ? so here it is... two mysql functions do the magic..
Drupal Module Patch: Belated PNG
Submitted by hertzel on Sat, 04/03/2010 - 17:40
| Attachment | (click to download) | |
|---|---|---|
| belatedpng.txt | 1.82 KB |
Drupal Patch to Notify Module to process only new content
Submitted by enzo on Sat, 04/03/2010 - 03:02
Hello guys
Following the line of changes to Notify module, I just did a new change to add the option to set Drupal to send notifications only for new content not for changes or updates nodes.
Check the path attached.
Enjoy It.
enzo
| Attachment | (click to download) | |
|---|---|---|
| notify-unpublished-content-and-only-new-content.patch | 3.95 KB |
Notify module: Handle both published and unpublished entries
Submitted by james on Fri, 03/26/2010 - 21:25
What we did:
1. Add a selector for this option. By default it will behave as always.
2. Add the code on the module to handle this.
3. We need shorter notification intervals. We added 10 and 5 minutes.
If you like to follow the official tread: http://drupal.org/node/754362
Enjoy it.
Sponsored by Anexus IT

