• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fetching Template

#1
Hello,

I'm wondering, how can I fetch the data of a template for an addon/external script? Also, is there a way to list the names of the templates used in a page? I remember in vBulletin you could have debug on and it would list you all of the templates at the bottom of the page. It'd be very useful to know which one to edit, etc...

Thanks,
John
 

James

Well-known member
#2
It'd be very useful to know which one to edit, etc...
If you view the source, the class name of the div with an ID of content is your template. For example, on the forum list if you view the source you'll see:
Code:
<div id="content" class="forum_list">
forum_list is the template you edit.
 

Dean

Well-known member
#3
This is more of a development questions thread, I'll move it over there.

Dev tutorials & resources -> dev questions.