UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Help me remove some css/js assets :)

Mist · ·
6:54 PM Friday, 11 July 2014
None
Hi guys, i am trying to optimize our project and i want to remove some stuff that we don't use.
There is no point of loading tons of stuff is is not mandatory.

So i will keep this topic updated with some code that stackideas components area loading, asking what the code is doing, how it can be removed ... and from where.

 <script type="text/javascript">
/*<![CDATA[*/
var eblog_site = 'http://mysite.com/index.php?option=com_easyblog&lang=&Itemid=128';
var spinnerPath = 'http://mysite.com/components/com_easyblog/assets/images/loader.gif';
var lang_direction = 'ltr';
var eblog_lightbox_title = false;
var eblog_enable_lightbox = false;
var eblog_lightbox_enforce_size = false;
var eblog_lightbox_width = 640;
var eblog_lightbox_height = 480;
var eblog_lightbox_strip_extension = false;
/*]]>*/
</script>


What is this doing ? I don't need any core EasyBlog lightbox because we use our own stuff.
Where i can remove it ?


  <link rel="stylesheet" href="http://mysite.com/components/com_easyblog/assets/css/common.css" type="text/css" />


We user our own stuff in EasyBlog .... so we don't need to load any extra Easyblog css.
How (where) i can disable/remove everything css related coming from EasyBlog ?

<script>EasyBlog.token = "26690472f370c32a857536b3f3dc6043";</script>


What is this token for ? It is mandatory ? If not, can i remove it ? Where ?


<link href="http://mysite.com/components/com_easyblog/classes/wlwmanifest.xml" rel="wlwmanifest" type="application/wlwmanifest+xml" />


Same thing, what it is for this xml ? It is mandatory ? If not, can i remove it ? Where ?


That's it for now. I have more stuff but let's take care of this first.
I want to optimize the assets output to bare minimum so our website will not be bloated with a lot of stuff that is not used.

Thanks in advance for your tips !
The replies under this section are restricted to logged in users or users with an active subscription with us