Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » Conflict between metamod and...
Conflict between metamod and AllVideosReloaded ??
Conflict between metamod and AllVideosReloaded ??
Hi there,
If I combine metamod and AllVideosReloaded I am getting this error message in firebug.
Expected ':' but found 'undefined'. Declaration dropped.
- If I use the same code in metamod replacing the AllVidoesReloaded module with something else the error goes away.
- If I load the same AllVideosReloaded module without Metamod, in the same position, the error goes away.
I have JS 1.5.14
Metamod 1.5g
AllVideosReloaded 1.2.6
Any ideas what this might be?
Note: My code is just checking for the browser version ....
$UA = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : '';
$SF = strstr($UA, 'Safari') ? true : false;
$OP = strstr($UA, 'Opera') ? true : false;
$OPV = $OP ? preg_split('/opera\//i', $UA) : false;
$OPV = $OPV ? floatval($OPV[1]) : false;
$FF = !$OP && strstr($UA, 'Firefox') ? true : false;
$FFV = $FF ? preg_split('/firefox\//i', $UA) : false;
$FFV = $FFV ? floatval($FFV[1]) : false;
$IE = strstr($UA, 'MSIE') ? true : false;
$IEV = $IE ? preg_split('/msie/i', $UA) : false;
$IEV = $IEV ? floatval($IEV[1]) : false;
if ($IEV >= 7) return 385; // any version of IE greater or equal to 7
if ($FF) return 385; // any version of Firefox
if ($OP) return 385; // any version of Opera
if ($SF) return 385; // any version of Safari
return 374;
Re: Conflict between metamod and AllVideosReloaded ??
I looked into this, and found that MetaMod was not involved at all -- the Javascript warning (not even an error) message displayed was a result of another module on the page, nothing to do with MetaMod.
MetaMod seems to be working perfectly well with AV Reloaded.
- Index
- » MetaMod
- » MetaMod General Support
- » Conflict between metamod and...
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5944
- Posts this week:
- 2
- User Info:
- Total Users:
- 7660
- Newest User:
- marino9885
- Members Online:
- 0
- Guests Online:
- 133
- Online:
- There are no members online
Forum Legend:
Topic
New
Locked
Sticky
Active
New/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky/Active/Locked