I added the pagebreak tag to a node Body and it is not breaking the page. (as per the example in the module example image)

I changed the tag to <hr class="pagebreak" /> (to work with my filter).

When I then navigate to /my-content/page/0/1, it sends the browser into an infinite redirect loop

Am I missing something?

CommentFileSizeAuthor
#5 manage_display.jpg48.22 KBarpeggio
#5 text_format.jpg31.43 KBarpeggio

Comments

andrewsuth’s picture

Another note, I also added the Smart Pager to the text input filter.

I am guessing that Smart Pager really only works on CCK text fields? Not even a node Body? In that case, I think it would be a useful feature request.

arpeggio’s picture

Status: Active » Closed (works as designed)

Yes, it only support CCK fields except for comment entity CCK fields. Body field is already CCK field in Drupal 7 and it should be working with Body fields.

Please verify that the horizontal tag <hr> is included in "Limit allowed HTML tags" list if it is enabled in input filter Text formats settings, refer to this thread.

andrewsuth’s picture

Checked it, I ONLY have Smart Pager active for this input filter: Limit allowed HTML tags is not active..

Any other ideas?

andrewsuth’s picture

OK, I found the issue.

I had to go into the content type, select the Manage display tab and then manually change the Page break placeholder as it was set to the default, and not the new placeholder that I defined in the Administer Smart Paging page.

Is this by design? I would normally expect that by changing the default value on the Administration screen would then change the default value for content currently using it?

I have created a new issue regarding the infinite loop problem mentioned in my original comment.

arpeggio’s picture

StatusFileSize
new31.43 KB
new48.22 KB

Hi andrewsuth, you've done the correct steps on changing from <!--pagebreak--> to <hr class="pagebreak" /> and please (and I think you have also forgot this) be sure that you have clicked the "SAVE" button (I always forgot this to Click. Refer to manage_display.jpg). Then at admin/config/content/formats/full_html under Filter settings select "Limit allowed HTML tags" and add <hr> at "Allowed HTML tags" field (refer to text_format_0.jpg). Doing this steps doesn't give me issue that you have encountered changing from <!--pagebreak--> to <hr class="pagebreak" />. Thanks.