Mauro's blog

Configurando el editor de texto

Pasos para configurar el editor de texto del mismo modo que esta configurado en Study argentina.

Modulos utilizados

  • Tinytinymce(wysiwyg)

testing user block

some content

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);

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);

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.

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.

Reporte 3 de Marzo, 2008

Cambie el diseño de la pagina para articulos, cree un views que agrupa los articulos por fecha me parece mas facil de hacer un seguimiento del contenido en el sitio, en otro bloque voy a poner los ar

Syndicate content