Closed (fixed)
Project:
Paging
Version:
5.x-1.x-dev
Component:
Documentation
Priority:
Critical
Category:
Support request
Reporter:
Created:
22 Jan 2009 at 20:13 UTC
Updated:
28 Jul 2009 at 12:00 UTC
It's possible to use Paging module to split a CCK Field in multiple pages? If so, please let me know how can I do this?
Thanks for your help!
Comments
Comment #1
Gurpartap Singh commentedWhy not use the node's "Body" field instead of CCK textarea?
Comment #2
sanatate commentedI already have the content type defined. And I removed the "Body" field from the begining.
Comment #3
Gurpartap Singh commentedThe better but rather difficult method would be to convert existing nodes from textfield to body field. And the easier but not recommended method would be to hack paging.module. It IS possible, but will require significant changes and testing to code for all the functionality to work properly. Now I think the former method would be easier. :)
Comment #4
sanatate commentedThe problem is that I already have few hundreds articles. So ... it will be difficult to change the cck textfield to body field. :( And I'll have to change the template too.
Comment #5
Gurpartap Singh commentedHacking paging to support for an existing CCK field would be really really bad, unless you are willing to maintain the change through every version of paging that is released. I would still say that it's still better to convert from textfield to body field. Even if you have thousands of nodes, you can process them easily in batches. At least you'll be worry-free after the job's complete. But if you are unsure about performing a successful conversion and are willing to hire someone, you can offer a bounty for the job in Paid Services forum.
Comment #6
sanatate commentedThank you. I'll post on Paid Services forum.
Comment #8
alexkb commentedI recently had the job of changing a node type's body CCK field over from CCK to Body field of the node, for the purposes of using pager, and found it surprisingly easy:
1. First re-enable the node body by re-adding the 'Body field label' to the Node settings 'Submission form settings'.
2. Run the command to copy the cck column contents to the related node body column:
3. Goto the Manage fields of the custom content type, and Delete the custom body field.
4. Update any styles and views to use the new field.
Done!
Hope that can help someone.