Drupal and Flickr Integration
When trying to Integrate Drupal with Flickr.com , the following modules will be helpful. There are basically two types of integration
- Where you want Flickr Images as nodes in Drupal.
- Simple integration where you show Flickr Images but they are not nodes on your drupal site
First you will have to make the decision as to which of the two approaches you want to go with. In either case it will be assumed that you have valid Flickr Account and Flickr Key.
Uploading large audio files and Bulk uploading.
If you are using audio module in drupal there is a limit to size of audio files which can be uploaded. After much research I have found that the following can be used to increase the filesize limit of audio files. and also to bulk upload your audios
Random Node or Front page in Drupal like Stumbleupon
What I really wanted was that every day my website should be updated with some random previous content, that way the visitors see new content if they visit everyday.
There are couple of methods to do this. First you can create a block and display it in homepage with 1 node in it. You can name it as spotlight or something, or you can create your entire front page with random content. In this method the content will be randomized upon refresh it wont be updated daily. Lets look at the first method.
Embed Flash Video (swf files ) in Drupal
If you want to embed Flash video either in your node or you theme check the following node
Its as simple as putting following code in your page.tpl.php or your node ( FULL HTML Format)
How to adjust Teaser Length and make it zero length?
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; ?>
How do I allow voting on teasers?
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.
- 1 comment
- 2578 reads



