cancel
Showing results for 
Search instead for 
Did you mean: 

How can I remove Comm100?

How can I remove Comm100?

Comm100 was installed onto our magento site in the dim and distant past (2011) by a developer who is no longer available and this version will stop working very soon. I have spoken to Comm100 themselves who say that I need to remove this code before I install the update. So here is the difficulty...

 

- Comm100 is not listed in Magento Connect so I cannot "uninstall" the extension.
- There are no configuration menus for Comm100 as it was not a magento-extension
- I cannot find any reference to Comm100 in any of our static blocks
- The code does appear in four files:
     /app/design/frontend/--/theme/layout/page.xml
     /app/design/frontend/--/theme/template/page/html/header.phtml
     /app/design/frontend/--/theme/template/catalog/product/view.phtml
     /app/design/frontend/--/theme/template/callouts/livechat.phtml

 

It looks like I will have to take backups of the files and try to remove the relevant code directly but this is my least favoured action. Does anybody know a better way?  ANy help appreciated.

2 REPLIES 2

Re: How can I remove Comm100?

Looking at the files you name, it's probably setup the same as many SaaS services: javascript injection with an HTML placeholder, but no real Magento support.

 

So let's review:

  • Page.xml: defines the block and template and where to inject them.
  • The block referencing the livechat.phtml will likely be of type core/template. If it's not, post the block type here.
  • There will be a section within <head> inserting a JavaScript file, most likely through addJs.
  • In the header it shouldn't need anything extra, but if something doesn't work the first time, people tend to try more ways. So it's possible there's another javascript reference there.
  • The livechat.phtml is the template file. Remove it.
  • It may be referenced in product/view.

So the only caveat, is if there is an actual block defined. That means your developer created an extension for it and there's more work to do then.

 

Re: How can I remove Comm100?

Hey Melvyn,

 

Your help is very much appreciated.

 

The page.xml includes the code below. There is a block for comm100. Can I just delete the line "<block type=line "core/template" name="comm100.livechat" template="callouts/livechat.phtml"/> ?

 

<default translate="label" module="page">
<label>All Pages</label>
<block type="page/html" name="root" output="toHtml" template="page/3columns.phtml">

<block type="page/html_head" name="head" as="head">
<action method="addJs"><script>prototype/prototype.js</script></action>
<action method="addJs"><script>lib/ccard.js</script></action>
<action method="addJs"><script>prototype/validation.js</script></action>
<action method="addJs"><script>scriptaculous/builder.js</script></action>
<action method="addJs"><script>scriptaculous/effects.js</script></action>
<action method="addJs"><script>scriptaculous/dragdrop.js</script></action>
<action method="addJs"><script>scriptaculous/controls.js</script></action>
<action method="addJs"><script>scriptaculous/slider.js</script></action>
<action method="addJs"><script>varien/js.js</script></action>
<action method="addJs"><script>varien/form.js</script></action>
<action method="addJs"><script>varien/menu.js</script></action>
<action method="addJs"><script>mage/translate.js</script></action>
<action method="addJs"><script>mage/cookies.js</script></action>

<action method="addJs"><script>magentothem/ma.jq1.js</script></action>

<block type="page/js_cookie" name="js_cookies" template="page/js/cookie.phtml"/>

<action method="addCss"><stylesheet>css/styles.css</stylesheet></action>
<action method="addItem"><type>skin_css</type><name>css/styles-ie.css</name><params/><if>lt IE 8</if></action>
<action method="addCss"><stylesheet>css/widgets.css</stylesheet></action>
<action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
<action method="addCss"><stylesheet>css/wide_menu.css</stylesheet></action
<!-- fancy box-->
<action method="addItem"><type>skin_css</type><name>css/fancybox.css</name></action>
<!-- <action method="addItem"><type>skin_js</type><name>js/ma.jq1.js</name></action> -->
<action method="addItem"><type>skin_js</type><name>js/mousewheel.js</name></action>
<action method="addItem"><type>skin_js</type><name>js/fancybox.js</name></action>
<action method="addItem"><type>skin_js</type><name>js/ads_slide.js</name></action>
<action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
<action method="addItem"><type>skin_js</type><name>js/ie6.js</name><params/><if>lt IE 7</if></action>
</block>

<block type="core/text_list" name="after_body_start" as="after_body_start" translate="label">
<label>Page Top</label>
</block>

<block type="page/html_notices" name="global_notices" as="global_notices" template="page/html/notices.phtml" />

<block type="page/html_header" name="header" as="header">
<block type="core/template" name="comm100.livechat" template="callouts/livechat.phtml"/>
<block type="directory/currency" name="store_currency_selector" as="store_currency_selector" template="directory/currency.phtml"/>
<block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/>
<block type="page/template_links" name="top.links" as="topLinks"/>
<block type="core/text_list" name="top.menu" as="topMenu" translate="label">
<label>Navigation Bar</label>
</block>
<block type="page/html_wrapper" name="top.container" as="topContainer" translate="label">
<label>Page Header</label>
<action method="setElementClass"><value>top-container</value></action>
</block>
</block>

<block type="core/text_list" name="ma.banner" as="ma.banner"/>

<block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/>

<block type="core/text_list" name="left" as="left" translate="label">
<label>Left Column</label>
</block>

<block type="core/messages" name="global_messages" as="global_messages"/>
<block type="core/messages" name="messages" as="messages"/>

<block type="core/text_list" name="content" as="content" translate="label">
<label>Main Content Area</label>
</block>

<block type="core/text_list" name="right" as="right" translate="label">
<label>Right Column</label>
</block>

<block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml">
<block type="page/html_wrapper" name="bottom.container" as="bottomContainer" translate="label">
<label>Page Footer</label>
<action method="setElementClass"><value>bottom-container</value></action>
</block>
<block type="page/switch" name="store_switcher" as="store_switcher" template="page/switch/stores.phtml"/>
<block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links.phtml"/>
</block>

<block type="core/text_list" name="before_body_end" as="before_body_end" translate="label">
<label>Page Bottom</label>
</block>
</block>

<block type="core/profiler" output="toHtml" name="core_profiler"/>
</default>

<print translate="label" module="page">
<label>All Pages (Print Version)</label>
<!-- Mage_Page -->
<block type="page/html" name="root" output="toHtml" template="page/print.phtml">

<block type="page/html_head" name="head" as="head">
<action method="addJs"><script>prototype/prototype.js</script></action>
<action method="addJs"><script>mage/translate.js</script></action>
<action method="addJs"><script>lib/ccard.js</script></action>
<action method="addJs"><script>prototype/validation.js</script></action>
<action method="addJs"><script>varien/js.js</script></action>

<action method="addCss"><stylesheet>css/styles.css</stylesheet></action>
<action method="addItem"><type>skin_css</type><name>css/styles-ie.css</name><params/><if>lt IE 8</if></action>
<action method="addCss"><stylesheet>css/widgets.css</stylesheet></action>
<action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>

<action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
<action method="addItem"><type>skin_js</type><name>js/ie6.js</name><params/><if>lt IE 7</if></action>

</block>

<block type="core/text_list" name="content" as="content" translate="label">
<label>Main Content Area</label>
</block>

</block>
</print>

 

Thanks again!!