Subscribe via Feedburner Flickr Images Youtube Profile LinkedIn Profile
GD aZon FUSION

T2 Templates Types

Thumbnail for T2 Templates Types

Plugins T2 templates system support many different types of templates used for all kinds of rendering. Each template can use other templates, and can have several elements. Elements use HTML/CSS and number of special tags. For each template type plugin inserts into database one or more default or extended templates you can use directly or use to create your own.

Template editor show for each element supported tags from the full list of allowed tags. Also, you can create as many different templates for each of the types as you want.

  1. Element Word Votes: this template has two elements, one for singluar and other plural of the word vote. No tags can be used for this type of templates. This type replaces tag %WORD_VOTES%.
  2. Element For Alternating Table Rows: also two elements, one CSS class for odd and the other even row of a table. This type replaces tag %TABLE_ROW_CLASS%.
  3. Standard Ratings Text: this is the text added in standard rating block with info about votes and ratings. This type has 3 different elements. Normal is used for regular situation, and the other two for time restricted ratings. Many of tags for this template tag can be used, but not every one for all 3 elements. This type replaces tag %RATING_TEXT%.
  4. Comments Ratings Text: this is used for standard comments rating block with info about votes and rating. This type replaces tag %CMM_RATING_TEXT%.
  5. Multi Ratings Text: similar to standard rating text, only this is used for multi ratings block. This type replaces tag %MUR_RATING_TEXT%.
  6. Standard RSS Rating Block: Complete rating block rendered for posts in RSS feeds. Right now uses only standard post/page ratings.
  7. Standard Ratings Block: used to render standard ratings block. Block can use CSS classes set on the settings tab for posts and pages.
  8. Comments Ratings Block: used to render coments ratings block. Block can use CSS classes set on the settings tab for comments.
  9. Widget Star Rating: this template is used to render star rating widget. Template has 3 elements, for header and footer part and item element for each of the rows rendered by the widget.
  10. Widget Blog Rating: used to render top blog rating widget. Only one element is used.
  11. Widget Comments Rating: similar to star rating widget but used to render comments rating widget. Also, has 3 rendering elements.

These templates are used for now. Article will be expanded as new templates are added.

GD Star Rating
loading...

Share this:

del.icio.us DiGG Google StumbleUpon Google Buzz Microsoft Live MiXX RSS PDF
T2 Templates Types, 7.7 out of 10 based on 26 ratings

3 Responses to “T2 Templates Types”

  1. louis | May 21, 2009 at 4:17 PM

    I edited the T2 templates and set the one I created as my default, but the change is not taking effect. I’m trying to remove the text under the stars so I deleted the fields in %RATING_TEXT%… any idea why its not working?

    GD Star Rating
    loading...
    • MillaN | May 21, 2009 at 4:27 PM

      Once you create new template you must use it. For instance:

      Standard Rating Block [SRB] uses Standard Ratings Text [SRT]. So if you make new SRT template, you need to make also another SRB that will use newely created SRT. And finaly, you need to select new SRB as rating block for posts on post tab on settings panel. Or if you use custom functions, use template id of the newly created SRB.

      GD Star Rating
      loading...

Trackbacks/Pingbacks

  1. Webmaster Crap » Blog Archive » Templates Types | GD Star Rating - April 25, 2009

    [...] Here is the original post: Templates Types | GD Star Rating [...]

Comments are closed.

www.dev4Press.com

Dev4Press is a premium service dedicated to developing of high quality plugins and themes for WordPress, custom development and consulting. Follow this link to find out more...

Feedburner Feedburner updates

Sign up to receive all latest news about GD Star Rating directly to your email.
xScape Premium Themes