Log in | Register | Lost password

Bottom
Autopagination with pagesetter_pager
  • Posted: 02.03.2006, 21:15
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    I know one can paginate publications using the icon in the HTMLarea editor, but is there a way to autopaginate publications based on character or word count? I would also need pagination to occur after paragraphs (

    tags), so as not to break the HTML code mid-paragraph.

    Thanks,
    Nick

  • Posted: 03.03.2006, 03:37
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    couldn't you use

    Code

    {$articleTitle|replace:'</p>':'</p>(code for a page break here)'}
  • Posted: 03.03.2006, 06:24
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Thanks for your response. I don't want each paragraph to trigger a pagination. I want the publication to paginate at, say, every 500 words (or 2000 characters or whatever). Also, your code would not solve my autopaginate problem.

    Thanks,
    Nick
  • Posted: 28.09.2006, 21:32
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Can anyone help me with this? It's been a long time since I First posted this and I am finding myself revisiting it over and over again. I need my publications to autopaginate ast, say, every 2,000 characters. But, the text contains paragraph tags (

    Code

    <p>...</p>
    ) so I cannot allow it to break the tags. It would need to basically autopaginate at every 2,000 characters but include the nearest (or next)

    Code

    <p>
    tag. Can anyone help me with this?

    Thanks,
    Nick





    edited by: ngarland, Sep 28, 2006 - 10:33 PM
  • Posted: 16.08.2007, 14:52
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    I can't try it at work but maybe something like that will work...

    Code

    <!--[$text|truncate:2000:"<code for a page break here>"]-->

Template courtesy of Designs By Darren.