This topic is locked

How to create new layout with AspRunner 5.0

8/9/2007 7:41:12 AM
ASPRunnerPro General questions
C
carlo author

Hi

i want to know where i can find a complete documentation on how is possible to create new layout for AspRunner 5.0
I would to define a new layout and add it in AspRunner 5.0 : a new list page , a new add page , etc

I need to know how i can create a new layout : the syntax of every command , a description on how and where use , if is mandatory or not, etc
example : ##@TABLE.strCaption h##
example : <form name="frmSearch" method="GET" action="##@TABLE.strShortTableName h##_list.##@ext##">

<input type="Hidden" name="a" value="search">

<input type="Hidden" name="value" value="1">

<input type="Hidden" name="SearchFor" value="">

<input type="Hidden" name="SearchOption" value="">

<input type="Hidden" name="SearchField" value="">

</form>
example : ##foreach @BUILDER.tables as @t filter @t.arrMasterTables[strMasterTable==@TABLE.strDataSourceTable].len##

if GroupSecurity##{if $allow_##@t.strShortTableName##}##endif##

<td align="center">

<a class="tablelinks" {if $useAJAX} onmouseover="showDetailsPreview(this,'##@t.strShortTableName h##_detailspreview.##@ext##?{$row.##@i####@t.strShortTableName##_masterkeys}');" onmouseout="hideDetailsPreview(this);" {/if} href="##@t.strShortTableName h##_list.##@ext##?{$row.##@i####@t.strShortTableName##_masterkeys}">

@t.strCaption h##</a>

</td>

if GroupSecurity##{/if}##endif##

endfor##



etc

etc

etc
I would like to create a my comapny layout also with a real complete support to different language : by now i could change language message for everything but not for field label.
To do this i need to modify LNG files and add inside also my field label , but i need also to modify layout files.
I would also to define a new color schema : where i can find an exhaustive documentation on it ?

(i mean what are used by AspRunner 5.0 - and for what - from .suggest_link, #search_suggest, #master_detail , etc present in the css file )
Thanks in advance
Carlo

Sergey Kornilov admin 8/13/2007

Creating a new layout or a new style is easy - just create a copy of existing one in a new directory on the same level:

C:\Program Files\ASPRunnerPro5.1\templates\layouts\NewLayout
Unfortunately we don't yet have a detailed documentation on template language.

C
carlo author 8/22/2007

Hi,
I understand that you do not have a "detailed" documentation, but is possible to have some documentation ?
After i made a copy of existing one at the same level , what i can do with it ?

just change name ? or color ?
I think that SOME documentation on template language is better than nothing...
Thanks in advance
Carlo

Sergey Kornilov admin 8/22/2007

You can modify everything in layout files.
I'd be glad to answer more specific questions.