Discuss.ChunkMap
This is a user-contributed Extra. If you find issues or would like more info or help, please contact the author.
You may find the Discss Controller documentation easier to use than the below placeholder coverage.
- Map of Chunks to Page Placeholders
- Commonly-Used Placeholders
- home.tpl
- board.tpl
- thread/index.tpl
- thread/new.tpl
- thread/reply.tpl
- thread/modify.tpl
- thread/move.tpl
- thread/preview.tpl
- thread/recent.tpl
- thread/unread.tpl
- thread/unread_last_visit.tpl
- post/track.tpl
- user/ignoreboards.tpl
- user/index.tpl
- user/subscriptions.tpl
- messages/index.tpl
- messages/modify.tpl
- messages/new.tpl
- messages/reply.tpl
- messages/view.tpl
- search.tpl
- See Also
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 - For a crumb link
breadcrumbs/disBreadcrumbsActive - For an active crumb text breadcrumbs/disBreadcrumbs - The entire crumbs wrapper |
boards | board/disLastPostBy - For the "Last Post" by part
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 - For a link to a page (1,2,3)
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 - For each post in an li
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 - 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/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 |
See Also
- Discuss.Installation
- Discuss.Getting Started
- Discuss.Creating a Discuss Theme
- Discuss.Controllers
- Discuss.Database Model
- Discuss.Contributing
- Discuss.ChunkMap
- Discuss.Features
- Discuss.Roadmap
- Configuring Sphinx for Search
Suggest an edit to this page on GitHub (Requires GitHub account. Opens a new window/tab).