In this forth Alchemy Training Video I’ll show you how easy it is to create a popup window for your plugin.
When building a GUI extension it’s best to only show your functionality when relevant, this behaviour starts with the buttons you add to the Ribbon Toolbar and the Context Menu.
In this second video, I perform a quick review of the Alchemy Starter Project (SP). The SP provides a basic hello world project. It’s recommended to go through the project and rename some items and add your own icons this, this is all covered.
If you have used SmartTarget, you will probably know that the security model for managing promotions is pretty basic – you either have rights to manage promotions or you don’t. On my current implementation we have different business units managing their own SmartTarget promotions for various sites and applications, all within the same CMS, so all able to view, edit (and accidentally break!) each others promotions. This post shows a simple solution we came up with to ensure each user could only manage appropriate promotions.
I’m in the process of creating my first Alchemy Extension that uses custom configuration settings and I thought I’d share some learning as I go as I think it’s safe to say a good chunk of all extensions will use some sort of custom configuration.
I’ll let the video do most of the talking (yeah, I did a video walkthrough of the basic functionality), but the basic premise is this: on a whim (and a challenge from John), I set about creating an Alchemy plugin from scratch. Prior to this my experience with UI extensions was minimal, but Alex and John have been hooting for weeks that developing an Alchemy plugin is about a thousand times easier than creating one from scratch. So I accepted, and wrote a theme manager that allows for previewing, installing, and all sorts of other shenanigans… and a (mostly) complete theme… in less than a week.
This is a follow up post on my previous post about a tree-view item picker. Right now, this Tridion GUI extension works well for rich text fields : when you click a button in the ribbon toolbar, you get a popup with a number of keywords, and when the user selects a keyword, some property of that keyword is inserted in the rich text field.
Now, the same functionality had to be achieved for regular text fields. Tridion has a lot functionality available for dealing with RTF fields, but extending this to regular text fields requires some extra custom coding
Recently, I was asked to build a Tridion GUI extension that would let users insert a key of a Keyword in a rich text field. Users would have to click a button in the ribbon toolbar, get a list of keywords, pick one, and the GUI extension would work it’s magic.
There are some nice examples of this to be found here, so i managed to wrap up a solution pretty quick, and life was good.
After some testing, it turned out that the amount of items in the dropdown would grow to large – if you have only 10 or 20 items to pick from, that’s fine, but what if there are hundreds…
So, a new requirement was added : “can we not have a dropdown of keywords, but a tree view, so users would be able to drill-down to find the keyword they want”.