Jump to content

Single flyer template that includes landscape and portrait options?


GailUdell

Recommended Posts

I have a pretty simple flyer. The user selects a picture, background color and otherwise the variables are all the same. Some options are horizontal and some are vertical. Is there a way to make this a single template using "SetBodyPageUsage" or some other tool, or do I need to create separate templates for landscape options and portrait options?

 

Thanks!

Link to comment
Share on other sites

Gail,

This can be done and has also been discussed in several threads within the Desktop and Marcom Forums: Here is an Example:

http://forums.printable.com/showthread.php?t=1585&highlight=setbodypageusage

 

You need to create the Rule as an OnRecordStart Callback rule. You need to trigger the vertical or horizontal orientation with a field within the data.

e.g. - Field("Orientation") --> vertical or horizontal

 

You also need to make sure your pages that will be chosen, are in sequential order.

You can name your pages or you can just refernce the actual page #.

e.g. - vertical page is "1" & horizontal page is "2"

 

if (Field("Orientation") == "vertical")

{

FusionPro.Composition.SetBodyPageUsage("2", false);

}

 

else

{

FusionPro.Composition.SetBodyPageUsage("1", false) ;

}

 

//Since both pages are automatically active all you really need to do is make th eone you don't want inactive = false.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...