I've just installed the beta of Internet Explorer 9 and discovered some fields in the Article Manager Admin area don't work [:(]

The drop down boxes for Category List in the add article page as an example.

If anyone has any tips on how to fix, please let me know!


Re: [dan_999] IE9 Warning for AM 2 Users

Use foxfire browser.

Re: [Kimber] IE9 Warning for AM 2 Users

you can also use google chrome or you can do a revision and revert back to IE8.

Re: [dan_999] IE9 Warning for AM 2 Users

Yeah, I use FF, too. Seems to work really well with AM2. In fact, some of the pages I make only work right in FF. I don't know what's going on with IE anymore. I may have to put a test to check what the visitor is using and fire up a warning to use FF.

Re: [gwiley] IE9 Warning for AM 2 Users

By dan_999 - January 3, 2011 - edited: March 15, 2011

Over 50% of internet users use Internet Explorer so ignoring them or suggesting they change to firefox doesnt seem like the right answer! I think we should work with the browser / user and not against them.

Don't forget the new IE is faster and more secure than FF.

Also, Chrome doesnt work with the WYSIWYG editor in Article Manager.


Re: [dan_999] IE9 Warning for AM 2 Users

Well, then, I guess you have to pay Interactive Tools for support to get it fixed. :)

Re: [dan_999] IE9 Warning for AM 2 Users

By BillG - January 25, 2011 - edited: January 26, 2011

Do you get a JavaScript error?
I think the problem is that the menus are XHTML 1.0 Transitional, and not Strict. That's why there are new problems with each new release of Internet Explorer.

Re: [BillG] IE9 Warning for AM 2 Users

The issue was the category list on the create article page not loading.

I've found a workaround for anyone who uses IE9.

Edit the following file:

templates > admin > menus > _wrapper.html

Add the following line of code:

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

directly after the <head> :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="$_weburl$css/ui.css" />

You'll probably notice there are two <head> sections within this document, I think it's only the second one you need to edit but to be safe do it to both. This will force IE9 to work in compatability mode.

Re: [dan_999] IE9 Warning for AM 2 Users

For anyone good with code I think the following is what is wrong:

<!-- dynamic list table -->
<table border="0" cellpadding="0" cellspacing="0">
<tbody id="$_fieldName:htmlEncoded$:rows" style="display: none">

<tbody id="$_fieldName:htmlEncoded$:max_rows_reached" style="display: none">

<tbody id="$_fieldName:htmlEncoded$:empty_list" style="display: none">
<tr class="listRowOdd"><td colspan="5" align="center" height="21">Loading category list...</td></tr>

<tbody id="$_fieldName:htmlEncoded$:add_row" style="display: none">
<td align="center" colspan="5">
<input type="hidden" name="$_fieldName:htmlEncoded$:add:categoryNum" id="$_fieldName:htmlEncoded$:add:categoryNum" value="0" />
<a href="#" onclick="dlist_addNewRow('$_fieldName:javascriptSafe$', categoryList_createRowHTML); return false;">add another category</a>

<span id="$_fieldName:htmlEncoded$:tmpHTML"></span>
<!-- /dynamic list table -->

<!-- dynamic list javascript -->
<script type="text/javascript"><!--

// count rows displays so we can't determine which row is first row and not show erase link for primary category

// ----------------------------------------------------------------------------
// Function : categoryList_createRowHTML
// Description : create HTML for a row (used when generating and updating list)
// ----------------------------------------------------------------------------

function categoryList_createRowHTML(fields) {

// short alias fields
var listname = fields._listname;
var fieldname = fields._listname;
var rowNum = fields._num;
var fieldnameColonRowNum = fieldname +':'+ rowNum;
var fieldnameCommaRowNum = "'" + fieldname + "','" + rowNum + "'";

// category list
var categoryList = [
// "category Num", "category breadcrumb"
<!-- templateCell : articleEditorCategoryRow -->
[ "$_optionValue:javascriptSafe$", "$_breadcrumbText:javascriptSafe$"],
<!-- /templateCell : articleEditorCategoryRow -->

// create option list
var categoryOptionList = '';
for (var index in categoryList) {
var categoryNum = categoryList[index][0];
var categoryBreadcrumb = categoryList[index][1];
var isSelected = categoryNum == fields.categoryNum;
var selectedAttribute = (isSelected == '1') ? 'selected="selected"' : '';
categoryOptionList += '<option value="'+ categoryNum+ '" ' +selectedAttribute+ '>' +categoryBreadcrumb+ '</option>\n';

// html encoded values before we insert them into HTML
for (var thisname in fields) {
fields[thisname] = htmlEncode( fields[thisname] );

// get action html
var isFirstRow = (++CATEGORY_ROW_COUNTER <= 2) ? 1 : 0; // dlist_errorChecking calls createRowHtml once on init causing counter to be 2 for first row
var actionHtml = '';
if (isFirstRow) { actionHtml = ""; }
else { actionHtml = '<a href="#" onclick="dlist_removeRow(' +fieldnameCommaRowNum+ '); return false;">remove</a>'; }

var rowHTML = ''
+ ' <tr id="' +fields._listname+ ':' +fields._num+ '">\n'
+ ' <td>\n'
+ ' <select name="'+fieldnameColonRowNum+':categoryNum"\n'
+ ' onchange="dlist_saveRowOnChange(' +fieldnameCommaRowNum+ ')" >\n'
+ ' <option value="">&lt;select&gt;</option>\n'
+ categoryOptionList
+ ' </select>\n'
+ ' </td>\n'
+ ' <td align="center">&nbsp;' +actionHtml+ '</td>\n'
+ ' </tr>\n';

return rowHTML;

// create dynamic list
dlist_init("$_fieldName:javascriptSafe$", categoryList_createRowHTML);

// create at least one row
dlist_addNewRow('$_fieldName:javascriptSafe$', categoryList_createRowHTML);

// --></script>
<!-- /dynamic list javascript -->

In the _CustomEditFields.html template. Could be wrong mind and good luck to anyone who can sort it!

Re: [dan_999] IE9 Warning for AM 2 Users

Does IE9 have a compatibility mode like 8 does that might make things work?