Hello,

I'm running Drupal 6, I installed the Paging module and configured it (limit by words). I told the Filtered HTML Filter to use the Paging module. At first, no pagination links were showing up at all. So I rearranged the filters in the following order (URL Filter, HTML Filter, Line Break Converter, Paging, HTML Corrector) and now the text

is displayed on my page, but no paging links. Before I rearranged the filters, the Paging filter was at the bottom of the list.

I have tried to find a solution before posting here but I cannot figure out how to fix this. A comment in the forum mentioned that

is being converted to <!--paging_filter--> and that is probably causing this issue but I could not figure out how I can address this and fix it so the pagination links show up. I have FCKEditor installed as well.

Can someone please help me?

Thanks in advance.

Comments

Gurpartap Singh’s picture

Your description is confusing. I think the page links aren't appearing at all for you. Is the checkbox next to node type's name ticked/enabled? <!--paging_filter--> issue isn't related to this at all.

BradM’s picture

I have a similar problem with the 5.x version. Paging for me has never worked, but I recently tried to address it again.

The main issue has always been that <!--pagebreak--> somewhere gets converted to &lt;!--pagebreak-->, perhaps related to the fact that I'm using tinymce for the input. No matter if the paging filter is at the top, middle or bottom of the order, it only prints out this text.

So I tried putting the html corrector filter at the top of the list (and the paging filter at the bottom), and use it to fiddle with the separator. I added $text = str_replace('&lt;--paging_filter-->', '<!--paging_filter-->', $text); so it would hopefully switch the paging tag back to normal (I got the idea from this post: http://drupal.org/node/343236 -- even though it is for 6.x it still seemed to apply to my situation.

Well that seems to have worked, at least, the paging tag no longer appears. However, the node output ends at the first <!--pagebreak--> tag, and there are no links to subsequent pages. I had initially thought it perhaps was conflicting with the custom pagers module, but even disabling the pager for this node type didn't fix the missing pager.

I'm sure it is tinymce related. I even implemented what was suggested in post #2 at http://drupal.org/node/247163 however still no paging. I'm wary of removing tinymce as I believe it will result in all the documents losing the markup, and each will all just be one giant paragraph.

Any suggestions?

Gurpartap Singh’s picture

Version: 6.x-1.0-beta2 » 6.x-1.x-dev

Hi BradM,

Can you try the latest 5.x-1.x-dev code from http://drupal.org/node/138581 ? (The file there yet has to reflect the changes I made in CVS, so test it after the "Last updated" date spells something of today's date.) TinyMCE could be the possible cause, can you try the same without using tinymce?

NidSquid,

Can you reproduce the same problem with 6.x-1.x-dev release?

Gurpartap Singh’s picture

Status: Active » Postponed (maintainer needs more info)
Gurpartap Singh’s picture

No?

BradM’s picture

Sorry for the delay, I'm in the middle of a move and have had to put the drupal stuff aside for a couple of weeks. Bad timing on my part, sorry.

darumaki’s picture

I have the same problem, links won't display. I did find that if I switched to garland theme the links do appear but not all themes, even though they have the print links code. Any ideas ? Where are they pulled from ?

Gurpartap Singh’s picture

Status: Postponed (maintainer needs more info) » Fixed

If TinyMCE, etc. are converting < > into HTML entities, then one possible solution is to change the page separator string itself to something with which your WYSIWYG doesn't mingle.

Status: Fixed » Closed (fixed)

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