Defer parsing of javascript in joomla 1.5

347 views
Skip to first unread message

rahul borole

unread,
May 5, 2013, 10:07:16 AM5/5/13
to joomla-de...@googlegroups.com
Hi everybody

i want to defer parsing of javascript
gtmetrix suggesting it to me. i tried so much but not yet working.

$vm_mainframe->addScript( $mosConfig_live_site .'/components/'. VM_COMPONENT_NAME .'/js/extjs2/yui-utilities.js');
$vm_mainframe->addScript( $mosConfig_live_site .'/components/'. VM_COMPONENT_NAME .'/js/extjs2/ext-yui-adapter.js');
$vm_mainframe->addScript( $mosConfig_live_site .'/components/'. VM_COMPONENT_NAME .'/js/extjs2/ext-all.js');

i also added async option to it, searched but not getting how to fix it.
i'm using joomla 1.5 and this script are loading from module mod_vm_multidispaly

Thanks,
Rahul.

brian teeman

unread,
May 7, 2013, 8:03:30 AM5/7/13
to joomla-de...@googlegroups.com
Sorry, I don't mean to step on any toes, but this list is for extension 
development and discussion of how to create extensions.  You should 
instead ask this question on the Joomla forum.  Here's the direct link to 
it: 
http://forum.joomla.org/ 

Hope this helps! 

Kind regards, 
Brian

Amy Stephen

unread,
May 7, 2013, 12:49:36 PM5/7/13
to joomla-de...@googlegroups.com
If I understand correctly, all development questions are to be asked here. A couple of years ago, the developer forum areas were closed down for this list.

If you look at the descriptions in the Development forum areas -- they still point to this list -- http://forum.joomla.org/viewforum.php?f=509&sid=5f4dd185d6b1d8574a426260c69235a2

I believe this is the appropriate, and only place, to ask these questions.


--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.
To post to this group, send an email to joomla-de...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages