Drupal 7

Events happening in the community are now at Drupal community events on www.drupal.org.
victorv's picture

Rendera bilds url från field_image

Det jag vill göra är att skriva ut en bilds url till originalet och thumbnailen i en speciell doctype.

I node--test.tpl behöver jag få ut URL:en till originalet i en länk tillsammans med fältet "title" utskrivet och som klickbar länk behövs thumbnailen. De guider jag kikat på saknar info om hur jag printar en thumbnail i node--XXX.tpl och/eller hur man skriver ut specifika delar av image_field där url är en del.

Så är det någon som vet hur man går tillväga för att skriva ut en bilds URL i node.tpl (från field_image) samt dess thumbnail?

Read more
poetedamour's picture

Drupal 7 et permalink

Salut, je suis le petit nouveau dans le coin. Ça fait quelques mois déjà que je m'amuse avec Drupal 7 et là, j'ai décidé de prendre les choses au sérieux. J'ai enfin mis en ligne mon premier site et ça fonctionne numéro un sauf que... (et c'est là que ça devient sérieux).

Read more
antoniomanco's picture

Consulta sobre Views (vistas) en Drupal 7

Hola, estoy trabajando con views (vistas) y Drupal 7, he absuelto la mayoría de dudas, pero me ronda una. ¿Cómo desplegar una vista principal con una lista de nodos relacionados? como en esta imagen http://groups.drupal.org/files/sobrenodos.jpg . He trabajado con filtros contextuales (contextual filters) en views, pero sólo logro poner un bloque con artículos relacionados en un artículo principal. Gracias por la ayudaaa

Read more
salientknight's picture

Hierarchical Taxonomy With Rules (tutorial)

Sorry if this is a duplicate.

GOAL: when a user selects a taxonomy from a field, add the parent nodes for that field as well.

The Rule
EVENT
After saving new content
After updating existing content

CONDITIONS (optional)
Content is of type (your node type)

ACTION
Execute custom PHP code
The code
[code]
$parents=taxonomy_get_parents_all($node->field_location['und'][0]['tid']); //gets all parents and self for the term added

$t=array();
foreach($parents as $p){
$t[]=get_object_vars($p); //convert the objects to arrays
}

Read more
antoniomanco's picture

Drupal 7: Dudas con taxonomías, vocabularios y breadcrumb

Construyo una demo en http://4.tuweb.pe. En taxonomías he creado el vocabulario Actualidad y dentro los términos (categorías) política y locales. Además he creado un menú con views y he listado los artículos de los términos antes mencionados, finalmente instalé el módulo "Taxonomy Breadcrumb".

Read more
j4's picture

Unable to change email address in Site Information

Hi,

Checked the drupal forum. There is a mention there that in Drupal 7 (http://drupal.org/node/1284360), we need to change the email address manually in settings.php file. Does anyone how to do that?

Thanks
Jaya

Read more
kristofferwiklund's picture

URL fält för interna sidor

Hej

Jag har ett litet problem. Jag håller på att göra en slideshow med Views Slideshow i Drupal 7. Och det har jag fått och fungera som jag vill. Jag har en egen content type för innehållet till slideshowen. Men jag vill kunna länka varje slide till en sida på vår hemsida.

Read more
printcbe's picture

Drupal 7 :: Training now available in COIMBATORE, India

Drupal Training :: RAM Tech's that delivers classroom training to students living in Coimbatore, India.

Training

We also specialized in offering high quality training in

Web Design Professional Training

Adobe Photoshop
Corel Draw
HTML/CSS
PHP /  MYSQL
PSD to HTML Conversion(tableless css)
Traing for Creating the PSD layout and Coding the PSD layout in dreamweaver

Drupal Professioal Training

Drupal Installation 
Install and Uninstall Modules
Drupal Menu and Theme Management
Drupal Views implementation and customization
Read more
Lars Bo Jensen's picture

Evaluating Tokens with PHP

Dear DS experts,

I've got a small problem: I have a content type 'arrangement' with a field, that can contain several values, e.g. 'excursion' and 'lecture'. I am displaying teaser, full node and so on with Display Suite on Drupal 7.8, and THANK YOU for DS, it's GREAT, and I want it to display like this:

'Excursion and lecture: Lüneburger Heide'

I have added a code field for the header using tokens:

[node:field_aktivitetstype]: [node:title]

It displays:

'Udflugt, Foredrag: Lüneburger Heide'. Flaw: both values have a capital first letter.

Read more
antoniocuga's picture

Vistas embebidas

Hola drupaler@s, tengo una consulta con respecto al uso de vistas embebidas en drupal 7, actualmente estoy usando la siguiente funcion:

"views_embed_view($name, $display_id = 'default')", pero al parecer no esta funcionando ya que no me imprime nada, en mi template estoy colocando lo siguiente.

<?php
print views_embed_view('view-list-team','page');
?>

Alguien ya a podido implementar vistas embebidas?, gracias de antemano.

Saludos

Read more
Subscribe with RSS Syndicate content