Tags:
create new tag
view all tags

SID-01767: How to get all topics related to perticular Template?

Status: Answered Answered TWiki version: Perl version: 5.10
Category: Server OS: CentOS 5 Last update: 10 years ago

I have two template topics as: 1) OneTemplate 2) TwoTemplate

I want to show all topics list in which OneTemplate is used.

-- Amol Bansode - 2013-07-22

Discussion and Answer

I presume these are template topics you use to create new topics. You can search for shared content on topics created on a template topic. If the template topic has a TWiki Form you can do a QuerySearch that identifies all topics that have that form attached. You could also search for some marker in the topic itself, such as an HTML comment <!--ONE-TEMPLATE--> that you placed in the template topic. That approach is not as reliable as the forms approach because a user can easily (accidentally) remove the marker.

-- Peter Thoeny - 2013-07-22

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- Peter Thoeny - 2015-12-03

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title How to get all topics related to perticular Template?
SupportCategory

TWiki version

Server OS CentOS 5
Web server 2.2.15
Perl version 5.10
Browser & version Chrome 26.0.1410.64 m
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2015-12-03 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.