ChunkMap
Last updated Mar 6th, 2021 | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$306 per month—let's make that $500!
Learn moreYou may find the Discss Controller documentation easier to use than the below placeholder coverage.
Map of Chunks to Page Placeholders¶
This page outlines all the placeholders for each page that use related chunks, and notes which chunks those placeholders use.
Commonly-Used Placeholders¶
These placeholders are used across most pages and always use the same chunks:
Placeholder | Chunks |
---|---|
trail | breadcrumbs/disBreadcrumbsLink |
breadcrumbs/disBreadcrumbsActive | For an active crumb text |
breadcrumbs/disBreadcrumbs | The entire crumbs wrapper |
boards | board/disLastPostBy |
board/disSubForumLink | For any sub-boards in the board row |
category/disCategoryLi | For the category row |
board/disBoardLi | For each board |
actionbuttons | No chunks currently, but a UL tag with classes 'dis-action-btns right' and li tags for each button |
pagination | pagination/PaginationLink |
pagination/PaginationActive | Text for the active page |
pagination/PaginationWrapper | The wrapper for the pagination |
usermenu | disUserMenu |
home.tpl¶
Placeholder | Chunks |
---|---|
recent_posts | post/disPostLi |
activeUsers | user/disActiveUserRow |
board.tpl¶
Placeholder | Chunks |
---|---|
posts | post/disBoardPost |
board/disLastPostBy | For the "last post by" part |
readers | Just a string of a tags |
moderators | Just a string of a tags |
thread/index.tpl¶
Placeholder | Chunks |
---|---|
posts - post/disThreadPost | For each post in the thread |
post/disThreadPostPrint | Replaces prior chunk if Print Thread is clicked |
post/disPostAttachment | For each attachment on the post |
readers | Just a string of a tags |
threadactionbuttons - disActionButton | For each button |
disActionButtons | Wrapper of all buttons |
thread/new.tpl¶
Placeholder | Chunks |
---|---|
attachment_fields | post/disAttachmentFields |
buttons | disPostButtons |
discuss.error_panel | Ignore this. Always empty. |
thread/reply.tpl¶
Placeholder | Chunks |
---|---|
thread_posts | post/disThreadPost - For each post in the thread |
post/disThreadPostPrint | Replaces prior chunk if Print Thread is clicked |
post/disPostAttachment | For each attachment on the post |
attachment_fields | post/disAttachmentFields |
buttons | disPostButtons |
discuss.error_panel | Ignore this. Always empty. |
thread/modify.tpl¶
Placeholder | Chunks |
---|---|
thread_posts | post/disThreadPost |
post/disThreadPostPrint | Replaces prior chunk if Print Thread is clicked |
post/disPostAttachment | For each attachment on the post |
attachment_fields | post/disAttachmentFields |
buttons | disPostButtons |
discuss.error_panel | Ignore this. Always empty. |
thread/move.tpl¶
Placeholder | Chunks |
---|---|
boards | board/disBoardOpt - A collection of option tags |
thread/preview.tpl¶
Placeholder | Chunks |
---|---|
post | post/disPostPreview |
thread/recent.tpl¶
Placeholder | Chunks |
---|---|
recent_posts | post/disPostLi |
thread/unread.tpl¶
Placeholder | Chunks |
---|---|
threads | post/disPostLi |
thread/unread_last_visit.tpl¶
Placeholder | Chunks |
---|---|
threads | post/disPostLi |
post/track.tpl¶
Placeholder | Chunks |
---|---|
posts | post/disPostLi |
user/ignoreboards.tpl¶
Placeholder | Chunks |
---|---|
boards | disBoardCheckbox - For each board and its checkbox |
disBoardCategoryIb | For each Category, with a placeholder for its nested boards |
user/index.tpl¶
Placeholder | Chunks |
---|---|
recent_posts | post/disPostLi |
user/subscriptions.tpl¶
Placeholder | Chunks |
---|---|
subscriptions | user/disUserSubscriptionRow |
messages/index.tpl¶
Placeholder | Chunks |
---|---|
messages | message/disMessageLi |
messages/modify.tpl¶
Placeholder | Chunks |
---|---|
thread_posts | post/disThreadPost - For each post in the thread |
post/disThreadPostPrint | Replaces prior chunk if Print Thread is clicked |
post/disPostAttachment | For each attachment on the post |
attachment_fields | post/disAttachmentFields |
buttons | disPostButtons |
discuss.error_panel | Ignore this. Always empty. |
messages/new.tpl¶
Placeholder | Chunks |
---|---|
attachment_fields | post/disAttachmentFields |
buttons | disPostButtons |
discuss.error_panel | Ignore this. Always empty. |
messages/reply.tpl¶
Placeholder | Chunks |
---|---|
thread_posts | post/disThreadPost - For each post in the thread |
post/disThreadPostPrint | Replaces prior chunk if Print Thread is clicked |
post/disPostAttachment | For each attachment on the post |
attachment_fields | post/disAttachmentFields |
buttons | disPostButtons |
discuss.error_panel | Ignore this. Always empty. |
messages/view.tpl¶
Placeholder | Chunks |
---|---|
posts | post/disThreadPost - For each post in the thread |
post/disThreadPostPrint | Replaces prior chunk if Print Thread is clicked |
post/disPostAttachment | For each attachment on the post |
readers | Just a string of a tags |
threadactionbuttons | disActionButton - For each button |
disActionButtons - Wrapper of all buttons |
search.tpl¶
results | disSearchResult |
---|---|
boards | board/disBoardOpt - A collection of option tags |