Loading something just for virtuemart.

(1/2) > >>

chetanmadaan:
I am using this code below to load some code only for virtuemart... but doesn't look like working that good.

anyone can shed some light?

                              Code:

<?php if (!( JRequest::getVar('option') == 'com_virtuemart')): ?>
some code
<?php endif; ?>

BanquetTables.pro:
what exactly are you trying to accomplish?

chetanmadaan:
I am integrating mootools based tabs on virtuemart flypages but the scripts loading is conflcting with lightbox on the other part of the website..
.
so, i just want the script to load when virtuemat loads.

i can't insert it into flypage as i have more then 100 flypages.

Thanks

BanquetTables.pro:
then do it in theme.php

Look where the add script lines are

chetanmadaan:
i tried it and it didn't worked.

now, i get it... i am using a joomlart template and may be i need to take off the Catch.

thanks

Navigation

[0] Message Index

[#] Next page