Blogs

How to display node form in a node content

This is the code

<?php
global $user;//in this case select the acting user

Drupal tabs activated trough URL anchors

This is the code for calling a js file from the module

<?php
$path
= drupal_get_path('module', 'name_of _the_module');   
drupal_add_js($path .'/name_js_file.js');
?>

The Usual Sospects, Fixes for IE bugs

List of bugs on IE and solutions:
Text to long, to many characters next to eahc other with out space bettwen them(this propertie seems that is not recognised by FF, but works for IE)
{

Strings Max Lenght Control function for Drupal

Objective:
Create one function that controls the length for one string of caharacters in drupal.

Function:

<?php
function max_length($string) {
$string = check_plain($string);

Report for 27 March 2008

Tasks completed for today
Added content to Mojahmedia for the books and team manual
Came up with an idea for Daily reports - possible module
Added support team user reference to Project cases

Codigo para el panel de usuarios

Aca pongo el código para la página de usuarios en organic sa,

<?php
//arg(1) pais
$path = arg(0);
$tid = '';
$term = arg(1);
$term = str_replace('-',' ',$term);

Mojah Media

Working on project management system
Reviewing marketing methods...
Devbee, lullabot, seopostion
List on Drupal services

Reporte 10 de Marzo, 2008

Finalmente creo que estoy terminando con el diseño de la pagina para articulos de organicsa, todavia falta definir la posicion del link "ver mas", en los bloques de articulos.

March the 6th

i tell you chief that by these days i am writing a kind of tale for organicsa.

Codigo para Views agrupadas por un campo en particular en Drupal

Saque este código de los foros de drupal, la idea es generar un views que agrupe los resultados del query, para un campo en particular.

Syndicate content