ALG: Request For A Page Got 404-Err Get Base Template Define Arguments Iterate for all Child Templates ( Get Child Template Parsing ReplaceParams with Arguments ReplacePredefinedMacros with PredefinedCode ) [Evaluate] Store As Pseudostatic HTML Redirect Template Version Control... Template Classification: - Property very short, and usually static HTML code (for example width="100%" or bgcolor="red" or somthing else ... ) - Module standalone unit usually used as a part of a page - Page PAge types: -- Main/Root page -- Index/Category pages -- Article page --- Access Rights --- Automatic Edit Page Generator -- Gallery Page -- Forum Page -- Vote Result Page -- Search Page Common (system defined) macros - pseudo random number (usefull for BANNER exchange code...) - current date in standard format - current time HH:MM - current time HH:MM:SS - category navigator... - insert standard prolog... - insert standard epilog... - substitute current user ID or 0... - substitute current user LOGIN or empty string... - ObjectClass one of 'Article' | 'Image' | 'Category' | 'Forum' | 'WebLink' | 'Member' - transformed into the article reference TEXT if system can find uniq article with AuthorNickName:ArticleHeadlineOrSLUG or to a simple TEXT , performed SOUNDEX search. Example: Here you can find my . - (NNNNN - other article ID) transformed to the article reference TEXT Formating macros - inserts column divisor also appends
at the beginning and
at the end of the document - inserts row divisor \n also appends
at the beginning and
at the end of the document - The begin of the main article text - The end of the main article text - insert code from other template here... Article macros: - internal article ID - author's screen name - author's screen name with HLINK to his page - - - - - article main category name with HLINK - additional article images - - - - - - - - - Show standard ADVERTISEMENT Box ( SmallPhoto + Link, Additional Text area) Article page related macros - Show standard RATE THIS ARTICLE Box - Show standard OPTIONS Box (write comment, read comments, print article e.t.c.) - Show standard ABOUT THE AUTHOR Box - Show standard ABOUT THE AUTHOR Box - Show standard ABOUT THE CATEGORY Box - - ================================================================== /j/artNNNNNNNN.shtml contains: article text references (direct) to article images (like /i/imgNNNNNN.gif|jpeg) statements for: /a/aXXXXXXXX.html - author info html /c/cXXXXXXXX.html - category info html