CMS MADE SIMPLE FORGE

Showtime Module

 

[#8352] Showtime & OneEleven incompatibility

avatar
Created By: Goran Ilic (uniqu3)
Date Submitted: Thu Sep 06 07:52:37 -0400 2012

Assigned To: Peter (Pedrosken)
Version: Showtime-3.2
CMSMS Version: 1.11.1
Severity: Trivial
Resolution: Fixed
State: Closed
Summary:
Showtime & OneEleven incompatibility
Detailed Description:
There are minor issues with recent OneEleven theme and Showtime module within
jq_upload action.
Problem is that Theme CSS is being overriden with bootstrap.css in Showtime
module.

Solution would be customize bootstrap.css as far to not breaking whole Oneeleven
Theme.
One way would be to use get_variable('admintheme')
http://www.cmsmadesimple.org/apidoc/CMS/CmsApp.html#methodget_variable and check
against used theme, pass this to smarty and build your template based on that.
(you can find example how we did this in ListItExtended module)

Also Showtime is loading plenty of jQuery plugins, where a better solution would
be to check against CMS version or Theme and load these based on version.
For example in this same action jQuery 1.7.1 is being loaded, but core already
loads 1.7.2, then in OneEleven theme iframe-transport.js and fileupload,js are
already loaded from within the dropzone that comes from FileManager.


History

Updates

Updated: 2013-01-20 08:34
resolution_id: => 7
state: Open => Closed