• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Display page number, but not on page one

Contributor ,
Sep 19, 2007 Sep 19, 2007

Copy link to clipboard

Copied

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.
TOPICS
Advanced techniques

Views

498

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 19, 2007 Sep 19, 2007

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
May 20, 2008 May 20, 2008

Copy link to clipboard

Copied

Finally got upgraded to 8, and then 8.01 and argh... this doesn't work. Do the scope variables inside cfdocument not work in version 8.01? ARGH... this tag was one of the main reasons we even bothered with the upgrade... 😞

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Sep 09, 2008 Sep 09, 2008

Copy link to clipboard

Copied

LATEST
I have CF8 now, and this doesn't work.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Oct 10, 2007 Oct 10, 2007

Copy link to clipboard

Copied

Unfortunately, I'm still on CF7. IS there a way to do this in 7?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation