# Topic Preview Modal

**URL:** https://meta.discourse.org/t/topic-preview-modal/409712
**Category:** Theme component
**Created:** [August 10, 2026, 3:54pm UTC](https://meta.discourse.org/t/topic-preview-modal/409712 "2026-08-10T15:54:59Z")
**Posts on this page:** 1
**Showing post:** 19

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [August 19, 2026, 5:46am UTC](https://meta.discourse.org/t/topic-preview-modal/409712/19 "2026-08-19T05:46:29Z")

</div>

Hello :waving_hand:

I’ve added a new setting called: `open_all_topic_links`.

When enabled, ANY link pointing to a topic anywhere on the page (post content, notifications, user card, search results, suggested/related topics, sidebar, etc.) opens the preview modal instead of navigating away - not just topic-list rows. A link to a specific post opens the modal scrolled to that post. Links inside the topic list and inside an already-open preview modal keep their existing behavior.

> <https://github.com/VaperinaDEV/discourse-topic-preview-modal/pull/2>
>
> This update adds a new setting called \`open\_all\_topic\_links\`.
> When enabled, ANY… link pointing to a topic anywhere on the page (post content, notifications, user card, search results, suggested/related topics, sidebar, etc.) opens the preview modal instead of navigating away - not just topic-list rows. A link to a specific post opens the modal scrolled to that post. Links inside the topic list and inside an already-open preview modal keep their existing behavior.

---

_[View the full topic](https://meta.discourse.org/t/topic-preview-modal/409712)._
