![]() |
|
#1
|
|||
|
|||
|
Is there a way to arrange the display of custom fields in Dynamics?
For example: Right now I have created 10 custom fields. I see the option to display either above the message or below the message. And The output looks like this currently with the option above the message selected: Title of Entry Custom Field 1 Custom Field 2 Custom Field 3 Custom Field 4 Custom Field 5 Custom Field 6 Custom Field 7 Custom Field 8 Custom Field 9 Custom Field 10 Message Text attachments What I would like to do is change the way the above fields are displayed and add in some Section dividers like below. .............................Title of Entry .............................Custom Field 1 SECTION NAME 1--- Custom Field 2 ............................. Custom Field 3 Custom Field 4 ............................. Custom Field 5 SECTION NAME 2-- Custom Field 6 ---Custom Field 7 ---Custom Field 8 SECTION NAME 3-- Custom Field 9 Custom Field 10 SECTION NAME 4-- Message Text attachments Is this possible? How would I go about doing this? Thanks. Kether
__________________
|
|
#2
|
||||
|
||||
|
You could look in your 'ADV_DYNA_SHOWENTRY' template for this code:
Code:
<vb:if condition="$customfieldbits['above_message']">
<div style="padding-bottom: {vb:stylevar padding}">
<vb:each from="customfieldbits[above_message]" value="field">
<dl class="stats">
<dt>{vb:raw field.title}</dt>
<dd>{vb:raw field.value}</dd>
</dl>
</vb:each>
</div>
</vb:if>
Code:
<vb:if condition="$customfieldbits['above_message']">
<div style="padding-bottom: {vb:stylevar padding}">
<vb:each from="customfieldbits[above_message]" value="field">
<vb:if condition="$field['fieldid'] == 1">
<div>Section Name 1</div>
<vb:elseif condition="$field['fieldid'] == 3" />
<div>Section Name 2</div>
<vb:elseif condition="$field['fieldid'] == 5" />
<div>Section Name 3</div>
</vb:if>
<dl class="stats">
<dt>{vb:raw field.title}</dt>
<dd>{vb:raw field.value}</dd>
</dl>
</vb:each>
</div>
</vb:if>
__________________
Frequently Asked Questions CMPS Users Manual For vBadvanced software assistance, please use the support forums. Unsolicted PMs, IMs, and email will not be responded to. If you have a non-software related question or problem with your account, please submit a support ticket. |
|
#3
|
|||
|
|||
|
Brilliant. Thank you for your help, Brian.
Kether
__________________
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Search custom fields & Display results modules | dinatius | Module & Modification Discussion & Requests | 0 | 02-06-2008 11:52 AM |
| Double custom fields display on showentry | kirkus-tat | Troubleshooting & Problems | 2 | 11-05-2007 01:06 PM |
| Custom Fields Display Order? | edfig | Troubleshooting & Problems | 9 | 09-21-2007 02:17 PM |
| Upcoming events: display custom calendar fields? | trgreen | "How Do I..." Questions | 1 | 06-16-2007 10:01 AM |
| Arranging display of custom fields | Polo | "How Do I..." Questions | 7 | 02-03-2005 10:47 AM |