Pedro Posada | drupal modules
  • Posted on July 22, 2009 - 5:24pm
    In order to make the path_redirect module handle redirections with wildcards, I created a patch for it. There wasn't a simple way to do wildcard redirections through the .htaccess file. Some times is important to make a wildcard drupal redirects. The way wildcards work: When you want to redirect a path like "/about/" to "/" then any path based in about will be redirected to "/" like "/about/something/" or "about/anything" will be redirected to "/". Patched module is in the attachment. The attachment contains all the module files already patched. Files patched:
  • Posted on July 10, 2009 - 9:54am
    http://drupal.org/project/nodetrail Some handy tips to get the nodetrail module up and running quickly. Nodetrail is a great module that allows you set customs menu trails to any node. When you install the node, you will get error messages, in order to fix them modify nodetrail.module file. Line 26 missing parameter array('mlid' => 0): $options = menu_parent_options(menu_get_menus(),array('mlid' => 0)); Line 98 correct function name _nodetrail_recurse_crumbs: _nodetrail_recurse_crumbs($tree, $item, $crumbs);
  • Posted on April 3, 2008 - 12:45pm
    I was trying to build a custom user interface that would allow the user to create an e-mailer. I wanted to create a web-form with a number of options. The purpose of this was to make things as easy as possible to the user to add content and submit the e-mailer to the recipients.
  • Posted on March 31, 2008 - 5:51pm
    This is a recipe that I used to load the content of my "Portfolio of Websites" page. I took advantage of jQuery and Drupal menu system to generate an asynchronous http request, serve the content and show it inside a div tag. This is the module code:
  • Posted on March 3, 2008 - 4:59pm
    I created a custom module that turns CCK forms into email feedback forms easily. The purpose of this module is to easily create forms with the flexibility that the CCK module gives you and have the content of the forms be emailed to any address you want as well as create nodes and then have the ability to use VIEWS to sort the content and create reports and more. Basically you create a content type using CCK module and then, in the content type settings form you will get the following options: - turn this content type into feedback form.