What is the easiest method for identifying the templates used to construct a page?
Sep 13, 2002, 11:40 AM
Staff (68 posts)
Sep 13, 2002, 11:40 AM
Post #2 of 9
Views: 3664
There are descriptions of all user and email templates in the Resource Appendix at the end of the Gossamer Forum manual.
_________________________
bruce@gossamer-threads.com
_________________________
bruce@gossamer-threads.com
Sep 13, 2002, 12:08 PM
User (57 posts)
Sep 13, 2002, 12:08 PM
Post #3 of 9
Views: 3659
I was aware of that. What I meant is there an easy way to have any page tell you, through a comment or otherwise, which templates went into it. It would be nice to view a page source, or wherever, and know which templates went into it. Then you could easily pull those tempates up and modify as desired.
Sep 13, 2002, 12:19 PM
Staff (68 posts)
Sep 13, 2002, 12:19 PM
Post #4 of 9
Views: 3662
There's no real way of determining the template that HTML is built from. The only thing I can suggest is checking the resources appendix to find the template the page you want to modify is built from, and then checking the body of that template for any include tags.
_________________________
bruce@gossamer-threads.com
_________________________
bruce@gossamer-threads.com
Sep 13, 2002, 12:31 PM
Staff / Moderator (2198 posts)
Sep 13, 2002, 12:31 PM
Post #6 of 9
Views: 3655
We couldn't really do that, as the template parser is used for more than just parsing HTML - for example, it is used to parse and produce configuration files, or e-mails, where an HTML comment would be plainly visible. Also, suppose the included section was already inside a comment:
<!-- <%include some_file.html%> -->
If we added a comment in there it would cause HTML problems.
Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
<!-- <%include some_file.html%> -->
If we added a comment in there it would cause HTML problems.
Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Sep 14, 2002, 3:05 AM
User (120 posts)
Sep 14, 2002, 3:05 AM
Post #8 of 9
Views: 3624
Where is that manual?