Jump to content

blyons

Registered Users - Approved
  • Posts

    6
  • Joined

Posts posted by blyons

  1. Thanks Dan, I replaced my rule with your suggested rule and when I validate it, it returns Expression Ok and the Return Value shows the correct message however the text box still breaks into two lines. Also, I might be missing something here but now when I compose the template I get an error message that reads:

    Composing record #1, input record 1

    uncaught exception: TypeError: FusionPro.Composition.CurrentFlow.GetFrame is not a function

    uncaught exception: TypeError: FusionPro.Composition.CurrentFlow.GetFrame is not a function

    Job ended 09:13:54 - 1571231634.

     

    See Screen Shot

    10-16.thumb.jpg.682066aacb5126163de4062ace467d83.jpg

  2. Greetings all,

    We are stumped on a copyfit issue, and would appreciate any help you may be able to give. Here is the rule and the issue below. thanks so much in advance for any help!!!!

    OnCopyfit Rule:

     

    Rule("OnCopyfit")

     

    if (FusionPro.Composition.CurrentFlow.name == "Event");

    MagnifyAttributes("Event", 0, 400, 6, 0);

     

    if (FusionPro.Composition.CurrentFlow.name == "Special Message");

    MagnifyAttributes("Special Message", 25, 400, 6, 72);

     

    ReportWarning("Could not copyfit text in flow " +

    FusionPro.Composition.CurrentFlow.name);

     

     

    In the Text frame “Event” under paragraph formatting, I have the box for “Do not break on copyfit” checked and under Overflow Options I have Adjust text to fit checked along with Allow text to expand to fill.

    So ideally, I would like whatever the customer types in to the box to fill the box and stay on one line However, right now it is breaking into two lines and discarding the text that doesn’t fit.

     

    screen shot attached

    copyfit.jpg.ec6d8d3f72030cd48c2ed9816ae732ab.jpg

  3. We use FusionPro with our web templates product and are having trouble. The words of, and, at, and for, need to be in italics So it would read: Department of English- and the (*) allows for a line break if necessary. However if we package this and test and use any 2 of the words together (of, and, at, or for) it won’t give a space between them ex: Department ofthe English.

    var cod = (Trim(Field("COD")));

    cod = ReplaceSubstring(cod," of ",' <i>of</i> ');

    cod = ReplaceSubstring(cod," the ",' <i>the</i> ');

    cod = ReplaceSubstring(cod," of the ",' <i>of </i> <i>the</i> ');

    COD = ReplaceSubstring(cod,"*","<br>");

    return cod;

    }

    Thanks so much in advance for your assist!

×
×
  • Create New...