Jump to:
| Project: | Paging |
| Version: | 6.x-1.0-beta3 |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
| Issue tags: | hiding CCK fields |
Issue Summary
I have an article content-type that I’m using Paging with, and it works fine, except that EVERY page has all of the CCK fields for that content-type displayed. Given the content type, this makes the reader experience confusing to follow.
ie:
Page 1-
Title
field_subhead
field_byline
field_article_image
body
Page 2 (page 3, page 4, etc.)-
Title
field_subhead
field_byline
field_article_image
body (continued)
So I’m struggling with finding a method to have the opening page start with a set of CCK fields (Title, Subhead, Byline, Article-image), followed by the first page of body content. But then on subsequent pages, only display the Title and body content.
So the results would be:
Page 1-
Title
field_subhead
field_byline
field_article_image
body
Page 2 (page 3, page 4, etc.)-
Title
body (continued)
I've been trying to follow the suggestion in the Paging documentation here for "Theming nodes or placing CCK fields based on the viewed page" , but I'm not having much success.
If anyone has any suggestions,or can point me in the right direction, I’d REALLY appreciate it.
Comments
#1
I think it should be optional. Because, for example, I need all CCK fields on the every page of the paged article.
BTW, you can check current page url in the theme file (node-article.tpl.php), and if it contains something like ?page=0, dont display some fields.