Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
[TIP] Know Your Templates
Tony G
Join Date: Nov 2001
Posts: 8,357

I'm in year 12 and it sucked my life away.. kind of.

Melbourne, Australia
by Tony G Tony G is offline 23 Sep 2002

Lots of people want to edit their templates, but have no idea which one is which. Here are some tips on identifying what the template is for:

Groups
All Templates are grouped, with a name. This is the first step of identifying what template you want. For an example there is a "Forum Home" Template group. In this group this is all the forumhome templates which make up the main forum page.

The Actual Template
This is where it can get tricky. There isn't just one template for one page, there are a few! For example lets say you want to edit the Last Post By template for forumhome to change that. Usually the template name can give you an idea like for this example the template is named 'forumhome_lastpostby'. Some aren't so easy. So it's good if you take some time to identify the code in each template for future reference.

Editing Templates
For templates that haven't been edited beside the name it will show "Change Original". For templates that have been previously edited it will show "Edit" to edit the actual template and "Remove" which will turn the template back into default, NOT remove it. When editing, please use mashby's save your templates tip. That comes in handy.

Hope this helps a few people.
Views: 2589
Reply With Quote
Comments
  #2  
Old 23 Sep 2002, 08:39
Brad Brad is offline
 
Join Date: Nov 2001
All Templates are grouped, with a name. This is the first step of identifying what template you want. For an example there is a "Forum Home" Template group. In this group this is all the forumhome templates which make up the main forum page.
Not all templates are gourped. (from the vB cp)

not all related templates may be contained within a group, as grouping is only done alphabetically.

This is where it can get tricky. There isn't just one template for one page, there are a few! For example lets say you want to edit the Last Post By template for forumhome to change that. Usually the template name can give you an idea like for this example the template is named 'forumhome_lastpostby'. Some aren't so easy. So it's good if you take some time to identify the code in each template for future reference.
just adding to this, if you can not find a template trun on "Add template name in comments" in your options, this will show the templates name when you view the source of the page.

"Edit" to edit the actual template and "Remove" which will turn the template back into default, NOT remove it.
default templates that can not be deleated will say [revert to original] once edited, custom temples do have a [remove] link that will remove the template from the database.
Reply With Quote
  #3  
Old 23 Sep 2002, 11:01
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Real name: ITS A SECRET
All mine are grouped, even custom ones for easy finding.

And yes, sorry was only look at the custom ones during typing.
Reply With Quote
Reply

Similar Article
Article Author Type Replies Last Post
Advanced Templates: Dynamic Templates Changing according to different conditions Logician vBulletin 2.x Full Releases 312 24 Apr 2005 20:20



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 20:51.

Layout Options | Width: Wide Color: