MantisBT - ATutor
View Issue Details
0004528ATutorContentpublic2010-09-07 05:372011-08-29 14:11
cindy 
cindy 
normalfeatureN/A
closedfixed 
 
2.0.3 
SVN
#
0004528: Apply Armin's change on ContentManager.class.php
Armin's change includes:

- pointing references to images to the theme/<themename>/images folder
- allowing the truncation in the sidenav menu being turned on/off via database entries
- change to the current selected element in the sidenav (gets color:red attached - I removed this and give it a class instead)

All changes can be turned on and off with settings in the table "config".
Hello Greg and Cindy,

I introduced some changes to the ContentManager.class.php file. All changes can be turned on and off with settings in the table "config". If the setting is not found in the database the standard behaviour should
happen.

The three changes basically are:

- pointing references to images to the theme/<themename>/images folder
- allowing the truncation in the sidenav menu being turned on/off via database entries
- change to the current selected element in the sidenav (gets color:red attached - I removed this and give it a class instead)

Hope the changes are correct and working. I am not sure if I know how to call all lines I changed so there might be problems hiding.

Would be great if this change and the patch I submitted yesterday would make it into the SVN soon.

If there are questions feel free to ask.

Thanks

Armin
No tags attached.
related to 0004167closed laurelwilliams content menu truncate/full option 
? ContentManager.class.php (59,385) 2010-09-07 05:37
http://www.atutor.ca/atutor/mantis/file_download.php?file_id=90&type=bug
Issue History
2010-09-07 05:37cindyNew Issue
2010-09-07 05:37cindyFile Added: ContentManager.class.php
2010-09-07 05:37cindyAffects version => SVN
2010-09-07 05:38cindyCategoryGlossary => Content
2010-09-08 09:59gregStatusnew => assigned
2010-09-08 09:59gregAssigned To => cindy
2010-09-13 12:04cindyNote Added: 0004610
2010-09-29 06:14gregRelationship addedrelated to 0004167
2011-08-29 14:00gregSVN Revision# => #
2011-08-29 14:00gregNote Added: 0005257
2011-08-29 14:00gregStatusassigned => resolved
2011-08-29 14:00gregFixed in Version => 2.0.3
2011-08-29 14:00gregResolutionopen => fixed
2011-08-29 14:11gregNote Added: 0005258
2011-08-29 14:11gregStatusresolved => closed

Notes
(0004610)
cindy   
2010-09-13 12:04   
SVN revision: 10181

2 out of 3 points have been applied into trunk:

1. Reference the tree icons used by "content navigation" to the theme image folder. If the icons are not in the theme folder, look up in atutor root image folder;
2. Associate the style of the current selected content to a class;

The truncation is not applied yet since it needs an according preference to switch on/off.

Affected scripts:
include/classes/ContentManager.class.php
jscripts/ATutorCourse.js
jscripts/ATutor_js.php
themes/default/styles.css
(0005257)
greg   
2011-08-29 14:00   
Fixed 1 & 3, won't add truncation until Fluid comes up with a good solution
(0005258)
greg   
2011-08-29 14:11   
2.0.3 bugs resolved and closed round 2