Skip to content

Commit

Permalink
fix uninstall
Browse files Browse the repository at this point in the history
  • Loading branch information
gil-cano committed Jun 18, 2019
1 parent f025d76 commit 6db95aa
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 18 deletions.
12 changes: 6 additions & 6 deletions matem/responsivetheme/profiles/default/cssregistry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,25 @@
media="" rel="stylesheet" rendering="import"
cacheable="True" compression="safe" cookable="True"
enabled="1" expression=""/>

<stylesheet title=""
id="rwd-nav.css"
media="" rel="stylesheet" rendering="import"
cacheable="True" compression="safe" cookable="True"
enabled="1" expression=""/>
enabled="1" expression=""/>

<!-- mediaqueries.css needs to be rendered as a link instead of @import for respond.js to work with the media queries.
<!-- mediaqueries.css needs to be rendered as a link instead of @import for respond.js to work with the media queries.
Also the media="" allows chrome and safari to work- there would of been a nesting of media="screen" -->
<stylesheet title=""
id="mediaqueries.css"
media="" rel="stylesheet" rendering="link"
cacheable="True" compression="safe" cookable="True"
enabled="1" expression="" />

<stylesheet title=""
id="responsiveIEFixes.css"
media="" rel="stylesheet" rendering="link"
cacheable="True" compression="safe" cookable="True"
enabled="1" expression="" conditionalcomment="lte IE 8" />
</object>

</object>
6 changes: 2 additions & 4 deletions matem/responsivetheme/profiles/default/skins.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0"?>

<object name="portal_skins" allow_any="False" cookie_persistence="False"
default_skin="IM Responsive Theme">
<object name="portal_skins" default_skin="IM Responsive Theme">

<object name="matem_responsivetheme_styles"
meta_type="Filesystem Directory View"
Expand All @@ -15,8 +14,7 @@
directory="matem.responsivetheme:skins/matem_responsivetheme_contact_info" />

<skin-path name="IM Responsive Theme" based-on="Sunburst Theme">
<layer name="matem_responsivetheme_styles"
insert-after="custom"/>
<layer name="matem_responsivetheme_styles" insert-after="custom"/>
<layer name="matem_responsivetheme_images"
insert-after="matem_responsivetheme_styles"/>
<layer name="matem_responsivetheme_contact_info"
Expand Down
10 changes: 6 additions & 4 deletions matem/responsivetheme/profiles/uninstall/cssregistry.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<?xml version="1.0"?>

<object name="portal_css">
<stylesheet title="" id="mediaqueries.css" remove="True" />
<stylesheet title="" id="responsivetheme.css" remove="True" />
<stylesheet title="" id="responsiveIEFixes.css" remove="True" />
<stylesheet title="" id="rwd-nav.css" remove="True" />
<stylesheet id="mainpage.css" remove="True" />
<stylesheet id="slicebox.css" remove="True" />
<stylesheet id="responsivetheme.css" remove="True" />
<stylesheet id="rwd-nav.css" remove="True" />
<stylesheet id="mediaqueries.css" remove="True" />
<stylesheet id="responsiveIEFixes.css" remove="True" />
</object>
8 changes: 8 additions & 0 deletions matem/responsivetheme/profiles/uninstall/jsregistry.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<object name="portal_javascripts">
<javascript id="++resource++matem.responsivetheme.javascripts/respond.src.js" remove="True" />
<javascript id="++resource++matem.responsivetheme.javascripts/viewportchange.js" remove="True" />
<javascript id="++resource++matem.responsivetheme.javascripts/plone-rwd-nav.js" remove="True" />
<javascript id="++resource++matem.responsivetheme.javascripts/ios-orientationchange-fix.js" remove="True" />
<javascript id="++resource++matem.responsivetheme.javascripts/jquery.slicebox.min.js" remove="True" />
</object>
7 changes: 3 additions & 4 deletions matem/responsivetheme/profiles/uninstall/skins.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
<?xml version="1.0"?>
<object name="portal_skins" allow_any="False" cookie_persistence="False"
default_skin="Sunburst Theme">
<object name="portal_skins" default_skin="Sunburst Theme">

<object name="matem_responsivetheme_styles"
meta_type="Filesystem Directory View" remove="True" />

<object name="matem_responsivetheme_images"
meta_type="Filesystem Directory View" remove="True" />

<object name="matem_responsivetheme_contact_info"
meta_type="Filesystem Directory View" remove="True" />
<skin-path name="IM Responsive Theme" remove="True" />

</object>
8 changes: 8 additions & 0 deletions matem/responsivetheme/profiles/uninstall/viewlets.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<object>
<!-- Sunburst Theme -->
<hidden manager="plone.portaltop" skinname="Sunburst Theme" purge="True"/>
<hidden manager="plone.portalheader" skinname="Sunburst Theme" purge="True"/>
<order manager="plone.portaltop" skinname="Sunburst Theme" purge="True"/>
<order manager="plone.portalheader" skinname="Sunburst Theme" purge="True"/>
</object>

0 comments on commit 6db95aa

Please sign in to comment.