ucar's blog

Drupal tricks

I'm a little behind on all the things we've been working on around here. I just came across an interesting way to include one node into another and thought it was interesting enough to start a new entry. So place the following code into a node as php format and you can include other nodes inside nodes:

<?php
$node = node_load(464);
print node_view($node);
?>

Animated gifs using Video and Adobe Flash

Everyone here loves using powerpoint for their presentations, which means that I need to create animated gifs for these. One thing to note right away is that Powerpoint will not play an animated gif that isn't looped. So if you don't want to loop your animated gif, you can use the maximum allowed delay time on the final frame 240 seconds (you still have to loop it though). If this still isn't enough time you should:

Google Grants

Today I ran across a google grant page, which apparently gives grants to non-profits with 501(c)(3) status. After a little investigation it turns out SERE is under this status. So the whole idea is running past legal currently, but if this is approved this could be a way to run google ads for free!

Cleaning up - Fixing up

Today I rearranged web_dev completely. Although some of the root folders still stand, I cleaned out what I could. This was all of course backed up onto my own machine for now. I’m pretty sure none of this stuff is needed that was deleted and what might be needed was archived in the correct location. This will be an on going process, but I think it’s already easier to navigate around and find psd’s and get to the correct site, without the confusion of having multiple sere, ccb, isse, asp folders under main.

Mid-March Madness

Today’s meeting touched on many different things going on and has given me some direction on where we should be going with some of the directory structuring. We decided to have an images and docs folder inside each folder that requires such and not have a central location for all docs and images. But we are going to structure web_dev in a more logical way by placing all non-web files (files that don’t go on the web) in a separate folder. I’ve delegated many tasks to others and some to myself:

Dreamweaver wildcards with regular expressions and more

Just so I don't lose this again I'm going to place in the syntax to use a wild card in Dreamweaver using regular expressions:
[^"]*
I looked everywhere for this one day after losing it and today I found it again. This is very helpful for searching for possible broken links or an array of misc info. This wild card helps make my life much easier during particular tasks

Google Chatback

I just recently came across google chatback, which is a new google chat service that allows you to place a chat box on your website allowing you to talk to your users through gtalk. They don't have to be a google user themselves nor do they need to identify themselves. Although this opens obvious doors for getting spammed, this is a really cool service for certain web sites and blogs. I'm sure this could be usable for some of the scientists around here and it's definitely something I'm going to try to incorporate on my own website.

Categorizing CCB

Today I sat down with DJan and asked her to help me categorize all of the folders that are in the CCB folder that aren't relevant to the ccb site alone and we came up with the following list of categories:

  • workshops
  • programs
  • publications
  • projects
Syndicate content