ChunkMap
Последнее обновление not available | История страницы | Улучшить эту страницу | Сообщить о проблеме
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
$204 per month—let's make that $500!
Learn moreВместо таблиц ниже может быть удобнее документация контроллеров Discuss.
Карта chunks и плейсхолдеров страниц¶
На этой странице перечислены плейсхолдеры каждой страницы и chunks, которые они используют.
Часто используемые плейсхолдеры¶
Эти плейсхолдеры встречаются на большинстве страниц и всегда используют одни и те же chunks:
| Placeholder | Chunks |
|---|---|
| trail | breadcrumbs/disBreadcrumbsLink |
| breadcrumbs/disBreadcrumbsActive | Текст активной крошки |
| breadcrumbs/disBreadcrumbs | Обёртка всей цепочки |
| boards | board/disLastPostBy |
| board/disSubForumLink | Поддоски в строке доски |
| category/disCategoryLi | Строка категории |
| board/disBoardLi | Каждая доска |
| actionbuttons | Chunks пока нет, UL с классами 'dis-action-btns right' и li для каждой кнопки |
| pagination | pagination/PaginationLink |
| pagination/PaginationActive | Текст активной страницы |
| pagination/PaginationWrapper | Обёртка pagination |
| usermenu | disUserMenu |
home.tpl¶
| Placeholder | Chunks |
|---|---|
| recent_posts | post/disPostLi |
| activeUsers | user/disActiveUserRow |
board.tpl¶
| Placeholder | Chunks |
|---|---|
| posts | post/disBoardPost |
| board/disLastPostBy | Часть «last post by» |
| readers | Строка a-тегов |
| moderators | Строка a-тегов |
thread/index.tpl¶
| Placeholder | Chunks |
|---|---|
| posts - post/disThreadPost | Каждый пост в теме |
| post/disThreadPostPrint | Заменяет предыдущий chunk при Print Thread |
| post/disPostAttachment | Каждое вложение поста |
| readers | Строка a-тегов |
| threadactionbuttons - disActionButton | Каждая кнопка |
| disActionButtons | Обёртка всех кнопок |
thread/new.tpl¶
| Placeholder | Chunks |
|---|---|
| attachment_fields | post/disAttachmentFields |
| buttons | disPostButtons |
| discuss.error_panel | Игнорируйте. Всегда пусто. |
thread/reply.tpl¶
| Placeholder | Chunks |
|---|---|
| thread_posts | post/disThreadPost - Каждый пост в теме |
| post/disThreadPostPrint | Заменяет предыдущий chunk при Print Thread |
| post/disPostAttachment | Каждое вложение поста |
| attachment_fields | post/disAttachmentFields |
| buttons | disPostButtons |
| discuss.error_panel | Игнорируйте. Всегда пусто. |
thread/modify.tpl¶
| Placeholder | Chunks |
|---|---|
| thread_posts | post/disThreadPost |
| post/disThreadPostPrint | Заменяет предыдущий chunk при Print Thread |
| post/disPostAttachment | Каждое вложение поста |
| attachment_fields | post/disAttachmentFields |
| buttons | disPostButtons |
| discuss.error_panel | Игнорируйте. Всегда пусто. |
thread/move.tpl¶
| Placeholder | Chunks |
|---|---|
| boards | board/disBoardOpt - Набор option-тегов |
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 - Каждая доска и её checkbox |
| disBoardCategoryIb | Каждая категория с плейсхолдером для вложенных досок |
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 - Каждый пост в теме |
| post/disThreadPostPrint | Заменяет предыдущий chunk при Print Thread |
| post/disPostAttachment | Каждое вложение поста |
| attachment_fields | post/disAttachmentFields |
| buttons | disPostButtons |
| discuss.error_panel | Игнорируйте. Всегда пусто. |
messages/new.tpl¶
| Placeholder | Chunks |
|---|---|
| attachment_fields | post/disAttachmentFields |
| buttons | disPostButtons |
| discuss.error_panel | Игнорируйте. Всегда пусто. |
messages/reply.tpl¶
| Placeholder | Chunks |
|---|---|
| thread_posts | post/disThreadPost - Каждый пост в теме |
| post/disThreadPostPrint | Заменяет предыдущий chunk при Print Thread |
| post/disPostAttachment | Каждое вложение поста |
| attachment_fields | post/disAttachmentFields |
| buttons | disPostButtons |
| discuss.error_panel | Игнорируйте. Всегда пусто. |
messages/view.tpl¶
| Placeholder | Chunks |
|---|---|
| posts | post/disThreadPost - Каждый пост в теме |
| post/disThreadPostPrint | Заменяет предыдущий chunk при Print Thread |
| post/disPostAttachment | Каждое вложение поста |
| readers | Строка a-тегов |
| threadactionbuttons | disActionButton - Каждая кнопка |
| disActionButtons - Обёртка всех кнопок |
search.tpl¶
| results | disSearchResult |
|---|---|
| boards | board/disBoardOpt - Набор option-тегов |
Смотрите также¶
- Discuss.Installation
- Discuss.Getting Started
- Discuss.Creating a Discuss Theme
- Discuss.Controllers
- Discuss.Database Model
- Discuss.Contributing
- Discuss.ChunkMap
- Discuss.Features
- Configuring Sphinx for Search
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
$204 per month—let's make that $500!
Learn more










