They may sound like the silver bullet to kill all silver bullets.
But judging from the swearing coming from the Systems Administrator from the other side of the desk lately, I think I may steer clear of them for a little while yet.
A short blog designed to show all the interesting things I pick up while working with PHP based websites.
Tuesday, 29 November 2011
Monday, 28 November 2011
Pimcore and it's Jekyll and Hyde-ness
I am playing with Pimcore to try and learn what it can do, as well as for a friends website. I was having all sorts of issues with getting it to work, however, mainly because some PHP extensions weren't installed locally. Or it wasn't the up to date version. I'm not really sure which.
So after installing php5-imagick (sudo apt-get install php5-imagick) I seem to have fixed the issues with the image uploader and viewing images while editing content.
So that got me to playing with thumbnails to constrain an image to the size I wanted it to be. And that's when I discovered you can automatically make images have rounded corners. How cool is that??
So many options hidden in this CMS that I don't think I'll ever fully understand it.
So after installing php5-imagick (sudo apt-get install php5-imagick) I seem to have fixed the issues with the image uploader and viewing images while editing content.
So that got me to playing with thumbnails to constrain an image to the size I wanted it to be. And that's when I discovered you can automatically make images have rounded corners. How cool is that??
So many options hidden in this CMS that I don't think I'll ever fully understand it.
Thursday, 22 September 2011
jQuery mouseleave and Flash wmode
I ran into an odd isuue today while trying to get some sliding content to hide/show. I'm using the .animate() method and .mouseleave() to get my desired effects.
That worked fairly easily, but then when I added a flickr slideshow to one page the mouseleave() for the container the flash was in, the event was being triggered when the mouse entered the flash object.
Luckily at work there is a very experienced Flash Dev* who helped with this one. I thought it would be the wmode parameter, I just had no idea what it should be or where to put it.
In the end it was wmode='opaque'. It defaults to window, but it can also be transparent. In this case, as there were no flash parameters to set I simply added it as an attribute of the embed tag and the mouseleave() event is now being fired correctly.
For most problems there is Google, but gee it's great to be able to ask someone.
* Yes, he is very excited about Flash 11
That worked fairly easily, but then when I added a flickr slideshow to one page the mouseleave() for the container the flash was in, the event was being triggered when the mouse entered the flash object.
Luckily at work there is a very experienced Flash Dev* who helped with this one. I thought it would be the wmode parameter, I just had no idea what it should be or where to put it.
In the end it was wmode='opaque'. It defaults to window, but it can also be transparent. In this case, as there were no flash parameters to set I simply added it as an attribute of the embed tag and the mouseleave() event is now being fired correctly.
For most problems there is Google, but gee it's great to be able to ask someone.
* Yes, he is very excited about Flash 11
Subscribe to:
Posts (Atom)