Creating a layout file

Top  Previous  Next

If a user creates a new photo book, Publisher loads the layout file for the selected product and starts an empty photo book based on that layout file. So a layout file is basically an empty photo book.

To enable the Designer Mode, open C:\Program Files\Pixpedia Publisher\CCPublisher.dat, and make sure there’s an entry “DesignMode=1”, or start Publisher with the command line parameter /Design.

lightbulb_onThe installation folder depends on where you install Publisher and on your operating system. If you are using a 64 bit operating system, you can find the Publisher in a subfolder of C:\Program Files (x86)\
If you’re using Windows Vista or Windows 7 you need Administrator privileges to be able to edit this file. If you use Windows Notepad as your text editor, click on Notepad in the start menu using the right mouse button, then click “Run as Administrator”. Now you can open the file in Notepad using "File -> Open…"
Warning: If you edit that file without administrator privileges, Windows will either refuse to save the changes, or save the changes to the virtual store folder instead. In that case, you will see the changes in your text editor, but Publisher might ignore the content of that file. In that case open the Installation folder in Windows Explorer and click on “Compatibility Files”. You can delete the virtualized CCPublisher.dat file from there.


Start the Publisher with the command line parameter /Design:

1.In the Product Wizard click on the “New Project” button
2.From the File menu select „Setup Product…“
3.In the Assigned Product combo box, select the product you want to create, then click „Set“.
4.Select a chunk from the combo box and set the properties. The properties PageSizeX and PageSizeY include the page bleed. So if your page is 300mm long and you want to have 3mm bleed at the top and at the bottom, you need to enter 306mm.
The fold width specifies the size that the two pages need to overlap when binding the photo book.
5.Repeat steps 5 – 6 for all chunks in the photobook. If you forget to define a chunk, Publisher will complain that the page size is invalid when trying to close the dialog.
6.Make sure that “Create a new photobook (this will delete all existing pages) is selected.
7.Click „OK“. Publisher will create a new layout file with BasePageCount pages, as defined in the products.xml




Now Open the Design tab on the right:

1.Select the first Page in the document with the caption “Page 1+2“, i.e. the first two single pages in the “cover” chunk. In the edit box “Page Caption Left” enter “Back Cover”. The Page Caption Right should be labeled “Front Cover”. The icon in the thumbnails will be updated after a few seconds.
2.Now select the next Page, labeled as “Page 1+2”. This is the first page in the photobook. As this is the first page in the photobook, it should be changed to a single page. Change the combo box “DoubleSided” to Single Page.
3.Select the checkbox “No insert before” so that the user cannot insert any other pages before this page.
4.The same should be done to the last page in the photobook, but this time select “No insert after”.
5.If you want to move around pages in the designer, select the “(Temporarily disable restrictions)” checkbox. This will temporarily allow you to move around or delete pages without any restrictions.
6.If you click “Validate”, Publisher will complain that the photobook needs at least 12 pages. Changing two double pages to single pages implicitly removed two pages. These must be added again. Click the “Add Page” button to insert a new page at the end.
7.Click “Validate” again. The validator will complain about empty pages. This is fine, because we are designing a photobook layout.
8.If you want to prevent a user from changing the layout of a page, select “Layout locked” in the Page Properties dialog. The user can fill image placeholders, but cannot move around shapes or add new shapes to that page.


Any shape that must not be changed by the user must have position and content locked. Select the shape, and then click “Lock Position and Content”.

9.Save the layout file. The filename must match the layout name in the products.xml. The filename of a layout file must start with “layout_”. The filename of a template file must start with “templates_”.

2015 © 3P Photobook Publisher