ucar

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);
?>

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:

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

No Meeting

Today the meeting was canceled, but I feel a need to write where I'm at... I created a table that explains the projects I've worked on since they were discussed at the last meeting, shown below projects.xls.

Upcoming Meeting

I sent out an email today reviewing what I'd like to cover tomorrow. One of the main things is that I'd like to make the common pages conform to a similar layout. In particular I'm going over these pages: contact, staff list pages, and staff professional pages. Also, I'd like to make it so the SERE site is the main internal site. The ISSE site has an internal page and another page that both cover similar things. I believe these all can be rolled into one.

Another Day...

404 Fun:
Today I added a snippet to track my 404 pages with google analytics, I recieved from this site.

<script type="text/javascript"
src="http://www.google-analytics.com/urchin.js">
</script>
<script type="text/javascript">
_uacct = "xxxxx-x";
urchinTracker("/404.php?page-not-found=" + _udl.pathname + _udl.search + "&linked-from=" + _ubd.referrer);
</script>

ISSE Sweep

Today's main goal was cleaning up ISSE. I've pretty much deleted all of the forwarders and replaced them with a custom error message. This '404.php' page trys to be all encompasing of every file I know I delete or change.

This Error document is broken into the following areas with the following custom scripting:

  • All jsp files that were on a root level. These files have all been converted to php.
Syndicate content