Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Forum Styles » Template questions
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Template questions [message #32353] Wed, 21 June 2006 15:47 Go to next message
JamesS is currently offline  JamesS   United States
Messages: 275
Registered: July 2002
Location: Atlanta, GA
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
I'm working on cleaning up the default template and its CSS. Along the way I am encountering strange things that have no explanation. First two questions:

1) What are "TEMPLATE-DATA" references and how do I edit the data format that replaces them? I understand that it is generated data, but where does the template from the data get defined? Example, "cat_path" and "forum_list_table_data" in index.tmpl.

2) What is the `p="{VAR: i[0]}"` for in some table definitions? Not only does it violate the DTD, but it doesn't make any sense. Would the forum crash and burn if I were to remove those?
Re: Template questions [message #32369 is a reply to message #32353] Thu, 22 June 2006 14:40 Go to previous message
Ilia is currently offline  Ilia   Norway
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Core Developer
add to buddy list
ignore all messages by this user
TEMPLATE-DATA is equivalent to VAR, I generally use it to refer to a variable containing a particular template rather then a generic variable.

The 2nd is a custom property (works in all browsers I've tried so far) used for category collapsing JavaScript.

FUDforum Core Developer
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: element style
Next Topic: A revived, less enthusastic CSS-based template thread
Goto Forum:

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Jul 19 17:32:02 EDT 2018

Total time taken to generate the page: 0.00684 seconds