http://extrafatloss.com,我做了个SLIDESHOW,已经设置图象点击,链接到NODE,但现在图象无法点击,哪能里有问题? 论坛: 有问有答 原来可以点击么,还是一直都不能点击.看看Views里面这个 原来可以点击么,还是一直都不能点击. 看看Views里面这个字段的设置,link to its node。 "node-slide.tpl.php" error? <div id="node-<?php print $node->nid; ?>" class="slide"> <?php print theme('imagecache', 'slideshow', $node->field_slide_image[0]['filepath']); ?> <? if (!empty($node->content['body']['#value'])): ?><div class="tagline"><?php print $node->content['body']['#value']; ?></div><?php endif; ?></div> 以上是"node-slide.tpl.php" 的code,是不是应该在其中指定图像链接到NODE?如果要这么做,能否帮忙改以上的CODE? 我不使用上面的TPL 文件,而是使用node.tpl.php,结果图象可以链接到NODE。 看不懂你的问题,你用什么模块,这个node-slide.t 看不懂你的问题,你用什么模块,这个node-slide.tpl.php是你自己加的还是模块自带的 "node-slide.tpl.php" "node-slide.tpl.php"自己加的, 用的是nodegueue 和VIEW SLIDESHOW 模块 你用print_r输出一下吧,然后从里面的变量拼凑出想要的 你用print_r输出一下吧,然后从里面的变量拼凑出想要的效果。通常学要这样的。
"node-slide.tpl.php" error? <div id="node-<?php print $node->nid; ?>" class="slide"> <?php print theme('imagecache', 'slideshow', $node->field_slide_image[0]['filepath']); ?> <? if (!empty($node->content['body']['#value'])): ?><div class="tagline"><?php print $node->content['body']['#value']; ?></div><?php endif; ?></div> 以上是"node-slide.tpl.php" 的code,是不是应该在其中指定图像链接到NODE?如果要这么做,能否帮忙改以上的CODE? 我不使用上面的TPL 文件,而是使用node.tpl.php,结果图象可以链接到NODE。
原来可以点击么,还是一直都不能点击.看看Views里面这个
原来可以点击么,还是一直都不能点击.
看看Views里面这个字段的设置,link to its node。
"node-slide.tpl.php" error?
<div id="node-<?php print $node->nid; ?>" class="slide">
<?php print theme('imagecache', 'slideshow', $node->field_slide_image[0]['filepath']); ?>
<? if (!empty($node->content['body']['#value'])): ?><div class="tagline"><?php print $node->content['body']['#value']; ?></div><?php endif; ?>
</div>
以上是"node-slide.tpl.php" 的code,是不是应该在其中指定图像链接到NODE?如果要这么做,能否帮忙改以上的CODE?
我不使用上面的TPL 文件,而是使用node.tpl.php,结果图象可以链接到NODE。
看不懂你的问题,你用什么模块,这个node-slide.t
看不懂你的问题,你用什么模块,这个node-slide.tpl.php是你自己加的还是模块自带的
"node-slide.tpl.php"
"node-slide.tpl.php"自己加的,
用的是nodegueue 和VIEW SLIDESHOW 模块
你用print_r输出一下吧,然后从里面的变量拼凑出想要的
你用print_r输出一下吧,然后从里面的变量拼凑出想要的效果。通常学要这样的。