1. Skip to Menu
  2. Skip to Content
  3. Skip to Footer>

New and powerful IceTabs module is available for Free. Check It Out

Are you satisfied with our Joomla Templates and Extensions?. Then please take the time to Write your Review !

Welcome to IceTheme Forums, Guest
Note that some parts of our Forums are hidden to guest and visible only to our Members. also you can post on all the following threads.

Cant disable GZIP on some templates.
(1 viewing) (1) Guest
Go to bottom
Post Reply
Post New Topic
Page: 1
TOPIC: Cant disable GZIP on some templates.
#5579
Cant disable GZIP on some templates. 1 Year, 1 Month ago Karma: 31
Hi,
On some of the old templates like IT Panorama there is no option for you, through the template manager, to disable the GZIP compression.

We will show you the way to do it through some changes.

First open templates/(templatename)/index.php


Find:
------
$this->_scripts = array_merge(array($template_baseurl . '/js/mootools.php' => 'text/javascript'), $this->_scripts);

Replace it with:
-----------------
$this->_scripts = array_merge(array($template_baseurl . '/js/mootools-release-1.11.js' => 'text/javascript'), $this->_scripts);



Find:
------
/*\*/@import url("<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template_css.css.php");/**/


Replace it with:
-----------------
/*\*/@import url("<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template_css.css");/**/


And for the last step just add the content of the attached file on your server on the templates/(templatename)/css/




If you have encounter any issue please reply here.
File Attachment:
File Name: gzip.zip
File Size: 377
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Alvin
Administrator
Posts: 2116
graph
User Online Now Click here to see the profile of this user
Gender: Male alvini_icetheme IceTheme Location: Tirana Albania
Reply Quote
Alvin Konda
-------------------
IceTheme
CEO
 
Go to top
Post Reply
Post New Topic
Page: 1
Moderators: juljan, blerta

Join IceTheme

Are you ready to Download all our Joomla Templates and make use of them instantly on your website?
Join IceTheme Club Now!

IceSpeed Plugin

IceSpeed Plugin decrease the loading time of your website by compressing, optimizing, merging CSS and JavaScript on your website... Read More

Affiliate Program

Earn 20% of every sale that is generated from your website and generate and extra income immediately! Join Affiliate Program