Sorted this out myself.....I actually wasn't too far off when I posted this initially. I just needed to find the correct event to trigger the aspectRatio update. Turns out to be I needed to override smartImage.js toolClicked() method and reset the aspectRatio via setAspectRatioUI, then re-trigger on...
Neither of those links address the problem I've posted. i have already changed the configuration to remove the "free crop" aspect ratio and added my own configuration. What i want to do is have my custom aspect ratio default to the selected aspect ratio, rather than the user need to select it.
I have succesfully changed the aspectRatioConfig for a html5smartimage component to replace the default "Free crop" with a custom aspect ratio, however I'm struggling to find a way to select my custom aspect ratio as the default selection when cropping images. Essentially, I want to default to my cu...
Apologies...updated the question with the correct link (http://experience-aem.blogspot.com.au/2015/03/aem-6-sp2-touch-ui-coral-ui-nested-multi-multifield.html)I realise there is an install package. I installed that package then modified the _cq_dialog to suit my usage.Even that package throws "CUI i...
Using AEM 6.1 and have created a nested multifield dialog based on this example (http://experience-aem.blogspot.com.au/2015/03/aem-6-sp2-touch-ui-coral-ui-nested-multi-multifield.html)I'm seeing an error "CUI is not defined" thrown at line 169 in the nested-mulitfield.js.Any one else experience th...
Shekhar,Thanks, that was actually the first place I went before I undertook this piece of work. I'm not sure you understood my question. Perhaps I should explain it differently.The targeting mode option DOES NOT APPEAR in the edit modes list. I would have assumed once the cloud services were configu...
I have created a cloud services configuration for DTM, which includes my s_code.js & mbox.js files and have also created cloud services configurations for target & analytics client accounts for a new site, however I don't see 'targeting' in the author editing modes list.How do I enable "targeting" ...
Is it possible to force refresh when switching to preview mode in TouchUI?In Classic you can set the previewReload:"true" when launching the sidekick (see below), however I can't find anything similar to enable this in Touch UI.ClassicUI<script data-sly-test="${!wcmmode.disabled && !wcmInit.isTouchA...