No account yet?
 

Subscriptions

ImageWhen you sign up as a premium subscriber, you get more than access to a host of fantastic features. You become a member of a flourishing community that continuously improves the very projects that run your website. Why not sign up today?

Subscriber Benefits

  • Subscriber only addons and plugins!
  • Latest beta code and SVN builds!
  • Access new versions before anyone else!
  • Premium Priority Support!
  • User Manuals for our components!
Read On!
Why doesn't my TransMenu work with PUArcade?
Monday, 19 November 2007

The D4J transmenu and PUArcade both use the same name for a variable: gid.  In PUArcade, this represents the id of a game.  This is explained on the D4J site here: http://designforjoomla.com/forum/index.php?topic=724.msg2360

To work around this problem, follow these steps:

1.  Open /modules/mod_d4j_transmenu.php

2.  At the beginning of the file, find this :
<?php
/** ensure this file is being included by a parent file */
defined
'_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
global 
$mosConfig_offset$mosConfig_live_site$gid;
// Module Params

3.  After that, insert the following code:
if (!isset($gid)) $gid=2;

4.  At the end, it should look like this:
<?php
/** ensure this file is being included by a parent file */
defined
'_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
global 
$mosConfig_offset$mosConfig_live_site$gid;
if (!isset(
$gid)) $gid=2;
// Module Params

 

Last Updated ( Tuesday, 11 December 2007 )
 
< Prev   Next >

My Amazon.com Wish List