UCM : contributor : customizing FCKEditor / wysiwyg buttons

Hello,
we'd like to customize the FCKEditor in several ways :
- modifying some labels of object properties in the wysiwyg
- adding a "line spacing" button/function in the wysiwyg
- "edit link" properties : displaying or not some fields and tabs like "advanced" , "target", "Advisory Content Type", "Linked Resource Charset", "Language Code", "Language Direction", ...
- "image properties" : displaying or not some fields and tabs like "advanced" , "Long Description URL", "Stylesheet Classes", Language Code", "Language Direction", ...
Thanks for clues !
Vince

found information here : [ http://download.oracle.com/docs/cd/E14571_01/doc.1111/e10613/c11_scripts.htm#BEIEDBEF]
Site Studio ships with several sample custom configuration scripts. These samples are checked into the content server with the xWebsiteObjectType metadata value of "Custom Configuration Script" when the Site Studio component is installed on the content server.
The following scripts are the included samples:
FCKeditor-Compatible Sample Scripts
* ss_fck_simple_command.js - This sample script is an example of a simple FCKeditor command. This particular example implements an FCKeditor command, toolbar button, and menu item.
* ss_fck_image_command.js - This sample script is an example of an FCKeditor command that overrides the existing "ssImage" and "Image" commands. In this example, the commands are redefined and the existing Image toolbar button and context menu items are re-used.
* ss_fck_load_multiple_commands.js - This sample script shows how to load multiple Custom Configuration Scripts.
* ss_fck_template_command.js - This sample script enables users to insert pre-defined HTML.

Similar Messages

  • How can I add a custom made share button for Facebook?

    Hi!
    I have built a custom "share"-button for Facebook (with an additional layer for rollover/active states, using photoshop), but I don't know how to make it work?
    What code do I have to use, or can I just create a link using my button? What would the adress be?
    I googled this but couln't find anything that helped...
    Thanks in advance!

    It doesn't appear so simple Tobi. The image is pulled from Facebook's servers and the button in itself is an altogether different HTML page from Facebook shown on your site within an iFrame.
    I found something similar to your request (this requires PHP support on your server). Please check the below link.
    http://www.daddydesign.com/wordpress/how-to-create-a-custom-facebook-share-button-with-a-c ustom-counter/
    Thanks,
    Vikas

  • Custom close / exit button in HTML widget

    Hi,
    how to set a custom close / exit button in a HTML widget for iBooks Author? I want to replace or hide the standard button in the top left corner.
    I already tried some JavaScript but nothing seems to work so far. Where can this button be modified or disabled and how to create a custom one?
    Best regards

    Hi Ken,
    thanks for your reply.
    It's good to hear that this button can be changed.
    It would be interesting to know how this can be achieved. Any hints?
    Best regards

  • How to add custom link or button to task details page to open a different t

    Dear All
    In HumanTasks Workflow, On task details page, I want to add a custom link or button. Clicking on this link or button, should load a different task details page.
    The exact business usecase is like this:
    1. We have some human tasks with very detailed payload like about 100 attributes. When the task is submitted for Approval, we send notification emails. These emails shows the Task Details with all these 100 attributes along with standard Approve, Reject buttons etc. NOW in addition to this, we want to add extra custom button/link like Custom View. When we click on this buton or link, it should replace the task details page with the Custom task details page contents. The reason is most of the managers/approvers access their emails on smart phones like iphones. So in these phones, seeing full task details (100 attributes) is very tedious. So we want to provide a simplified view of same task with very minimum attributes like about 10 with Approve, Reject buttons. Now this compact view details will have a button called Detailed View on click on which it loads details page.
    So we want to have 2 pages for a task:
    taskDetails1.jspx -> Has all 100 attributes with a custom button/link called "Compact View". Click on Compact View switch to below page.
    taskCompact1.jspx -> Has only 10 attributes with a custom button/link called "Detailed View". Click on Detailed View switch to above page.
    1. I tried implementing this using the VacationRequest sample where the payload is like creator, startdate, enddate, reason. I already have taskDetails1.jspx page, which shows this information in the email body.
    2. I want to add another button to taskDetails1.jspx so that when I click on it, I want to load a different page like taskCompact.jspx which has only say creator, reason.
    I already added a link and gave the url with parameters like taskId, taskContext etc which I got from bindings, but nothing is displayed when I click on custom button. The taskId, context values are comming correctly in the url.
    So bottom line, what is the URL that I can provide in the task details page, to load a different task details page contents. I want to pass other taskdetails jsp details.
    Please let me know, if there is any other approach to implement this usecase.
    Thanks in advance
    Ravi Jegga

    Hi,
       I am not sure if you can add your own custom buttons to the application tool bar because your table control is in a sub screen area in a standard screen so the menu area would be controlled by the standard screen and not the subscreen , but along side the table control you can give buttons for scrolling and handle the same in the subscreen if you check the FM EXIT_SAPLMEREQ_002 it has a variable IM_UCOMM which would have the ucomm set in the subscreen so here you can handle your user command to scroll on the table control.
    Regards,
    Himanshu

  • Implement custom logic on button in Oracle CRM on demand

    Hi,
    we wanted to know the approach of how to implement our custom logic through button click (which is vanilla) in Oracle CRM on Demand

    Pl do not post duplicates - Add logic behind 'Update Opportunity Totals' button in Oracle CRM On Demand

  • Example: Customized Segmented ToolBar Buttons

    Hi,
    I have some mistake when I tried the example [Customized Segmented ToolBar Buttons|http://fxexperience.com/2012/02/customized-segmented-toolbar-buttons/] from Richard Bair.
    My css
    #background {
        -light-black: rgb(74, 75, 78);
        -dark-highlight: rgb(87, 89, 92);
        -dark-black: rgb(39, 40, 40);
        -darkest-black: rgb(5, 5, 5);
        -mid-gray: rgb(216, 222, 227);
        -fx-background-color: -mid-gray;
    .segmented-button-bar .button {
        -fx-background-color:
            -darkest-black,
            -dark-highlight,
            linear-gradient(to bottom, -light-black 2%, -dark-black 98%);
        -fx-background-insets: 0, 1 1 1 0, 2 1 1 1;
        -fx-background-radius: 0;
        -fx-padding: 0.4em 1.833333em 0.4em 1.833333em;
    .segmented-button-bar .button.first {
        -fx-background-insets: 0, 1, 2 1 1 1;
        -fx-background-radius: 3 0 0 3, 2 0 0 2, 2 0 0 2;
    .segmented-button-bar .button.last {
        -fx-background-insets: 0, 1 1 1 0, 2 1 1 1;
        -fx-background-radius: 0 3 3 0, 0 2 2 0, 0 2 2 0;
    .segmented-button-bar .button:pressed {
        -fx-background-color:
            -darkest-black,
            rgb(55, 57, 58),
            linear-gradient(to top, -light-black 2%, -dark-black 98%);
    }My fxml
    <BorderPane
        fx:controller="de.pro.typwriter.welcome.WelcomeActivity"
        xmlns:fx="http://javafx.com/fxml">
        <top>
            <HBox alignment="top_right" styleClass="segmented-button-bar">
                <children>
                    <Button text="About" onAction="#onActionGoToAbout" styleClass="first" />
                    <Button text="Help" onAction="#onActionGoToHelp" styleClass="last" />
                </children>
            </HBox>
        </top>
    </BorderPane>When I have the links styleClass="first" and styleClass="last" in the css-file this exception is thrown:
    SEVERE: javafx.scene.control.Control impl_processCSS The -fx-skin property has not been defined in CSS for Button@100bac2[styleClass=first]
    SEVERE: javafx.scene.control.Control impl_processCSS The -fx-skin property has not been defined in CSS for Button@e51b2c[styleClass=last]After removing the links in the buttons the following exception is thrown:
    WARNING: com.sun.javafx.css.StyleHelper lookup caught:
    java.lang.ClassCastException: java.lang.String cannot be cast to javafx.scene.paint.Paint
         at com.sun.javafx.css.converters.PaintConverter$SequenceConverter.convert(Unknown Source)
         at com.sun.javafx.css.converters.PaintConverter$SequenceConverter.convert(Unknown Source)
         at com.sun.javafx.css.Value.convert(Unknown Source)
         at com.sun.javafx.css.StyleHelper.lookup(Unknown Source)
         at com.sun.javafx.css.StyleHelper.lookup(Unknown Source)
         at com.sun.javafx.css.StyleHelper.transitionToState(Unknown Source)
         at javafx.scene.Node.impl_processCSS(Unknown Source)
         at javafx.scene.Parent.impl_processCSS(Unknown Source)
         at javafx.scene.Parent.impl_processCSS(Unknown Source)
         at javafx.scene.control.Control.impl_processCSS(Unknown Source)
         at javafx.scene.Parent.impl_processCSS(Unknown Source)
         at javafx.scene.Parent.impl_processCSS(Unknown Source)
         at javafx.scene.Parent.impl_processCSS(Unknown Source)
         at javafx.scene.Parent.impl_processCSS(Unknown Source)
         at javafx.scene.Parent.impl_processCSS(Unknown Source)
         at javafx.scene.Parent.impl_processCSS(Unknown Source)
         at javafx.scene.Parent.impl_processCSS(Unknown Source)
         at javafx.scene.Node.processCSS(Unknown Source)
         at javafx.scene.Scene.doCSSPass(Unknown Source)
         at javafx.scene.Scene.preferredSize(Unknown Source)
         at javafx.scene.Scene.impl_preferredSize(Unknown Source)
         at javafx.stage.Window.adjustSize(Unknown Source)
         at javafx.stage.Window.access$700(Unknown Source)
         at javafx.stage.Window$13.invalidated(Unknown Source)
         at javafx.beans.property.BooleanPropertyBase.markInvalid(Unknown Source)
         at javafx.beans.property.BooleanPropertyBase.set(Unknown Source)
         at javafx.stage.Window.setShowing(Unknown Source)
         at javafx.stage.Window.show(Unknown Source)
         at javafx.stage.Stage.show(Unknown Source)
         at de.pro.typwriter.manager.TypWriterManager.initApplication(TypWriterManager.java:122)
         at de.pro.typwriter.TypWriter.start(TypWriter.java:34)
         at com.sun.javafx.application.LauncherImpl$5.run(Unknown Source)
         at com.sun.javafx.application.PlatformImpl$4.run(Unknown Source)
         at com.sun.javafx.application.PlatformImpl$3.run(Unknown Source)
         at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
         at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
         at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:662)
    WARNING: com.sun.javafx.css.StyleHelper lookup styleable = 'artificial' StyleableProperty {property: -fx-background-color, converter: Paint.SequenceConverter, initialValue: <Value>
      <value values="1">
        <Value>
          <value>Color[red=0,green=0,blue=0,opacity=1.0]</value>
          <converter>null</converter>
        </Value>
      </value>
      <converter>Paint.SequenceConverter</converter>
    </Value>
    WARNING: com.sun.javafx.css.StyleHelper lookup resolved = <Value>
      <value values="3">
        <Value lookup="true">
          <value>-darkest-black</value>
          <converter>null</converter>
        </Value>
        <Value lookup="true">
          <value>-dark-highlight</value>
          <converter>null</converter>
        </Value>
        <Value>
          <value values="7">
            <Value>
              <value>0.0%</value>
              <converter>null</converter>
            </Value>
            <Value>
              <value>0.0%</value>
              <converter>null</converter>
            </Value>
            <Value>
              <value>0.0%</value>
              <converter>null</converter>
            </Value>
            <Value>
              <value>100.0%</value>
              <converter>null</converter>
            </Value>
            <Value>
              <value>NO_CYCLE</value>
              <converter>null</converter>
            </Value>
            <Value>
              <value values="2">
                <Value>
                  <value>2.0%</value>
                  <converter>null</converter>
                </Value>
                <Value lookup="true">
                  <value>-light-black</value>
                  <converter>null</converter>
                </Value>
              </value>
              <converter>StopConverter</converter>
            </Value>
            <Value>
              <value values="2">
                <Value>
                  <value>98.0%</value>
                  <converter>null</converter>
                </Value>
                <Value lookup="true">
                  <value>-dark-black</value>
                  <converter>null</converter>
                </Value>
              </value>
              <converter>StopConverter</converter>
            </Value>
          </value>
          <converter>LinearGradientConverter</converter>
        </Value>
      </value>
      <converter>Paint.SequenceConverter</converter>
    </Value>
    WARNING: com.sun.javafx.css.StyleHelper lookup node = ButtonSkin[id=null, styleClass=button]Any idea?
    NetBeans 7.1, Windows XP, JavaFX 2.0.2

    I haven't tried the code locally, but I'm sure that this is due to Richard building his demo with the developer preview JavaFX 2.1, which features numerous improvements to FXML. I note you're using the JavaFX 2.0.2 GA release. If you are in a developer environment (i.e. you aren't deploying to end users), you may want to consider upgrading to JavaFX 2.1 Developer Preview builds. You can go here to download the builds (and note that the builds are updated weekly):
    http://www.oracle.com/technetwork/java/javafx/downloads/devpreview-1429449.html
    -- Jonathan

  • Pdf hangup in Stellent UCM contributor mode

    Hey all,
    I am having a problem when I try to make a contributor change to one of my pages. I select the page then select the "Choose External URL..." layout in Manager/Contributor mode to load my pdf. Once I put in the URL and click OK, the contributor page just hangs/sits there. It won't let me click "Apply". I have to refresh the page to get the hangup to go away and repeated attempts to load this pdf (and other pdfs in different pages) all hang up. This happens even though I have the latest IE and Firefox.
    What could be causing this issue?
    Your help will be appreciated.

    The CDF can be edited and saved and does not show any wf icon.
    What do you mean by site id for the CDF? Under the metadata field websites I have set it to myWebsiteName, it is set by pressing browse and then putting a check in the box next to the website you want to assign it to. The criteria for the workflow is Field: "Account" matches value: "Customer". The Account is set to Customer on the CDF metadata field. This does kick off a workflow because I get a notification but I have to reject and approve through ucm not contributor mode.
    I have a second test site that I will try a workflow on but I am pretty sure the green icon is not working on that one either. =\

  • UCM contributor green gear

    The green gear icon is not showing up while in contributor mode when an item is in a work flow. What are the configurations that we should check to ensure this icon is enabled?
    It is my understanding that a contributor can click on this icon and accept, reject or edit using this icon, is that correct?
    Thanks

    The CDF can be edited and saved and does not show any wf icon.
    What do you mean by site id for the CDF? Under the metadata field websites I have set it to myWebsiteName, it is set by pressing browse and then putting a check in the box next to the website you want to assign it to. The criteria for the workflow is Field: "Account" matches value: "Customer". The Account is set to Customer on the CDF metadata field. This does kick off a workflow because I get a notification but I have to reject and approve through ucm not contributor mode.
    I have a second test site that I will try a workflow on but I am pretty sure the green icon is not working on that one either. =\

  • How to display the report output from a customized Oracle Form button

    Hi Gurus
    I developed a customized oracle form and one customized report. I want to run report from oracle customized form, for this i use one button to submit concurrent request for request.
    its successfully submitted and i can view output by using View ----> Request --------> Find -------------> Output...
    But problem is that how can i view output by using button not doing all steps to view output.
    Regards,

    Hi Haq Nawaz,
    Refer Here
    Regrads,
    Guru

  • Initial load of data to UCM for Customer Hub PIP

    Hi,
    What is the recommended approach to have XREF tables populated during an initial load to UCM (via EIM), when the Accounts already exist in Siebel CRM?
    Our approach as of now, using EIM, is as follows:
    1) Set required customer information in EIM_UCM_ORG
    2) Look up the customer's existing Row_ID in Siebel, and populate EIM_UCM_ORG.EXT_SYSTEM_NUM and EIM_UCM_ORG.UCM_EXT_ID) accordingly
    3) Run the EIM job and UCM Batch Process to import the customer into UCM
    The account then appears in UCM with the correct reference to siebel/row_id under the "external account IDs" tab. HOWEVER, it also contains a reference to a newly created duplicate record for that account in Siebel. Looking at the xref tables, there is no reference to the existing Siebel/row_id specified in the EIM batch load, and our hypothesis is that this is the reason the account cannot be found (and a duplicated is created). What we want to achieve here is to tell UCM that the accounts we are inserting do infact already exist in Siebel CRM, and can be identified by the row_id that we pass along.
    The relevant system versions are Customer Hub PIP 11g with AIA 3. Siebel CRM and Siebel UCM are on patch 8.1.1.7 (and pertinent ACRs have been incorporated in the two Siebel instances).
    Any hints or suggestions on how to approach this would be appreciated
    -M
    Edited by: 968713 on Nov 1, 2012 5:05 AM
    Edited by: 968713 on Nov 1, 2012 5:05 AM
    Edited by: 968713 on Nov 1, 2012 5:06 AM

    Do you really need to populate the XREF table/transaction History table for initial load?

  • Open a custom dialog when button is pressed.

    I have a custom dialog that I want to display another custom dialog. I cannot get it work correctly. Everytime I add a function that will show the 2nd dialog It will show before the 1st one is loaded and then nothing happens when I click the dialog on the first!
    I seem to be missing something big? I have not even started to try to get the value of the 2nd dialog and return it to the first!
    Any help!!!!?
    Here is some of the code
    function showAddTokenDialog ()
        LrFunctionContext.callWithContext('showAddTokenDialog', function( context )
            local f = LrView.osFactory()
            tokenprops  = LrBinding.makePropertyTable(context)
            props.token = "val"
            -- Create the contents for the dialog.
            local token = LrView.bind('token')
            local AddTokenDialog = {
                bind_to_object = tokenprops,
                title = "Add Token",
                actionVerb = "Add Token",
                actionBinding = LrView.bind('action'),
                contents = f:row {               
                    f:static_text {
                        alignment = "right",
                        width = LrView.share "label_width",
                        title = "Token "                   
                    f:popup_menu {
                        value = LrView.bind('val'),
                        items = tokenItems,
                        width_in_chars = 15
            result = LrDialogs.presentModalDialog(AddTokenDialog)
        end)
    end
    function Mine.showCustomDialog()
        LrFunctionContext.callWithContext("showCustomDialogWithObserver", function(context)
            props = LrBinding.makePropertyTable(context)
              local c = f:row {
                                            f:static_text {
                                                alignment = "right",
                                                --width = LrView.share "label_width",
                                                title = "Caption: ",
                                                width_in_chars = 10
                                            f:edit_field {
                                                --place_horizontal = 0.5,
                                                --bind_to_object = tableTwo,
                                                value = '',
                                                height_in_lines = 2,
                                                width_in_chars = 20
                                            f:push_button {
                                                title = "Add Token",
                                                -- When the 'Update' button is clicked
                                                font = '<system/small>',
                                                action = showAddTokenDialog ()
              LrDialogs.presentModalDialog(
                    title = "Barcode Match",
                    contents = c
        end) -- end main function
         end

    See http://htmldb.oracle.com/pls/otn/f?p=24317:91
    The Toggle button does what you need.
    The button has a URL of Toggle(). The function Toggle
    is defined as
    <script>
    function Toggle()
    var txt=html_GetElement('P91_TEXT');
    txt.disabled=!txt.disabled;
    if (!txt.disabled) txt.focus();
    </script>
    I don't want to seem ignorant but where do I put this code of the function toggle. I don't seem to see a URL anywhere in the button. Maybe I'm using a different button type then you.
    Aron

  • Integrating WebCenter Interaction 10gR3 with UCM Contributor 11gR1

    Hello,
    I found there are services such as WCM_BEGIN_EDIT_SESSION to do it but I wonder what is really available within a WCI portlet.
    For instance :
    - does it give access to the placeholder menu (like in a site studio website) ?
    - does it highlight the contribution region too ?
    - if yes, does it give access to the same options like "switch content", "document info", "edit" ?
    - Is the edit form available from WCI like a site studio website ?
    - Is the FCKEditor working as well in an edit form from WCI as from a site studio website ?
    - when switching content, can we browse into UCM and/or local system ?
    - would you have already done such integration showing it is feasible ?
    Thanks for any clue !
    Regards,
    Vince

    I found answers in this thread :
    Re: Services in SiteStudio Designer WCM_PLACEHOLDER and WCM_BEGIN_EDIT_SESSION
    Thanks !

  • Why are my custom groups and buttons at QAT deleted each time I restart Outlook?

    I created 3 template emails in my Outlook 2010 and added them to a group under Home Tab and also tried adding them to the QAT. In both cases, each time I reset Outlook, my customized templates are gone from the ribbon.

    Hi,
    How did you add the template emails to a group under Home tab?
    Did you have any group policy set in your environment to restore your Outlook settings after each reboot?
    Please come back and provide more information so that we can fix the problem more efficiently.
    Meanwhile, please refer to the two links below to check if it helps:
    How to Open Outlook Templates and Files using Toolbar Buttons
    http://www.slipstick.com/outlook/hyperlink-templates/
    How to add shortcuts to template in Ribbon in Outlook?
    http://www.extendoffice.com/documents/outlook/1324-outlook-add-template-shortcut.html
    Best Regards,
    Steve Fan
    TechNet Community Support

  • How do I stop custom MD form button refresh?

    I've added a custom button to my master-detail form. It invokes a JavaScript function that calculates the totals of the columns of textboxes on the screen. But when the button is clicked, it refreshes the screen. This means that it loses all the totals when the screen finishes refreshing.
    I found that the button automatically adds doEvent() to the end of the JavaScript, causing the refresh. How do I stop it from doing this???
    Thanks,
    Carey

    Hi,
    Dont give any event for the button. Dont select "custom". Only have a javascript event.
    Thanks,
    Sharmila

  • Web Viewer embedded (custom domain) and button url not work!!! (Urgent!!!)

    Many sorry for this question - we have a Web Viewer embedded (custom domain) that have all url (button with open in browser) that not work!
    On tablet (Apple + Android) the button work great but on web viewer they do not work!
    Any ideas to solve?
    I see it: Where to place add externalLinksOpen : 'window' to FrameService?
    web viewer URL links

    Any ideas to solve?

Maybe you are looking for

  • I have tried everything I've run across for "A copy of Firefox is already open. Only one copy of Firefox can be open at a time."

    I had to fully erase all Mozilla/Firefox files from my Mac (OS X), including my profile (I backed up the bookmarks first). I had to as there were issues pointing to erasing it completely as a last step. I have a two-fold issue. One is that I kept del

  • FSMO Replication Error

    I have been getting a pattern of errors on my DC. I have two pair of eyes on these errors, but everything seems to running ok. The only issue we've had is our workstations were putting out the "Trust domain relationship failed..." error. We were able

  • Getting a single line from a JTextArea

    I have a JTextArea with a fixed size. I've used the .setLineWrap(true) and .setWrapStyleWord(true) on this JTextArea, so when the user types in some text, that's longer that the JTextArea, it will wrap unto the next line. I need to get each visible l

  • Problem exporting notation from score to PDF in Logic 8. Top line of staff displaced a 1/6th note when exported.

    When I export drum notation from the score to pdf, it shifts the top line of the staff over by a 16th note. It looks the way I want in the program, but only does this when exported. I'm using Logic 8. Anyone know how to fix this? See the pictures att

  • T-SQL to PL/SQL

    Hi, I'm trying to convert some code in T-SQL into PL/SQL (see below). The trouble is that my PL/SQL is mediocre and my T-SQL is almost non-existent. Short of spending the next couple of months learning T-SQL is there an easy way to convert the code b