Pasos para configurar el editor de texto del mismo modo que esta configurado en Study argentina.
Modulos utilizados
This is the code
<?php
global $user;//in this case select the acting user
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');
?>
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)
{
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);
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);
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.
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.
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