Difference between revisions of "Dev Schemes"

From Dreamwidth Notes
Jump to: navigation, search
(New page: The scheme files are located at: %%DWHOME%%/cgi-bin/bml/scheme They have a suffix of <code>.look</code>. In BML pages, code like <code><?needlogin?></code> refers to a definition in a ...)
 
m
Line 7: Line 7:
 
In BML pages, code like <code><?needlogin?></code> refers to a definition in a scheme file.  The definition will be like <code>NEEDLOGIN</code> in uppercase.
 
In BML pages, code like <code><?needlogin?></code> refers to a definition in a scheme file.  The definition will be like <code>NEEDLOGIN</code> in uppercase.
  
A scheme can have a parent scheme, defined by <code>_parent=></code> at the beginning of the .look file.  Most schemes have as their parent global.look.
+
A scheme can have a parent scheme, defined by <code>_parent=></code> at the beginning of the <code>.look</code> file.  Most schemes have as their parent <code>global.look</code>.
  
 
[[Category: Development]]
 
[[Category: Development]]

Revision as of 16:23, 12 September 2008

The scheme files are located at:

%%DWHOME%%/cgi-bin/bml/scheme

They have a suffix of .look.

In BML pages, code like <?needlogin?> refers to a definition in a scheme file. The definition will be like NEEDLOGIN in uppercase.

A scheme can have a parent scheme, defined by _parent=> at the beginning of the .look file. Most schemes have as their parent global.look.