Announcement

Collapse
No announcement yet.

Layers-Based Business Card Build

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Layers-Based Business Card Build

    Hi everyone! I'm looking for assistance on building a business card template with layers that toggle. The card will have 7 locations + we are trying to avoid posting 7 individual products. I would like the end user to switch out the location info on the card with a dropdown menu. The training/demo videos I have don’t cover layer-based programming + I’m not sure where to start. Thanks so much for any guidance you can provide!

  • #2
    Hi,

    VDP Studio? Market Direct?

    Are you sure you need to use layers? Layers are useful when there are different card models for exemple (backgrounds...) or texts in different positions at the Card.


    Attached a demo work with two possibilities.


    Exemple In variable:
    Click image for larger version

Name:	Variable.PNG
Views:	19
Size:	3.0 KB
ID:	1178

























    Exemple in layer

    Click image for larger version

Name:	Layer1.PNG
Views:	14
Size:	1.5 KB
ID:	1179

    Click image for larger version

Name:	Layer2.PNG
Views:	15
Size:	2.5 KB
ID:	1180

    Attached exemple:

    Download

    Kind regards
    Jaume

    Comment


    • #3
      Hi Summer, layers is used only when the artwork changes or something is quite complex. In your case a simple JavaScript will do...

      Make sure your [[js_address]] variable is outside the "Default" folder. Then, on efi DSF store, create a "data source" list with your 7 addresses and assign your [[address]] user field to a drop down and select this data source (case sensitive).

      From one of our templates:


      function js_address()
      {
      var address = VAR.GetS("address");

      if(address == "Online Division"){ address = "Boca Raton Online Division\n5002 T-REX Avenue, Suite 200\nBoca Raton, Florida 33431"; }

      if(address == "Boca Raton"){ address = "Boca Raton Campus\n5002 T-REX Avenue, Suite 100\nBoca Raton, Florida 33431" }

      if(address == "Sarasota"){ address = "Sarasota Campus\n6001 Lake Osprey Drive, #110\nSarasota, Florida 34240" }

      if(address == "Tampa"){ address = "Tampa Campus\n5010 West Kennedy Blvd\nTampa, FL 33609" }

      if(address == "Orlando"){ address = "Orlando Campus\n850 Trafalgar Court, Suite 100\nMaitland, Florida 32751" }

      if(address == "Office of the Chancellor"){ address = "Office of the Chancellor\n1900 W Commercial Blvd, Ste #180\nFt Lauderdale, FL 33309" ; }

      if(address == "Miami"){ address = "Miami Campus\n11731 Mills Drive\nMiami, FL 33183" }

      return address;
      }

      Click image for larger version

Name:	DSM variables.JPG
Views:	15
Size:	17.9 KB
ID:	1182

      Click image for larger version

Name:	EU VD envelope.JPG
Views:	12
Size:	60.1 KB
ID:	1183

      Comment

      Working...
      X