John’s Blog

Its Just another WordPress weblog.. Really!

Archive for the ‘UCM Components’ Category

Tuesday
Feb 17,2009

Alot of the time, I find that clients usually want the ability to modify the fields displayed on the homepage.
So what I often do and I dont know why stellent/oracle haven`t done this, is update the HOME_PAGE template with the advanced search screen resource includes and add the following global rule (#active.Page like “HOME_PAGE”) in config manager to modify the contents displayed..

WARNING:: Do not overwrite the HOME_PAGE template with the advanced search template.. As this will screw up your portal when you next regenerate it..

Attached is the simple component that replaces the HOME_PAGE give it a go.

You`ll need to setup the fields to hide within a global rule with the following activation condition - (#active.Page like “HOME_PAGE”). If you have any probs just ask ;)

Sunday
Oct 19,2008

Sorry guys, besides not being able to upload them due to server issues, my external usb freeagent harddrive  fell off my table :’(
And the usb to sata connector, well the usb port was damaged. I spent 3 hours trying to resolder it back on, but in the end gave up and did the next best thing:- went onto ebay and bought a usb - sata housing for the hard drive which Im praying is ok.

I could of plugged the HD it into my pc but I was too lazy.. it would of meant more wasted time from the Oracle UCM Portal component Im working on..
So hopefully this weekend I will be able to get the data back off the HDand post my components if not I`ll cry.. Back to the drawing board.

Heres the cheap housing I went for.

Saturday
Oct 4,2008

Over the next month or so I will be releasing a list of tiny components, which I’ve developed whilst working with Stellent & the Oracle UCM.
These components will be free!! ;) And will all be defined under the Creative Commons: Attribution-Share Alike 3.0 Unported.

If you do use any of them, then all I ask is that you contribute $5, to buy me a pint down my local pub.



And if you do modify the component - please send me a copy, I`d love to see what you guys have done with them.

J.

Thursday
Apr 24,2008

If you have a UCM environment with contribution -> consumption servers: you will find that some contributors will try to edit sites directly from the consumption server and will find that they cannot enter contribution mode if DisableSiteStudioContribution=true.

Users can still press the key combo “Ctrl + Shift + F5″ even if the configuration DisableSiteStudioContribution=true is set. This will refresh the page, however will not redirect them to the consumption server to allow them to edit the page.

I have created a quick little component that resolves this issue and redirects users to the Contribution server, so that they can edit files on the fly.

The component appends the following javascript to update the URLBase variable with the Contribution server address within the ss_layout_head_info.

if (SSContributorMode.UrlBase.indexOf('<$consumption$>')){
SSContributorMode.UrlBase = SSContributorMode.UrlBase.replace('<$consumption$>', '<$contribution$>');
}

Small bug with the Wordpress JS code generator - please reference code in component.
As some idoc appears with < > within JS code gen!

You will need to update the environment settings and specify the contribution, consumption address within the component..

You can download the component here.

Please check Other posts before downloading this component::

1. Update:: Consumption to Contribution Ctrl Shift F5 redirect.

2. Guide:: Disable “ctrl + shift + f5″ Site Studio contributor option.

Update of this component will be released in the next couple of days! ;)
Keep an eye out in the downloads section..

Wednesday
Apr 23,2008

EXT have released a new version of their great Javascript framework V2.1.

I love using EXT and I think it has to be one of the best frameworks currently available; especially for application development. Where as JQuery + Prototype are lightweight frameworks, which are great for developing websites and systems that don`t require indepth widgets.

What I find great is that it also allows integration of additional frameworks like - jQuery, YUI, Prototype + Scriptaculous. So you can still include existing functions into EXT based project.

Oracle/Stellent implements the YUI library using a component which places their Javascriptand CSS files in the weblayout/resources folder. Using that same concept, and following the Scriptaculous component which David Roe has developed, I have done the same to keep these JS framework components consistent..

I have also allowed for addition environment paramaters that can be passed to the header.
Debug=True/False
Adapter=EXT/JQUERY/PROTOTYPE/YUI
Locale= - Currently not available as I haven`t included language support in this instance of EXT.

For those of you who wish to use the EXT framework with Stellent / Oracles UCM and have a corporate EXT license I have created this easy install component:

Oracle / Stellent Content Server EXTjs component.

Feel free to download it, if you like it and want to use it commercially goto EXT and buy a license..