Archive for May, 2007

Wanted to offer some props…

Saturday, May 5th, 2007
Well, I haven't caught his name yet, but I found a fellow "give something back" person who has provided me with some great information. Because if his assistance, I wanted to offer up a small amount to him via a link. So if you're looking for more WordPress and ZenCart stuff, and can't find it here (which is very possible, as I'm pretty small right now!), then feel free to look at the goodies "andrabr" has to serve up. There's a lot of goodness over there, and I'm getting ready to dive in. I found him via this conversation on integrating WordPress with ZenCart. Very nice. I also wanted to share a nice little plugin I wrote tonight. It's probably my first "official" one, and I'm sure it needs to be cleaned up. I'll probably play with it more. Anyway, someone on one of the lists I'm on is trying to get a dynamic stylesheet to work with WordPress. She has a client who needs a different background image to show up depending on what page you're on. Normally, you'd simply accomplish something like this just by using typical WP stuff: <php if(is_page('1')) { ?> do stuff for page ID #1 <?php } ?> However, the client needs to maintain themselves, and if they ever add or delete a page in the future, they would have no idea how to edit the code to get the new background to show up. (Or, if they did, they'd probably screw it up - or many other things could happen.) So she needed it to be as dynamic as possible. In a perfect world, the client would create a page, add in content, and upload an image (with the same name as the page), and it would be done. Happily enough, I figured it out!

“You don’t have permission to do that”

Saturday, May 5th, 2007
One of the most frustrating thing with WordPress is when you are happily moving along, and you come to a comment, or an old post, or an unused category - something like that - and you want to delete it. You click the "Delete: button associated with that link, and nothing happens. You stare at the screen for a bit, maybe hit the button a couple more times to see if maybe it was a weird glitch or something, then you notice it. A little message at the bottom of the screen. "You don't have permission to do that."

Editing Easy Populate to recognize extra description fields

Tuesday, May 1st, 2007
Now, in my last post, I had said that if I could figure out how to edit Easy Populate to accept and distribute my extra description fields, I would be golden. Well, call me "the Golden Child". I did it. Now I will share with you how I did it so you may gleam with me.