This topic is locked

Format of Master Table Info on Detail Page

5/9/2009 2:30:41 PM
ASPRunnerPro General questions
F
funklet author

Hi,
The Master Table on the Detail Page does not have the chosen format of the Detail.

When choosing the Layout and Color Schema on the Theme page, the Master table info (List) page does not adopt the Layout or Color Schema chosen...

F
funklet author 5/10/2009

Hi,
I have now edited the Templates\Layouts\Madrid\masterlist.htm to give me the desired effect.

I am guessing my edits will only work for Madrid but it would only be a small change to the CSS Class entries for other Layouts...

If it helps anyone I have included the code:
[codebox]<!-- show master table info - start -->

<table><tr><td width=20>&nbsp;</td><td><p><b><font color=#000000>##message MASTER##: [##@TABLE.strCaption h##]</font></b></p></td></tr></table>

<table name="maintable" class="data" align="center" width="100%" border="0" cellpadding=3 cellspacing=0>

<!-- table header -->

<tr valign="top" class=headerlist>

<td class="headerlist_left_gif_P">&nbsp;</td>

foreach Fields as @field filter bListPage order nListPageOrder##

<td class=>##strLabel h##</td>

endfor##

<td class="headerlist_right_gif_P"></td>

</tr>

<!-- data -->

<tr class="body2" align=center>

<td width=20>&nbsp;</td>

foreach Fields as @field filter bListPage order nListPageOrder##

<td>

{$showmaster_##@field.strName g##}

</td>

endfor##

<td width=20>&nbsp;</td>

</tr>

<tr class=blackshade>

<!---->

<td class=headerlistdown_left2_P height=15></td>

foreach Fields as @field filter bListPage order nListPageOrder##

<td class=blackshade>&nbsp;</td>

##endfor##

<td class=headerlistdown_right2_P height=15>&nbsp;</td>

</tr>

</table>
<!-- show master table info - end -->
[/codebox]