MantisBT - ATutor
View Issue Details
0003732ATutorContentpublic2009-04-12 06:522009-07-21 08:50
greg 
harris 
normalminoralways
closedfixed 
 
1.6.3 
SVN
0003732: announcements tinymce emoticon paths
Emoticons do not show up in annoucnements when added through the TinyMCE editor. There appears to be an extra "../" in the path to emoticon images.

see:
http://www.atutor.ca/view/7/17119/1.html [^]
No tags attached.
Issue History
2009-04-12 06:52gregNew Issue
2009-04-12 06:52gregAffects version => SVN
2009-05-29 12:34harrisNote Added: 0003540
2009-06-08 11:43harrisNote Added: 0003608
2009-06-08 11:47harrisStatusnew => resolved
2009-06-08 11:47harrisResolutionopen => fixed
2009-06-08 11:47harrisAssigned To => harris
2009-06-08 11:47harrisNote Added: 0003609
2009-06-12 09:32gregStatusresolved => new
2009-06-12 09:33gregStatusnew => resolved
2009-06-12 09:33gregFixed in Version => 1.6.3
2009-07-21 08:50gregStatusresolved => closed

Notes
(0003540)
harris   
2009-05-29 12:34   
trace:
load_editor() //include/lib/tinymce.inc.php
then the javascript
tiny_mce/plugins/emoticons/js/emoticons.js

getWindowArg('plugin_url') <-- problem?
(0003608)
harris   
2009-06-08 11:43   
Under
editor/add_news.php and
editor/edit_news.php

The following codes,
[code]
if (defined('AT_FORCE_GET_FILE') && AT_FORCE_GET_FILE) {
    $content_base_href = 'get.php/';
} else {
    $content_base_href = 'content/' . $_SESSION['course_id'] . '/';
}
[/code]

are there to alter $content_base_href.
The condition is true thus $content_base_href is set to get.php, doubling the path and thus it became 'get.php/get.php'.

I don't think this portion of the codes are needed as long as we don't have the filemanager associated with the announcement page.
(0003609)
harris   
2009-06-08 11:47   
commented out the suggested trunk of codes.


svn: 8524