117 lines
4.9 KiB
Text
117 lines
4.9 KiB
Text
This is a running list of template changes made during upgrades. If you have copied the default
|
|
templates, you will need to apply these changes manually to your copies.
|
|
|
|
7.10.8
|
|
|
|
* Friend Manager view template - root/import/account/friendmanager/view
|
|
Add a div to hold the pagination.
|
|
|
|
* Event Template - root/import/calendar-templates/default-calendar-event
|
|
Add foreground/font color to the CSS for the details.
|
|
Move border property to the table instead of assigning it to the body of the page.
|
|
|
|
* EU VAX Template
|
|
Internationalized the text in the template.
|
|
|
|
* Calendar Event List template - root/import/calendar-templates/default-calendar-list-view
|
|
Only display changes in new months, not months AND years AND days.
|
|
|
|
7.10.4
|
|
|
|
* DataForm email template - default_email
|
|
Do HTML escaping on field values. Move table tags outside of the loops so only one table
|
|
is generated.
|
|
|
|
* Template Variable template
|
|
The URL for that template has been changed from "help" to "root/import/adminconsole/help", making
|
|
the short URL Help available for WebGUI content use.
|
|
|
|
* EMS Badge Listing template - root/import/ems/ems-badge-listing-default
|
|
Changed the javascript to use a custom formatter for the Badge price.
|
|
|
|
7.10.3
|
|
|
|
* Carousel Default Template - root/import/carousel/carousel-default
|
|
Add a height parameter to the template.
|
|
|
|
* survey.css
|
|
Removed relative positioning and offset from top.
|
|
|
|
* root/import/survey/surveyedit.css
|
|
Reexported the package from the default content due to potential issues with earlier upgrades
|
|
not installing correctly.
|
|
|
|
* root/import/workflow-activity-templates
|
|
Added a folder to hold the assorted Workflow Activity templates.
|
|
|
|
7.10.2
|
|
|
|
* The Make Page Printable template has changed (as per bug #11857). The HTML
|
|
is now consistent with other default Style templates. The Plain Black logo and
|
|
copyright info have been removed and a stylesheet was added to provide very
|
|
simple default formatting for text, header and footer (makepageprintable.css).
|
|
|
|
7.10.1
|
|
|
|
* Profile templates - root/import/account/profile/default-view-profile-template
|
|
- root/import/account/profile/profile-account-layout
|
|
Moved the "back to profile" link from the Profile View template to the Profile Layout template.
|
|
|
|
* Asset Report Template - asset-report/asset-report-default-template
|
|
Remove the empty template attachment
|
|
|
|
* Gallery Album Edit Template
|
|
Update the inline javascript in the script tag to make drag & drop sorting work in IE7
|
|
|
|
if (typeof Gallery == "undefined") {
|
|
Gallery = {};
|
|
Gallery.DDSorting = {};
|
|
}
|
|
Gallery.DDSorting.url = '<tmpl_var url escape="js">';
|
|
|
|
* Story Topic Template
|
|
Since topStory template variables are available all the time, manually add the topStory into the list of
|
|
stories when the topic is no viewed standalone. Also note the new template variables for the the delete
|
|
and edit icons for the top story.
|
|
|
|
<ul>
|
|
<tmpl_unless standAlone>
|
|
<li><tmpl_var topStoryDeleteIcon><tmpl_var topStoryEditIcon> <a href="<tmpl_var topStoryUrl>"><tmpl_var topStoryTitle></a></li>
|
|
</tmpl_unless>
|
|
<tmpl_loop story_loop>
|
|
|
|
* Thingy searchResults_json
|
|
This is a JSON-encoded version of searchResults_loop, which allows people to access Thingy search results
|
|
in Javascript/Flash/etc.. For example, you can use OpenFlashCharts2 (http://teethgrinder.co.uk/open-flash-chart-2)
|
|
and SWFObject to access the data and then display it as a pretty custom chart via the following:
|
|
|
|
<tmpl_if searchResult_loop>
|
|
<div id="chart-container">
|
|
<div id="chart">Loading..</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
function open_flash_chart_data() {
|
|
var data_json = "<tmpl_var searchResult_json ESCAPE=JS>";
|
|
var data = YAHOO.lang.JSON.parse(data_json);
|
|
var chart = {
|
|
elements: [
|
|
// populate dynamically from data object
|
|
]
|
|
};
|
|
return YAHOO.lang.JSON.stringify(chart);
|
|
}
|
|
// Embed the chart
|
|
swfobject.embedSWF(
|
|
'/path/to/open-flash-chart.swf', // url
|
|
'chart', // container element id
|
|
'100%', // width
|
|
'100%', // height
|
|
'9.0.0', // version
|
|
'/path/to/swfobject/expressInstall.swf', // expressInstall
|
|
{ loading: 'Loading...' }, // flashvars
|
|
{}, // params
|
|
{} // attributes
|
|
);
|
|
</script>
|
|
</tmpl_if>
|
|
|