tpl

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

Array de Imagens no .tpl

Boa Tarde,

Estou a criar um .tpl para um tipo de conteudo...onde quero criar uma Div lateral com um um campo de imagens que pode ter número ilimitado de imagens.

já tentei este código e não consegui...alguém já tentou fazer isto ?

<?php
foreach ($node->field_fotopagina as $image) {
                  if(
$image['filepath']){
                     
$img_thumbnail = theme('image_style', 'recorte', $image['filepath'], '',$image['data']['title']);
?>
Read more
Jeff Burnz's picture

Core template conversion methodology - cart before the horse?

The way we have been approaching changes to core templates has, at least afaict, been a piecemeal affair - we change one or two templates at a time working through the various markup issues until such time as we have some broad consensus and ta da, here's our new template.

This bottom-up-esque methodology seems reasonable because we we are not overhauling the entire system at any one time and are just looking to adjust or tweak parts of it.

I think this has worked OK in the past, however I tend to think this methodology has a few drawbacks.

Read more
eliezer2708's picture

Como manipular multiples sites en drupal 6

Buenos Días Amigos,

tengo varias dudas con respecto al potencial de drupal, les comento un poco espero puedan ayudarme.
en mi trabajo ya se usa drupal pero la persona que lo uso ya tiene un año que se fue, con lo cual no me quedo mucho rastro de lo que hizo.

se quiere tener diferentes plantillas con sus respectivos css para publicar diferente tipos de información.

Read more
pixelsweatshop's picture

Author Information

I was wondering if anyone had any ideas about how I can get that nice Author Info that get's presented at the bottom of blogs and articles in OP to also go on my custom content type?

Read more
Subscribe with RSS Syndicate content