0
Welcome Guest! Login
0 items Join Now

Technopia and/or Fire template and Google map component

    • Eric Chavez's Avatar

    Technopia and/or Fire template and Google map component

    Posted 17 years 7 months ago
    • Has anyone been successful with either Technopia or Fire templates and Google map component.
      I have been successful using with other templates such as Macphoria. So, I know changeing index.php correctly.

      Here's what I gotfor Technopia.... Any suggestions would be greatly appreciated.

      Thanks in advance,

      Eric

      <?php
      defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
      // needed to seperate the ISO number from the language file constant _ISO
      $iso = split( '=', _ISO );
      // xml prolog - quirks mode
      //echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
      ?>
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd ">
      <html xmlns=" www.w3.org/1999/xhtml " xmlns:v="urn:schemas-microsoft-com:vml">
      <head>
      <?php
      if ( $my->id ) {
      initEditor();
      }
      mosShowHead();

      require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/templateConfig.inc.php");
      require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/rt_supersucker.php");
      require($mosConfig_absolute_path."/templates/" . $mainframe->getTemplate() . "/rt_modules.php");
      ?>
      <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
      <link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/template_css.css" rel="stylesheet" type="text/css" />
      <!--[if lte IE 6]>
      <link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/template_ie.css" rel="stylesheet" type="text/css" />
      <![endif]-->
      <link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/style_<?php echo $template_style; ?>.css" rel="stylesheet" type="text/css" />
      <link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/images/favicon.ico" />
      <script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/js/prototype.lite.js"></script>
      <script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/js/moo.fx.js"></script>
      <script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/js/moo.fx.pack.js"></script>
      <?php if(true && mosCountModules('user1')) { ?>
      <script type="text/javascript">
      //we define two arrays, containing our toggles and divs.

      function init(){
      var stretchers = document.getElementsByClassName("stretcher");
      var toggles = document.getElementsByClassName("toggle");

      //accordion effect
      var myAccordion = new fx.Accordion( toggles, stretchers, {opacity: false, duration: 300} );
      myAccordion.showThisHideOpen(stretchers[0]);
      }
      </script>
      <?php } ?>
      </head>
      <body <?php if ($option=='com_google_maps') { echo 'onload="initMap()" onunload="GUnload()"'; } ?> >
      <body class="<?php echo $template_width; ?> <?php echo $template_orientation; ?>">
      <div class="hide">Another great <b>RocketTheme Joomla Template</b> brought to you by the <a href=" www.rockettheme.com " title="RocketTheme">RocketTheme Joomla Template Club</a>.</div>
      <div id="wrapper">
      <div id="shadow_l">
      <div id="shadow_r">
      <div id="side">
      <div id="side_l">
      <div id="side_r">
      <div id="logo"></div>
      <?php mosLoadModules('left', -2); ?>
      </div>
      </div>
      </div>
      <div id="main">
      <div id="frame">
      <div id="header">
      <div id="pathway">
      <?php mosPathway(); ?>
      </div>
      </div>
      <div id="content">
      <div id="divnav">
      <?php mosShowListMenu($menu_name);?>
      </div>
      <?php if(mosCountModules('user1')) { ?>
      <div id="moofx">
      <?php rtLoadModules('user1'); ?>
      </div>
      <div class="mainbody thin">
      <?php } ?>
      <?php if(!mosCountModules('user1')) { ?>
      <div class="mainbody wide">
      <?php } ?>
      <div class="columns_<?php echo(rtActiveColumn('user2') + rtActiveColumn('user3') + rtActiveColumn('user4')); ?>">
      <?php if(mosCountModules('user4')) { ?>
      <div class="float_module">
      <?php mosLoadModules('user4', -2); ?>
      </div>
      <?php } ?>
      <?php if(mosCountModules('user3')) { ?>
      <div class="float_module">
      <?php mosLoadModules('user3', -2); ?>
      </div>
      <?php } ?>
      <?php if(mosCountModules('user2')) { ?>
      <div class="float_module">
      <?php mosLoadModules('user2', -2); ?>
      </div>
      <?php } ?>
      <div class="pagedivider"></div>
      </div>
      <div class="bodyposition">
      <div class="bodypadding">
      <?php mosMainBody(); ?>
      </div>
      </div>
      <div class="clr"></div>
      </div>
      <div id="bottomsection">
      <div class="bottom columns_<?php echo(rtActiveColumn('user5') + rtActiveColumn('user6') + rtActiveColumn('user7')); ?>">
      <?php if(mosCountModules('user7')) { ?>
      <div class="float_module">
      <?php mosLoadModules('user7', -2); ?>
      </div>
      <?php } ?>
      <?php if(mosCountModules('user6')) { ?>
      <div class="float_module">
      <?php mosLoadModules('user6', -2); ?>
      </div>
      <?php } ?>
      <?php if(mosCountModules('user5')) { ?>
      <div class="float_module">
      <?php mosLoadModules('user5', -2); ?>
      </div>
      <?php } ?>
      </div>
      </div>
      </div>
      <div id="footer">
      Hosted by Chavez Web Hosting - Tribal Gatherings</a> © 2006 - All Rights Reserved
      </div>
      </div>
      </div>
      <div class="clr"></div>
      </div>
      </div>
      </div>
      <?php mosLoadModules( 'debug', -1 );?>
      <?php if(mosCountModules('user1')) { ?>
      <script type="text/javascript">
      init();
      </script>
      <?php } ?>
      </body></body>
      </html>
    • Joe K's Avatar
    • Joe K
    • Elite Rocketeer
    • Posts: 902
    • Thanks: 0

    Re: Technopia and/or Fire template and Google map component

    Posted 17 years 7 months ago
    • Currently working in Firefrog:


      <body class="<?php echo $widthstyle; ?> <?php echo $fontstyle; ?> <?php echo $templatestyle; ?> <?php if ($option=='com_google_maps') { echo 'onload="initMap()" onunload="GUnload()"'; } ?>">

      Not knowing php, this took me along time to figure out. Hope it works for you!
    • Last Edit: 16 years 7 months ago by .
    • Joe K's Avatar
    • Joe K
    • Elite Rocketeer
    • Posts: 902
    • Thanks: 0

    Re: Technopia and/or Fire template and Google map component

    Posted 17 years 7 months ago
    • Did it work?

Time to create page: 0.047 seconds