Success again, this time with block-random and using just one album

Uncategorized Comments Off
Feb 252010

The last thing I’ve been trying to do was get gallery to only display images from a specific album (for the Judd family site). I used to do this using an iFrame and passing variables via php but for some reason while the iFrame still worked the php script stopped passing any variables at all.

If figure it has something to do with the new server but modifying the global register in php.ini didn’t do squat. So I did the next best thing…figured out how to modify the block-random.php script manually to only pull from the kid’s pictures album (which is all I need).

 

//      $album = chooseAlbum();
$loadthisalbum = “Baby-pictures”;
if ($loadthisalbum) {
        $album = new Album();
        $album->load($loadthisalbum);
}

It’s a lot better than the iframe stuff I was using and all I had to do was save a new copy of the block-random to use just for that site.

Finally....success!

Uncategorized Comments Off
Feb 252010

I’ve been trying to get a random picture thing working like I did originally with MovableType but wasn’t having any luck with WordPresses method of editing templates. It’s not as forward as with MT and utilizes a lof of php calls that I just don’t understand.

Anyways I was trying to use the “arbitrary text” widget that came with WordPress and having no luck with a php include. Example:

Well it turns out that somebody put out a php code widget that does what I need. Thank god cause using iFrames was not going to cut it due to the limitations of style they have (can’t modify text color or background…wtf?).  So now finally…a month after the server change I finally feel like the site is mostly back up and running.

wordpress and widgets

Uncategorized Comments Off
Feb 232010

Why does wanting to add something on a sidebar in wordpress have to be so difficult? In Movable Type I could just edit the HTML but apparently I have to create a whole new widget and import it for wordpress?

Facebook, Twitter and OpenID oh my!

Uncategorized 2 Responses »
Feb 182010

So one of the things I’ve been wanting to add for a while was support to leave comments via other social sites like Facebook or Twitter.

I mean typepad was supported in Movabletype of course and I think OpenID was but I couldn’t find any real good support for Facebook via MT 5.0. Of course switching over to WordPress and there’s a plugin called RPX which seems to work pretty good. I’m going to play with it a bit more and see how well it works.

yes...i'm not done working with it

Uncategorized 4 Responses »
Feb 152010

I have to say that I was really let down by MT 5….so I”m giving wordpress a test drive.

I’m sure I”ll be able to import the database…i’m more interested in the themes and integrating facebook commenting.

Hello world!

Uncategorized Comments Off
Feb 152010

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

© 2011 dennisjudd.com Suffusion theme by Sayontan Sinha