| Templates |
##If_block(##[0004.4])
**if_begin
print_1
**if_end **else_begin
print_2
**else_end
|
if ##[0004.4]
is not emptyl{
print_1
}else{
print_2
}
|
| ##qs(s_0012,##var01=##[0004.4],##var02=##[0004.4]) |
Creates link to Query Section with 2 variables
- must be placed in A tag (eg. <a href="##qs()") |
| ##if_not_empty(##[0002.5]){##[0002.5]} |
Prints the field if it is not empty |
##if_condition="([Cond1]##eq[Cond2];Do1##elseDo2)" |
if Cond1=Cond2
do Do1, else
Do2 |
| %(Numb1
Numb2) |
Calculates
percent Numb1*Numb2/100 |
| ##strict(html
code) |
Prints the html code - must be used in
template's file |
| ##CurrentSectionID |
Replaced with current section id |
| ##CurrentInfoTitle |
Replaced with current info title |
| ##Link_to_Title |
Creates link to info |
| ##Link_to_Section |
Creates link to section |
##[Link_to_next] |
Creates link to next published info ordered
by info position |
| ##[Link_to_previous] |
Creates link to previous published info
ordered by info position |
| ##Domain |
The domain of the site |
| ##send_title |
Current Info Title - used in Send to a
friend |
| ##send_link |
Current Info Link - used in Send to a
friend |
| ##tab
|
Places tab space |
|
##SiteID |
Site id |
| ##InfoID |
Info id |
| ##SectionID |
Section id |
| ##Menu_Section_name |
Menu section name |
| ##Page_Title_Section_name |
Page Title Section name |
| ##System_Section_name |
System section name |
| ##YEAR.##MONTH.##DAY |
Current date |
| ##HOUR
: ##MINUTES |
Current time |
| ##CreationDAY.##CreationMONTH.
##CreationYEAR |
Creation date |
| ##CreationHOUR:##CreationMIN:##CreationSEC |
Creation time |
| ##SubDAY.##SubMONTH.##SubYEAR |
Range B start date |
| ##PublishingDAY.##PublishingMONTH.##PublishingYEAR |
Publishing date |
| ##fcfield(name=BUL,value=##[0010.5],visible=yes) |
|
| ##sum(BUL) |
|
|
%lookup[show(sec0011;0003.3)
else(0)] where[sec0011;0003.1=std(##[0004.2])
AND sec0011;0003.2=std(##[0004.3])]% |
| |
| Site Options |
| ##description |
Default image alt is the description of
the image |
| |
| Query
Sections |
| ##default |
|
| ##[0001.3] |
Structured data field |
| ##[Title] |
Title of current info |
| ##[SubTitle] |
Subtitle of current info |
| ##var01
|
Variable |
| |
| Entry
Forms |
| ##VisSec
|
Used
in forum for section to add in |
| ##PrevSecID |
Used
in messages for getting previous forum section
(works with ##VisSec) |
| ##send_username |
Sends username to Support form |
| ##send_email |
Sends user's email to Support form |
| ##send_site |
Sends site domain to Support form |
| ##send_phone |
Sends user's phone to Support form |
| |
|
| Group Editor |
Secret button - sample
line:
id - section id
group - id of default group for section
var1,var2,var3 - id of variable groups |
| <section><id>0001</id><group>0007</group><var1></var1><var2></var2><var3></var3></section> |