Blogs

New drigg-distr.tgz released!

in

Him

This was _way_ overdue. I have released a new version of drigg in drupal.org, and have updated drigg-distr.tgz. I have also documented drigg-distr.tgz WAY better. Now, drigg-distr.tgz uses the latest Drupal 5.9, which fixes some problems and helps with performance.

PLEASE UPDATE your site!

I am glad the new drigg-distr.tgz is there. This means that people doing the express install will get the latest drigg.

Bye!

Merc.

Have a watermark image on videos

Watermark on Drigg video uploads

  • Create a watermark image of a camera or a film-reel, or something like that. Make sure that watermark’s background is transparent. Put that image in your theme’s /img folder. NOTE: make sure that the image is small , like 16x16 or something like that. This is because this watermark image will be displayed ON TOP OFF your video thumbnail, and therefore will not link to the actual video node that you want to watch.

  • Go to Admin -> Settings -> Drigg -> Embedded Objects and add this where it says “What to show after embedded objects:”:

How to Set Up the RSS Feed Importer

This tutorial explains how to import news from RSS sources straight into Drigg.

  • Go to Admin>Build>Modules
    • Enable the Drupal module News Aggregator.
    • Enable the Drigg RSS Feed Importer.
  • Go to Administer>By Module>Drigg RSS Feeder>Drigg RSS Module General Settings.
  • Set the time in seconds which will be used to randomly place scoops into your content.
  • Add any keywords which will be used to match to imported RSS feed stories, comma seperated, with NO SPACES.

  • Go to Administer>By Module>Aggregator>News Aggregator. You will see List, Add Category, Add Feed, Settings tabs.

Editing Properties of Blocks

FILES: page.tpl.php, css/blocks.css

Step 1

Open up your page.tpl.php and blocks.css files.

Step 2

Look at our page.tpl.php

You will notice that all of the elements on the page are inside a div tag called “container”. All elements are place within this div. It’s just something to help you keep the page all neat and organized. Next, you need to figure out which blocks you wish modify. The default Drigg template is setup in 3 columns or 3 content blocks. They are all under one universal div called “content”.

Each one has class and id attributes set accordling to each div, to recognize each. Theres left, center, and right content columns, or

Centering your entire site

FILES: css/base.css

Step 1

Open up your base.css file.

Step 2

You are then presented with this. Of course theres more, but this is all we will be working with! Next, just simply add the style rule “text-align:center;” to your file, anywhere between the brackets in your body style as shown below. This just tells the server to center all the text in the body of the website. Of course it’s not text we are trying to center, its the container, but it recognizes it as a text element, and thus centers it.

Syndicate content