Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Advanced Techniques / September 2008



Tip: Looking for answers? Try searching our database.

Display page number, but not on page one

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lucky Kitty - 19 Sep 2007 19:28 GMT
I'm using cfdocument to create dynamically create a pdf that includes multiple
biographies (my sample has three records from a database) .  In some instances,
a persons biography is more than one page long.  How can I display "continued
from previous page" on those biographies that are two pages in length, but yet
not display it for those biographies that are only one page.
rupesh_kumar - 20 Sep 2007 06:54 GMT
If you are using ColdFusion 8, then its fairly simple. You can do like this
inside cfdocumentItem tag.

<cfif CFDOCUMENT.CURRENTPAGENUMBER NE 1>
   Continued from previous page..
</cfif>

Or if it is for DocumentSection, you can do
<cfif CFDOCUMENT.CURRENTSECTIONPAGENUMBER NE 1>
   Continued from previous page..
</cfif>

Let me know if that does not work
Lucky Kitty - 20 May 2008 13:47 GMT
Finally got upgraded to 8, and then 8.01 and argh... this doesn't work. Do the scove variables inside cfdocument not work now??
Lucky Kitty - 09 Sep 2008 21:26 GMT
I have CF8 now, and this doesn't work.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.