XS66 Posted April 26, 2012 at 03:18 PM Report #451602 Posted April 26, 2012 at 03:18 PM Boa Tarde Pessoal, Tenho um slideshow para DRUPAL7 e falta-me associar os links as imagems como faço isso no código? <div class="big-slideshow-wrapper"> <?php $slideshowId = rand(1, 10000); ?> <?php foreach($node->field_image["und"] as $node) {?> <img src="<?php echo check_url(file_create_url($node["uri"])); ?>" alt="<?php echo check_plain($node["alt"]) ?>" title="<?php echo check_plain($node["title"]); ?>" /> <?php }?> </div> <nav class="slider-nav"></nav>
ruimcosta Posted April 29, 2012 at 11:39 PM Report #452170 Posted April 29, 2012 at 11:39 PM <img src="<?php echo check_url(file_create_url($node["uri"])); ?>" alt="<?php echo check_plain($node["alt"]) ?>" title="<?php echo check_plain($node["title"]); ?>" /> Aqui tens a tag que mostra a imagem. Antes da imagem falta-te o <a href="#"> e depoix da imagem falta-te o </a> Trocas o # pelo link desejado Abraços e beijinhos,Rui Costa
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now