Trololo…

Not long now…





Originally uploaded by digitaljohnuk


Impressive Sculptures by Adam Beane

Modeled using a material called CX5 that he developed himself. Soft like clay when warm, hard like plastic when cold. Stunning!

More on his website here.

Busy Night



Busy Night, originally uploaded by johnui.

ModX eForm Bug

I have been following this tutorial:
http://wiki.modxcms.com/index.php/Multilanguage_eForm

But unfortunately the current eForm release (1.4.4.5) has a bug that affects this tutorial. You cannot have a language variable with the eform=”" attribute! So given their example, if you submit the form it would output something like this:

Some errors were detected in your form:
The following required field(s) are missing:, ,

I found the problem and to resolve load up eform.inc.php and replace line 186:

Original:
$desc = $fld[1];

Replace with:
$desc = formMerge($fld[1],$_lang);

Hope this helps some people!

Odd characters within MODX Snippet Parameters

Some installs of MODX have issues parsing quotes and equals within snippet parameters. So solve this change the code in document.parser.class.inc.php.

Original part of code (MODx 0.9.5) of this function looks like:


function evalSnippets($documentSource) {
...
$snippetParamCount= count($tempSnippetParams); // Find this place of code. It's near the end of function
for ($x= 0; $x < $snippetParamCount; $x++) {
if (strpos($tempSnippetParams[$x], '=', 0)) {
if ($parameterTemp= explode("=", $tempSnippetParams[$x])) { // here's the problem!
$fp= strpos($parameterTemp[1], '`');
$lp= strrpos($parameterTemp[1], '`');
if (!($fp === false && $lp === false))
$parameterTemp[1]= substr($parameterTemp[1], $fp +1, $lp -1);
$parameter[$parameterTemp[0]]= $parameterTemp[1];
}
}
...
}

To fix the issue, this part of code should be changed to:


function evalSnippets($documentSource) {
...
$snippetParamCount= count($tempSnippetParams);
for ($x= 0; $x < $snippetParamCount; $x++) {
$param = $tempSnippetParams[$x];
$eqPos = strpos($param, '=', 0);
if ($eqPos) {
$parameterTemp[0] = substr($param, 0, $eqPos);
$parameterTemp[1] = substr($param, $eqPos+1);

$fp= strpos($parameterTemp[1], '`');
$lp= strrpos($parameterTemp[1], '`');
if (!($fp === false && $lp === false))
$parameterTemp[1]= substr($parameterTemp[1], $fp +1, $lp -1);
$parameter[$parameterTemp[0]]= $parameterTemp[1];
}
}
...
} // end of method

Flex / ArrayCollection / Sort delay?

Hey:

Im having a little issue with the FLEX Sort class with an ArrayCollection. It seems sorting is not instant? In my application I get data, sort it, then set the dataprovider of a List to the sorted data.

Visually, the application shows the data in its unsorted form, then a couple of moments later the List refreshes and shows the sorted data.

Is there a workaround?

Flex Project + Browser Resize + Safari?

Hi:

I just came across a strange bug with either Safari or the Flash Player…

My current Flex projects resizes correctly when the user resizes the browser, but for some reason on Safari it only detects changes to width of the browser. If you are careful and resize the browser vertically the flash does not resize at all!

Example:

  1. Use Safari, Mac or PC
  2. Browse to: http://www.milesaldridge.com/
  3. Resize the browser carefully vertically
  4. Be amazed that the flash content does not scale! (unless you accidentally scaled horizontally)

Has anybody encountered this problem before? Is there a workaround for this?

abilify buy online
prescription accutane
price of acetaminophen
order aciphex online
acomplia rx
actonel drug
generic actos
advair usa
purchase aleve
allegra usa
buy cheap altace
aricept fda approval
arimidex medication
ashwagandha comparison
discount astelin
atacand tabs
atarax medicine
order augmentin
buy avandia visa
purchase avapro
avodart caps
bactrim pills
benadryl pharmacy
no prescription benicar
biaxin on line
best price for buspar
generic cardizem
celebrex no prescription
celadrin pill
buy cephalexin cod
cialis dallas
cipro usa
clarinex rx
claritin fda
clomid caps
buy clonidine online
buy colchicine in us
buy coreg us pharmacy
coumadin drug
cozaar pills
creatine pill
price of crestor
price of cymbalta
cytotec fda approval
cheapest depakote
diclofenac cost
order cheap differin online
diflucan pharmacy
diovan pharmacies
doxycycline tablet
buying effexor
purchase flagyl online
flomax reviews
buy fluoxetine cod
gabapentin without prescription
glucophage reviews
hoodia medicine
hydrochlorothiazide no prescription
buy ibuprofen us pharmacy
isotretinoin tablets
keppra canada
lamictal pharmacies
lamisil
lasix reviews
order levaquin in UK
levitra pharmacy
lexapro on line
lipitor information
generic lisinopril
generic for meloxicam
generic for metformin
methotrexate medication
micardis fda approval
discount mobic
motrin drugs
neurontin drug
nexium tablet
nizoral dallas
nolvadex usa
pantoprazole information
generic for paxil
order prednisone
generic for phentermine
plavix information
price of premarin
prevacid pill
prometrium no prescription
propecia no prescription
provera pharmacies
cheapest prozac online
cheap reglan
reminyl dallas
rimonabant medication
risperdal drugs
buy rogaine fast
seroquel canada
singulair caps
skelaxin without prescription
strattera medication
synthroid fda
tetracycline pill
buy topamax online
toprol
toradol drugs
tramadol tablet
best price for trazodone
cost of tricor
buy trileptal fast
ultracet fda approval
valtrex pill
viagra caps
voltaren without prescription
vytorin reviews
wellbutrin
yohimbe generics
generic for zantac
zetia comparison
zithromax no prescription
zoloft fda
buy zovirax cod
zyban fda
buy zyprexa visa
zyrtec information

TextArea.htmlText FIXED!

I have been having an issue with setting htmlText with img tags embeded. Usually the first time you set the htmlText of a text field it is ok, but when you set it again you get an error:

The supplied DisplayObject must be a child of the caller

There was no elegant solution to this so I have created one. Here it is…


package ****{
import mx.core.mx_internal;
use namespace mx_internal;

import mx.controls.TextArea;

public class FixedTextArea extends TextArea{
public function FixedTextArea(){
super();
}

override public function set htmlText(value:String):void{
mx_internal::removeTextField();
mx_internal::createTextField(-1);

super.htmlText = value;
}

}
}


It’s never been easy to download movies.

Vote Hector!