Content

webmaster's picture

Embed Flash Video (swf files ) in Drupal

in

If you want to embed Flash video either in your node or you theme check the following node

http://drupal.org/node/80776

Its as simple as putting following code in your page.tpl.php or your node ( FULL HTML Format)

admin's picture

How to adjust Teaser Length and make it zero length?

in

In Drupal 4.7 you have to go to : administrator > settings > posts>> . The default teaser is 600. You can adjust it to 200 - 2000.

To make the teasers to zero length you will have to update your node.tpl.php file & add a "if" block ( if page == 0 ). Here is the example snippet of one of the node.tpl.php. Make sure you modify your theme's node.tpl.php


">
<?php print $picture ?>
<?php if ($page == 0): ?>
"><?php print $title ?>
<?php endif; ?>

admin's picture

How do I allow voting on teasers?

in

a )
The only contributed module that allows voting on teasers is "Vote up and down". The limitation of using this module is there is no rating based on 1 -5 or 1- 100. Users can only vote up or down. And the number of votes determines the popularity of the post.

The good thing is using this module you can make your site like digg.com.

b) Another contributed module Tweakbox by user acp is considering to implement this functionality in future version of tweakbox so you can rate on teasers.

's points

Points are visible to logged in users only

descriptionvalue
Members2661
Posts217
Comments114
Reads today
Reads all time
Hits today0