Wiki Markup |
---|
h2. Overview {excerpt}Ever wanted to allow users to capture a bunch of links in a property that you can output? You could always use the FarCry CMS Link content type, but its a bit unwieldy, especially if your links are really only related to one specific content item and don't make sense in a library. Well you are in luck :){excerpt} Blair has put together a great little "formtool" that captures links and their labels with a nifty jQuery UI, and stores them in a WDDX packet. Deploy it in your project by creating a folder called ./[myprojectnamehere]/packages/formtools and saving the linkwddx.cfc file. Then you can apply the formtool to any longchar property you may have in a content type. !formtools.png! And when you are done: !formtools02.png! h2. The Code {gist}:http://gist.github.com/240003.js{gist} PS. the jQuery plugin we're using seems to have some quirkiness with WebKit, so you may notice in the code that there is a less elegant method of rendering the UI for Safari et al |
Page Comparison
Manage space
Manage content
Integrations