Hi,

I have created a book and few pages are showing blank in it.Please help me to remove the blank pages.

Book URL - http://mediatest.info/content/book-1-0

I have created 3 pages in 1 chapter.Then created one book having 1 cover page,3 opening pages and 1 chapter (having 3 pages in a chapter.)

It's showing 2 blank pages after opening pages and again 2 blank pages after chapter 1.

Please help to remove the blank pages or tell me the setting to be done.

Toolbar is also not coming on top of a book.

Thanks,
Saurabh Arya

Comments

masher’s picture

I'm having the same problems with blank pages, hope to fix it soon.

To turn on the Toolbar you need to add plugins="navigationbar"

into Book tag attributes (global default): settings on the admin/settings/pageflip/megazine3 page

The wiki is very useful http://www.megazine3.de/doc/MegaZine3

adamdicarlo’s picture

Blank pages are inserted to make chapters start on the right hand side. There will be a new 6.x-1.x-dev release available soon that may fix the problem, but if not, please provide more info about what exactly the data is and what's happening (with a link, or the XML generated by the PageFlip MZ3 Viewer module). You can get the XML at node/[NID]/pageflip/mz3-viewer-xml.

Ecnassianer’s picture

Hey Adam and Saurabh,
The OP is describing 2 blank pages in the spot where we have two ad pages on our site. My guess is that there are no ads setup, so the two ad pages between the opening pages and the first chapter are blank. Creating a page flip ad should confirm this (the ad will display in one of the two blank spots).

Also, megazine 2.0.9 and above will show you the XML it's running. Do this:
1) Press # to get the console
2) Type "XML" to see the XML of the current page or "XML all" to see the entire MZ3 file that's in use.

adamdicarlo’s picture

Title: Showing blank pages in a book » Books show extra blank pages with ads turned off
Version: 6.x-1.0-beta1 » 6.x-1.x-dev

Ecnassianer,

Yeah, I think you're right. I haven't yet made the ad-page-fetching code work like it should when ads are disabled, so at the moment, it's just putting in blank pages.

@masher and others, there is no pageflip ad module in contrib yet because it'd be extremely difficult to support an upgrade path when we overhaul how it works.

adamdicarlo’s picture

Assigned: Unassigned » adamdicarlo
Status: Active » Fixed

Just fixed this as good as it can be, I think: http://drupalcode.org/project/pageflip.git/commit/68e57827a3b9b25d44ddff...

I couldn't find a way to turn off "start chapters on right-hand pages only" feature in MegaZine3, but I've made that behavior configurable for the HTML viewer on the PageFlip settings page.

You can always put ALL of your book's pages into the Opening Pages field (or into just one chapter) in order to sidestep that MegaZine3 feature, but of course then your book will not be organized by chapters.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.