This fix will change the order of the years that are listed within the 'Date Prompt' drop down list – and show the last year first (rather than showing the current year first).
1. Go to 'Design | Library | Layouts' and open the 'Year List' group.
2. Edit the 'Standard Year List' layout.
3. Replace the line:
YearLayout
4. with the following code
<actinic:block php="true">
echo " ";
$dates[] = '<Actinic:Variable Name="YearLayout" encoding="perl" selectable="false" />';
</actinic:block>
5. Next, click the orange "Click here to edit list layout settings" text and select the 'Edit Rows and Columns' tab.
6. Delete the text in Middle Rows > First Item > Before
7. Delete the text in Middle Rows > First Item > After
8. Set No of Items > Last Row to be '1'
9. In Last Row > Before Row add the code
<actinic:block php="true"> $dates = array_reverse($dates); foreach($dates as $thisdate) { echo "<option>$thisdate</option>"; } $dates = array(); </actinic:block>
10. Click 'OK' and close and save the layout.
Now the years appear reversed.
1. Go to 'Design | Library | Layouts' and open the 'Year List' group.
2. Edit the 'Standard Year List' layout.
3. Replace the line:
YearLayout
4. with the following code
<actinic:block php="true">
echo " ";
$dates[] = '<Actinic:Variable Name="YearLayout" encoding="perl" selectable="false" />';
</actinic:block>
5. Next, click the orange "Click here to edit list layout settings" text and select the 'Edit Rows and Columns' tab.
6. Delete the text in Middle Rows > First Item > Before
7. Delete the text in Middle Rows > First Item > After
8. Set No of Items > Last Row to be '1'
9. In Last Row > Before Row add the code
<actinic:block php="true"> $dates = array_reverse($dates); foreach($dates as $thisdate) { echo "<option>$thisdate</option>"; } $dates = array(); </actinic:block>
10. Click 'OK' and close and save the layout.
Now the years appear reversed.