More fields customized in eCommerce, Possible?

I have a client who needs more custom fields to enter data on its products.

How is it possible to do?

It is as it is. You can make a web application by the section and put a module in a custom field for a bit more but there is a management more with it. There are other people with similar proposals saying "Yes it is possible," but it's a management more and not really viable for the client.

So, really, the answer is no.

Tags: Business Catalyst

Similar Questions

  • Forms - sign me up-more fields, I can do

    Hi, I can make more fields "I want to register", for the tick/check in adobe forms muse? Like this one below... Jacob

    Screen Shot 2014-Sign me up for.png

    Hi Jacob,

    You can not add checkbox fields to a form in Muse. However, you can do in Business Catalyst. For more information, please visit the following link http://docs.businesscatalyst.com/videos#! / crm/web-forms/creation-form-custom fields

    Kind regards

    Aish

  • to add more fields to a report just below existing fields

    Hello
    there is report in which the following fields are displayed
    
    jobnumber   customername  rig              well  
     124             abc                 r-90            w-10
    
    
    the requiremnt is to add more fields  and place them just below the above fields
    this enitre thing is in  a main frame  say M_GP
    the job number ,customer name is in another main frame  say M_HD
    and the data 124 etc is in a  repeating frame R_date
    
    ie M_GP encloses M_HD and R_date
    
    kindly guide as to how to include the remaining fields just below these fields so tht the 
    output looks like this
    
    jobnumber   customername  rig              well  
     124             abc                 r-90            w-10
    
    contract    material SIR service_SIR     Service_or_num
    12455         48878        9909090           28278
    
    all these fields r part of the same query and same table
    
    
         select OPN_JOB_DESC  "Job Number",
    ENTRY_DATE "Date",
    RIG "Rig",
    WELL "Well"
    ,JOB || '-'  || JOB_TYPE  "Job Type",
    CUSTOMER_NAME "Customer",
    SERVICE_ORDER_NUM "Service Order No:",
    MATERIAL_SEQ   "Material SIR",
    SERVICE_SEQ      "Service SIR",
    CONTRACT           "Contract"
    from xxnp_opn_joblog_001
     where OPN_JOB_DESC =:P_JOB_NUMBER
    kindly Guide

    thanking in advance

    Hello
    Keep the labels and fields both repeating frame and define the position that you have demonstrated.

    -Clément

  • Development/unfocus field custom button problem

    Hi all

    I have something weird happens.  I have a custom button field that swaps the images based on a focused state or blur.  I have been using this field custom for awhile now, and I have never had any problems.  Imagine the following provision:

    ______________    ________________________

    | Custom button |    | BasicEditField |

    ------------------------    ------------------------------------------

    When my screen is launched, the focus is on the custom button.  If I move the trackball in a downward movement, the focus is taken the custom button, and its background image changes adequately to what has been defined in the untargeted State.  The BasicEditField then has the focus.  This is the correct behavior.

    If, however, I move the trackball in a movement to the right to the BasicEditField, then the BasicEditField will indeed get the focus, however the custom button field always displays its "highlight" picture  Using print statements, I was able to determine that when I move in a movement to the right with the trackball, the custom field button loses the focus and then gets the focus back to back, that's why it shows the highlighted image.

    Additional info:  This isn't an issue on touch devices, and custom button Manager is a TableLayoutManager.

    Any ideas why this might be happening?  Here's the code to my custom button field:

    public class BitmapButtonField extends Field {
        private String text = "";
        private Bitmap bitmap;
        private Bitmap bitmapHighlight;
        private Bitmap b;
        private boolean highlighted;
    
        public BitmapButtonField(String image, String imageHighlight, long style) {
    
            super(style | Field.FOCUSABLE);
    
            this.bitmap = Bitmap.getBitmapResource(image);
            this.bitmapHighlight = Bitmap.getBitmapResource(imageHighlight);
    
            b = bitmap;
    
        }
    
        public BitmapButtonField(String text, String image, String imageHighlight,
                long style) {
    
            super(style | Field.FOCUSABLE);
    
            this.text = text;
            this.bitmap = Bitmap.getBitmapResource(image);
            this.bitmapHighlight = Bitmap.getBitmapResource(imageHighlight);
    
            b = bitmap;
    
        }
    
        protected void drawFocus(Graphics graphics, boolean on) {
            // Do nothing
        }
    
        public int getPreferredHeight() {
            return bitmap.getHeight();
        }
    
        public int getPreferredWidth() {
            return bitmap.getWidth();
        }
    
        protected void layout(int width, int height) {
            setExtent(getPreferredWidth(), getPreferredHeight());
        }
    
        protected boolean navigationClick(int status, int time) {
            fieldChangeNotify(1);
            return true;
        }
    
        protected void onFocus(int direction) {
            b = bitmapHighlight;
            invalidate();
            System.out.println("FOCUSED");
    
        }
    
        protected void onUnfocus() {
            b = bitmap;
            invalidate();
            System.out.println("UNFOCUSED");
        }
    
        protected void paint(Graphics graphics) {
    
            int topTextPadding = (b.getHeight() - getFont().getHeight()) / 2;
            int sideTextPadding = (b.getWidth() - getFont().getAdvance(text)) / 2;
    
            graphics.drawBitmap(0, 0, getWidth(), getHeight(), b, 0, 0);
            graphics.setColor(Color.WHITE);
            if (text.length() > 0) {
                graphics.drawText(text, sideTextPadding, topTextPadding,
                        Graphics.ELLIPSIS, b.getWidth());
            }
        }
    }
    

    Have you looked at navigationMovement in the TableLayoutManager?  I confess that I rewrote it because it handles no left and right as I wanted.  Perhaps, you might be able to do the same thing.

  • Is it possible to display a dialog box with the fields/custom controls for the Windows Vista login screen to the top.

    Hello

    In Windows XP (prior to Windows Vista), a Service could be interactive and display a window/dialog on the login screen.

    Of course services are no longer allowed to be interactive, and certainly, I agree that it is an improvement in security.

    However, say if I wanted to do one of the following values, which is possible (and how to implement). I don't mind what language I have to set in.

    (1) add a button in the login screen that says "Reset Password" which will then invite a form with questions of security.

    (2) run an application within the login window

    Really appreciate any help on this matter,

    Mark

    Hi Mark,

    The question you posted would be better suited in the MSDN Forums; We recommend that you post your question in the MSDN Forums to get help:

    http://social.msdn.Microsoft.com/forums/en-us/categories

    See the following for more information Microsoft article.

    http://blogs.msdn.com/b/securitytools/archive/2009/07/30/how-to-build-custom-logon-UI-s-in-Windows-Vista.aspx

    http://blogs.technet.com/b/Aho/archive/2009/11/15/custom-credential-provider-for-password-reset.aspx

    Keep us updated on the status of the issue.

  • Generation of XML to add more fields?

    I have several tables. My requirement is to generate an XML file for each relationship manager hierarchically. So far, I'm able to generate the XML file below (shown the output below). However, I have 2 data more tables that must be attached and add some fields such as acc_type, acc_code and txn_code in the respective file in XML. But I could not add these fields. Can someone suggest a solution to add these fields? Also is there a way to generate the XML file for each relationship manager dynamically. (Note I used a where clause clause to pull records for rltp_mngr = 10). Looking to combine the rltp_mngr and generate a XML file automatically instead of one.

    drop table rltp_mngr;
    drop table product;
    drop table cust;
    drop table account;
    drop table transaction;
    drop table acctype;
    drop table txntype;
    
    create table rltp_mngr(rltp_id number,rltp_name varchar2(50));
    Insert into rltp_mngr values(10, 'Phil');
    Insert into rltp_mngr values(20, 'Jack');
    
    create table product(rltp_id number,prod_id number,prod_name varchar2(50));
    Insert into product values(10,1, 'Personal');
    Insert into product values(20,1, 'Business');
    
    create table cust(rltp_id number,prod_id number,cust_id number,cust_name varchar2(50));
    insert into cust values(10,1,2,'Fixed');
    insert into cust values(20,1,2,'Fixed');
    
    Create table account(rltp_id number,prod_id number,cust_id number,acc_id number,acc_name varchar2(50),acc_balance number(18,2));
    insert into account values(10,1,2,3,'Savings',3000);
    insert into account values(10,1,2,7,'Savings',3000);
    insert into account values(20,1,2,3,'Savings',3000);
    
    create table transaction(rltp_id number,prod_id number,cust_id number,acc_id number,txn_id number,txn_amt number(18,2));
    insert into transaction values(10,1,2,3,4,500);
    insert into transaction values(10,1,2,3,5,500);
    insert into transaction values(10,1,2,3,6,500);
    insert into transaction values(10,1,2,7,8,500);
    insert into transaction values(20,1,2,3,4,500);
    
    create table acctype(rltp_id number,prod_id number,cust_id number,acc_id number,acc_type varchar2(5),acc_code varchar2(10));
    insert into acctype values(10,1,2,3,'X','ZZ');
    insert into acctype values(10,1,2,3,'X','YY');
    insert into acctype values(10,1,2,3,'X','AA');
    insert into acctype values(10,1,2,3,'X','BB');
    
    create table txntype(rltp_id number,prod_id number,cust_id number,acc_id number,txn_id number,txn_code varchar2(10));
    insert into txntype values(10,1,2,3,4,'11');
    insert into txntype values(10,1,2,3,4,'12');
    insert into txntype values(10,1,2,7,8,'11');
    insert into txntype values(10,1,2,7,8,'12');
    insert into txntype values(10,1,2,7,8,'13');
    
    
    select
                   XMLElement("transactiondetails",
                             XMLElement("rltp_id", rltp_id),
                             XMLElement("rltp_name", rltp_name),
                                (SELECT XMLAGG(XMLElement("product",
                                              XMLElement("prod_id", p.prod_id),
                                              XMLElement("prod_name", p.prod_name),
                                    (SELECT XMLAGG(XMLElement("customer",
                                                  XMLElement("cust_id", cust_id),
                                                  XMLElement("cust_name", cust_name),
                                             (SELECT XMLAGG(XMLElement("account",
                                                        XMLElement("acc_id", acc_id),
                                                        XMLElement("acc_name", acc_name),
                                                        XMLElement("acc_balance", acc_balance),
                                                    (SELECT XMLAGG(XMLElement("transaction",
                                                           XMLElement("txntrack",
                                                           XMLElement("txn_id", t.txn_id),
                                                           XMLElement("txn_amt", t.txn_amt))))
                                                    FROM transaction t
                                                    WHERE t.rltp_id                 =a.rltp_id
                                                    AND t.prod_id      =a.prod_id
                                                    AND t.cust_id        =a.cust_id
                                                    AND t.acc_id=a.acc_id)))
                                        FROM account a
                                        WHERE c.rltp_id=a.rltp_id
                                        AND c.prod_id=a.prod_id
                                        AND c.cust_id=a.cust_id)))
                                    FROM cust c
                                    WHERE p.rltp_id = c.rltp_id
                                    AND p.prod_id = c.prod_id)))
                                 FROM product p
                                 WHERE p.rltp_id = r.rltp_id )       
                                ) AS xml
    FROM
      rltp_mngr r
      WHERE rltp_id='10';
    
    
    
    

    Output:-

    <transactiondetails>
      <rltp_id>10</rltp_id>
      <rltp_name>Phil</rltp_name>
      <product>
        <prod_id>1</prod_id>
        <prod_name>Personal</prod_name>
        <customer>
          <cust_id>2</cust_id>
          <cust_name>Fixed</cust_name>
          <account>
            <acc_id>3</acc_id>
            <acc_name>Savings</acc_name>
            <acc_balance>3000</acc_balance>
            <transaction>
              <txntrack>
                <txn_id>4</txn_id>
                <txn_amt>500</txn_amt>
              </txntrack>
            </transaction>
            <transaction>
              <txntrack>
                <txn_id>5</txn_id>
                <txn_amt>500</txn_amt>
              </txntrack>
            </transaction>
            <transaction>
              <txntrack>
                <txn_id>6</txn_id>
                <txn_amt>500</txn_amt>
              </txntrack>
            </transaction>
          </account>
          <account>
            <acc_id>7</acc_id>
            <acc_name>Savings</acc_name>
            <acc_balance>3000</acc_balance>
            <transaction>
              <txntrack>
                <txn_id>8</txn_id>
                <txn_amt>500</txn_amt>
              </txntrack>
            </transaction>
          </account>
        </customer>
      </product>
    </transactiondetails>
    
    
    
    

    Expected results: -.

      <transactiondetails>
      <rltp_id>10</rltp_id>
      <rltp_name>Phil</rltp_name>
      <product>
        <prod_id>1</prod_id>
        <prod_name>Personal</prod_name>
        <customer>
          <cust_id>2</cust_id>
          <cust_name>Fixed</cust_name>
          <account>
            <acc_id>3</acc_id>
            <acc_name>Savings</acc_name>
            <acc_balance>3000</acc_balance>
            <acc_type>X</acc_type>
            <acc_code>ZZ</acc_code>
            <acc_code>YY</acc_code>
            <acc_code>AA</acc_code>
            <acc_code>BB</acc_code>
            <transaction>
              <txntrack>
                <txn_id>4</txn_id>
                <txn_amt>500</txn_amt>
                <txn_code>11</txn_code>
                <txn_code>12</txn_code>
             </txntrack>
            </transaction>
            <transaction>
              <txntrack>
                <txn_id>5</txn_id>
                <txn_amt>500</txn_amt>
                <txn_code/>
              </txntrack>
            </transaction>
            <transaction>
              <txntrack>
                <txn_id>6</txn_id>
                <txn_amt>500</txn_amt>
                <txn_code/>
              </txntrack>
            </transaction>
          </account>
          <account>
            <acc_id>7</acc_id>
            <acc_name>Savings</acc_name>
            <acc_balance>3000</acc_balance>
            <acc_type/>
            <acc_code/>
            <transaction>
              <txntrack>
                <txn_id>8</txn_id>
                <txn_amt>500</txn_amt>
               <txn_code>11</txn_code>
                <txn_code>12</txn_code>
                <txn_code>13</txn_code>
              </txntrack>
            </transaction>
          </account>
        </customer>
      </product>
    </transactiondetails>
    
    
    
    

    Thank you very much for your help odie_63. I will check this code and let you know as soon as possible.

  • How can I use a number of text field custom times?

    Hello

    is it possible to create a field of custom text so that I can reuse a class several times.

    If possible, then pls provide me an example.

    thankx.

    Similarly...

    [] customTextField = new customTextField myArray [2];

    myArray [0] = new customTextField();

    ...

    And you can do something like:

    MyArray [] TextField = new TextField [] {new TextField(), new customTextField};

  • Evaluation period for the stage of field custom object compare?

    I've never used an evaluation period during a stage of field of the custom object to compare on the canvas of the campaign and I want to confirm that she will be as I wait for him.

    We have a campaign that will send an email in nine batches, each a week after previous. I have a custom object with a field that contains the batch number (1-9) and I put nine steps to compare items customized on the canvas. The first checks to see if batch = 1, the second batch = 2, etc. I added a trial period of 7 days for the first eight steps. After I activated the campaign, I would expect all flow into the first stage of the decision and all those whose lot = 1 will immediately proceed to the stage of e-mail and the rest will wait seven days before moving on to the second decision, where everyone with batch = 2 will be moved to the stage left and e-mail everyone will wait for more than seven days, etc.

    I want to just make sure that this will be similar to, say, the Email step click on decision given that the data in the custom object will not change during the evaluation period, as it can to the other stages of decisions. And I don't want to accidentally send all nine lots at a time.

    Thank you.

    Hi Rob,

    This could work, as the Yes path would fire instantly and without the path would check during the evaluation period. Is there a reason to not only use a delay of a week between each stage of the decision well? A little more crowded, but perhaps more clearly during the audit of the canvas to the wire without having to enter each stage?

    See you soon,.

    Phil

  • SortItemsOn, method (sorts data by more fields)

    Hello

    I have a DataGrid that I want to be sorted by two fields in one place. (it works fine with one paid however)

    I use the SortItemsOn() method which, according to the documentation, sorts the elements of the current data provider by one or more of its fields.

    However, if I add two fields I get a weird result. for example

    datagrid.sortItemsOn ("Field1, Field2", Array.NUMERIC);

    Field1 is of date data type and the text field Field2 so maybe that is why he does not give the expected result.

    Thank you very much

    I know nothing about flash.  There are several for flex.

    but for flash, just make your own by using a custom sort. for example,.

    function sortGridF (): void {}

    var datagrid.dataProvider = dp:DataProvider;

    dp.sortOn (["Field1, Field2"], Array.NUMERIC);

    }

    p.s. Please check the useful/correct.

  • How to apply animations to field custom in blackberry?

    I have created a custom field and want to apply the animation to this field how this should be done? is there any api available to directly link animation to custom field? Please send the code.

    No, you must do it yourself

  • Custom Zoom steps possible?

    I just got a screen of 4 k. 31.5 inches (140dpi)

    Then when I open a Photoshop of a Web site design and display 100% his watch more little then in my browser that is being enhanced.

    So in photoshop, I have about 150% zoom view them both in the same size.

    But Photoshop is that the 100% to 200% zoom step, using the shortcut CTRL +.

    So I would add 150% as an additional step fixed zoom. Is it possible somehow?

    I know it can be done manually on the lower left each time. But that takes too much time typing every time.

    (Photoshop team, please also add 150% ui maginification instead of 200%, which is too much.)

    Save the code in a text file with the extension .jsx and place the file in the Photoshop subfolder below: Presets\Scripts. Restart Photoshop and you should see the script in the file > scripts menu. Record an action and run this script. You can assign a keyboard shortcut for it.

    #target photoshop
    setZoom (150);
    
    function setZoom( zoom ) {
       cTID = function(s) { return app.charIDToTypeID(s); };
       var docRes = activeDocument.resolution;
       activeDocument.resizeImage( undefined, undefined, 72/(zoom/100), ResampleMethod.NONE );
       var desc = new ActionDescriptor();
       var ref = new ActionReference();
       ref.putEnumerated( cTID( "Mn  " ), cTID( "MnIt" ), cTID( 'PrnS' ) );
       desc.putReference( cTID( "null" ), ref );
       executeAction( cTID( "slct" ), desc, DialogModes.NO );
       activeDocument.resizeImage( undefined, undefined, docRes, ResampleMethod.NONE );
    }
    
  • Custom interactive representatives possible?

    4.2.1

    Hello

    Searched online about this but to get answers from a couple of years back. Is it possible to have an interactive relationship with a dynamic where clause? If the report I would have something like

    Select empid, emp_name of emp

    and then where clause is built separately in a process that contains a pl/sql block that where all conditions, such as
    Begin
    
    if :P1_type = 1 then
    
     :WHERE_VAR := 'where name like 'Jon%';
    else
    
     :Where_var := 'where dept  = 10;
    end if;
    
    end;
    and then the variable is referenced in the interactive report.

    Is this possible?


    Thank you
    Ryan

    ryansun wrote:
    4.2.1

    Hello

    Searched online about this but to get answers from a couple of years back. Is it possible to have an interactive relationship with a dynamic where clause? If the report I would have something like

    Select empid, emp_name of emp

    and then where clause is built separately in a process that contains a pl/sql block that where all conditions, such as

    Begin
    
    if :P1_type = 1 then
    
    :WHERE_VAR := 'where name like 'Jon%';
    else
    
    :Where_var := 'where dept  = 10;
    end if;
    
    end;
    

    and then the variable is referenced in the interactive report.

    Is this possible?

    Lol there are different reasons related to the IR characteristics which mean that changes to the projection of report or the results outside the IR break the current IR view or saved IR reports. This means that the application of the IR must remain fixed.

    You have probably already found options for creating IRs on sources of dynamic data - unions, collections of APEX, views set, functions in pipeline. DPV may also be an option when you use a database of EE.

    For a simple example like the one above, use a union query with predicates that will cause unnecessary subqueries to remove:

    select empid, emp_name
    from  emp
    where name like 'Jon%'
    and   :p1_type = 1
    union all
    select empid, emp_name
    from  emp
    where dept = 10
    and   (:p1_type != 1 or :p1_type is null)
    

    (Although these predicates looks a lot more like something that would be used in an IR filter rather than a dynamic data source. Note that you can create dynamic links and the branches IR filters).

  • Form field custom CRM do not update/display

    Hello

    I have a problem with my user details form. I created a user details form, by inserting one on a page and then taking this form markup, because it doesn't seem to be a good way to insert these forms. In any case, everything seems to work fine for everything else except a field, which is a new one I just created.

    I have attached the html code for below.

    Is there something that I am missing? I added some data on CRM and it still does not show anything. It is the module reference, add it to the page gives constantly and is correct by looking at the references on the custom form of CRM.

    Any ideas? Any help is appreciated.

    The value may be different, but you're probably missing this:

    If you have custom fields of CRM, it must be there.

  • How can I combine 3 or more fields of text in a summary of editable text field?

    I am stuck and don't know where to start. I'm self-taught using Adobe LiveCycle and have found many answers here in the forums and by trial and error.

    I can't find or create the right java script or form calc to feed several text fields in a field.  My supervisor asked me to do it for the two sections of a form using Adobe LiveCycle Designer ES 8.2, I created.

    (1) merge all 3 user entered text fields to a user editable, summary, text field the end of the form.

    (2) merge all 24 entered by the user in the text fields to a user editable summary text field at the end of the form.

    Since they are all individual text fields in response to various questions, I can't use the overall liaison function. I don't want the summary text field to replace the individual text fields.

    Here's the java script I placed on the show: calculate * language: javascript Run: customer

    (1) PDStrengthWeaknessComments.rawValue + '_' + OCStrengthWeaknessComments.rawValue + + ' _' CEBAStrengthWeaknessComments.rawValue;

    Needless to say that these instructions do not work on my form. Someone with lots of experience or a degree in computer SCIENCE with kindness would help me?

    I suspect that you don't have the correct object references in the script.

    If 'PDStrengthWeaknessComments' is on another page, the script might look like:

    this.rawValue = page1.mySubform.PDStrengthWeaknessComments.rawValue +...

    If you select global assessment and click in the script editor. Then highlight the PDStrengthWeaknessComments object. Click on the script editor once again to make sure it is active. Press and hold down the control key and move the mouse over the object PDStrengthWeaknessComments. The mouse turns into a 'V '. Right-click the function key which is held on the PDStrengthWeaknessComments object. LC designer inserts the correct reference in the script for you.

    Finally, I would not use a sign less '-' in object names. It will be only to confuse LC Designer.

    Niall

  • graphic objects custom-is it possible?

    The task is to create my own map in illustrator which will interact with spreadsheets similar to existing graphics from Illustrator.  Is this possible?  Looks like an excersise script to set basic objects and layout settings, then one of these parameters (in this case a diameter) a link to an excel file prepared with measures unique-number of pixels.  A key element is that the table should be updated in the database is changed.

    Any ideas?

    Isn't fun script. It was a breeze (well - sort) to get something running for InDesign & top... Now translate into very different Javascript for Illustrator has proved more difficult than I thought!

    (There no way to align text vertically within its framework? It is now-of the sort, but it depends on the number of lines of text...)

    Type (or copy or import) your values in a new block of text. Separate the label and the value in a single tab. The values will be sorted automatically, and the greatest value will appear in the middle. the rest will be distributed nicely around the edge. I noticed my mathematical distribution isn't exactly the same as the sample you provided... even when you allow for a pixel here or there. I wonder why?

    For better or for worse, this is what it produces - the first tiebreaker will always be at an angle of 45 degrees, the rest is separated from each other by an exact distance of 5 points.

    and here's the script:

    //DESCRIPTION:Krazy Circular Diagrams
    // A Jongware Script 24-Sep-2010
    
    // Uses a tab-separated set of String / value data
    // which ought to be selected when running the script.
    // Use but do not abuse, please.
    
    if (app.documents.length == 0 || app.selection.length != 1 || !(app.selection[0].hasOwnProperty("baseline") || app.selection[0].hasOwnProperty("contents")))
    {
         alert ("Please select the text frame containing data");
    } else
    {
         var dataArray;
         var resultGroup;
    
         var parent_diameter = 100;
         var parent_position_x = app.activeDocument.activeView.centerPoint[0];
         var parent_position_y = app.activeDocument.activeView.centerPoint[1];
    
         var black = new GrayColor(); black.gray = 100;
         var white = new GrayColor(); white.gray = 0;
    
         dataArray = gatherValues(app.selection[0]);
         if (dataArray.length == 0)
              alert ("Unable to get sensible values .. please check");
         else
         {
              calculateValues ();
              resultGroup = app.activeDocument.groupItems.add();
              drawCircles(resultGroup);
         }
    }
    
    function gatherValues (fromItem)
    {
         var result = new Array();
         var l, line, lines, dataSource;
    
         if (fromItem.hasOwnProperty("baseline"))
              dataSource = fromItem.parentStory.contents;
         else
              dataSource = fromItem.contents;
    
         lines = dataSource.split ("\r");
    
         for (l=0; l position of center of B (anywhere)
              // oh, and distance from parent_center to child_center B is the same as to child_center A!
              // checking on Wikipedia, http://en.wikipedia.org/wiki/Law_of_sines
              // yields something like this ...
    
                   angle_diff = Math.asin ( ((dataArray[nextCircle+1][2]/2 + 5 + dataArray[nextCircle][2]/2)/2) / centerDistance);     // in Radians
                   angle_diff = 2*angle_diff * 180 / Math.PI;     // in Degrees
                   circleAngle = circleAngle - angle_diff;
              }
         }
    }
    
    function drawCircleAt (group, xpos, ypos, textAndSize, color, lineto_x, lineto_y, parentRad, angle)
    {
         var tframe, line;
    
    //     The connexion line, if any
         if (lineto_x != undefined && lineto_y != undefined && parentRad != undefined)
         {
              angle = Math.PI * angle / 180.0;
    
              line = group.pathItems.add();
              line.setEntirePath ( [[lineto_x + parentRad*Math.cos(angle),lineto_y + parentRad*Math.sin(angle)], [xpos - textAndSize[2]/2*Math.cos(angle),ypos - textAndSize[2]/2*Math.sin(angle)]]);
              line.filled = false;
              line.stroked = true;
              line.strokeWidth = 0.5;
              line.strokeColor = black;
         }
    
    //     The Circle
         circle = group.pathItems.ellipse (ypos+textAndSize[2]/2, xpos-textAndSize[2]/2, textAndSize[2], textAndSize[2]);
         circle.strokeColor = black;
         circle.strokeWidth = 0.5;
         circle.fillColor = color;
    
    //     The Text Frame
         tframe = app.activeDocument.pathItems.rectangle(ypos+textAndSize[2]/6, xpos-textAndSize[2]/2, textAndSize[2], textAndSize[2]/2);
         tframe = group.textFrames.areaText(tframe);
         tframe.contents = textAndSize[0];
         tframe.wrapInside = false;
         tframe.wrapped = false;
         tframe.textRange.hyphenation = false;
         tframe.textRange.justification = Justification.CENTER;
         tframe.textRange.textFont = app.textFonts.getByName("MyriadPro-Regular");
         tframe.textRange.characterAttributes.size = textAndSize[2]/6;
         tframe.textRange.fillColor = white;
    
    }
    
    function sortByValue (a,b)
    {
         a = Number(a[1]);
         b = Number(b[1]);
         return (a == b) ? 0 : (a < b ? 1 : -1);
    }
    

Maybe you are looking for

  • How can I fix it:

    http://i.imgur.com/PwGNBbo.png been going on since the last update, no anti-ad or anything else is on

  • Open doc attachents without Microsoft Office

    Every email client I've ever used automatically found WordPerfect to open doc files. I think that Thunderbird did this initially. But now he sends me to Microsoft which offers to sell me a Word. Why Thunderbird is not the default working program rath

  • Problem converting from FPGA-CAN data

  • Trash seems to restore instead of delete files

    I have a client that is running Windows XP Home Edition. The problem is a file is deleted and goes to the trash, he opens the tray and click on "empty trash" and it really seems to delete the file, on the reopening of the record that the deleted file

  • Smartphones blackBerry one setting alarm to my own music HELP.

    I downloaded the song from myxer.com and it is in my ringtones... I read some of the other help forums and I guess that the solution was to go to go under Menu, copy and paste the song ringtones memory card... I can't go and I do not see a copy and p