Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • pelaestrada Friend
    #155756

    Hey guys, good morning.

    In my template i need define a code to access key (SHIFT+ALT+Number), but, in my index.php how can i define in code?

    Is that correct?

    [PHP]<div id=”ja-header” class=”wrap”>
    <div class=”menu-superior”>
    <jdoc:include type=”modules” name=”menusup” style=”raw” tabindex=’1′ accesskey=’1′ />
    </div>[/PHP]

    this is the order of access to the shortcut keys that I need to configure the home of my template:

    Order to set the shortcut keys

    Key Action

    0 Menu (Main Menu and Top Menu)

    1 Content (mod_globalnews )

    2 Increase font (mod_makemeaccessible)

    3 Decrease font (mod_makemeaccessible)

    4 Higher contrast (mod_makemeaccessible)

    5 Lower contrast (mod_makemeaccessible)

    6 Help (http://tiete.iof.mg.gov.br/ajuda.html or menu item “Ajuda”)

    7 Sitemap (http://tiete.iof.mg.gov.br/component/option,com_rd_sitemap/Itemid,131/id,1/view,sitemap/)

    8 Contact Us (http://tiete.iof.mg.gov.br/Fale-Conosco/)

    9 Search (mod_search)

    My entire inde.php code:

    [PHP]<?php
    /*————————————————————————
    # JA Opal for Joomla 1.5 – Version 1.0 – Licence Owner jSharing.com
    # ————————————————————————
    # Copyright (C) 2004-2008 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
    # @license – Copyrighted Commercial Software
    # Author: J.O.O.M Solutions Co., Ltd
    # Websites: http://www.joomlart.comhttp://www.joomlancers.com
    # This file may not be redistributed in whole or significant part.
    ————————————————————————-*/
    // no direct access
    defined( ‘_JEXEC’ ) or die( ‘Restricted access’ );
    include_once (dirname(__FILE__).DS.’ja_vars_1.5.php’);
    ?>
    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN”
    “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
    <html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”<?php echo $this->language; ?>” lang=”<?php echo $this->language; ?>” >
    <head>
    <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
    <?php
    // remove mootools 1.11 para guests e utilizadores reguistados
    // $utilizador =& JFactory::getUser();
    //if ($utilizador->get(‘guest’) == 1 or $utilizador->usertype == ‘Registered’) {
    // $headerstuff = $this->getHeadData();
    // $headerstuff[‘scripts’] = array();
    // $this->setHeadData($headerstuff);
    // }
    ?>
    <head>
    <jdoc:include type=”head” />
     
    <!– A framework javascript que desejar –>
    <script type=”text/javascript” src=”media/system/js/mootools.js”></script>
    <?php //Remove ‘caption.js’
    $header_data = $this->getHeadData();
    reset($header_data[‘scripts’]);
    foreach($header_data[‘scripts’] as $key=>$value) {
    if(strpos($key, ‘caption.js’)) {
    unset($header_data[‘scripts’][$key]);
    }
    }
    $this->setHeadData($header_data); ?>
    <!– outro codigo –>
    <jdoc:include type=”head” />
    <?php JHTML::_(‘behavior.mootools’); ?>
    <link rel=”stylesheet” href=”<?php echo $tmpTools->templateurl(); ?>/css/template.css” type=”text/css” />
    <script language=”javascript” type=”text/javascript”>
    var siteurl = ‘<?php echo $tmpTools->baseurl();?>’;
    var tmplurl = ‘<?php echo $tmpTools->templateurl();?>’;
    </script>
    <script language=”javascript” type=”text/javascript” src=”<?php echo $tmpTools->templateurl(); ?>/js/ja.script.js”></script>
    <!– js for dragdrop –>
    <meta http-equiv=”X-UA-Compatible” content=”IE=EmulateIE7″ />
    <!– Menu head –>
    <?php if ($jamenu) $jamenu->genMenuHead(); ?>
    <link href=”http://www.iof.mg.gov.br/templates/tpl_opal_j15-2/css/colors/default.css” rel=”stylesheet” type=”text/css” />
    <!–>
    <style type=”text/css”>
    .clearfix {display: inline-block;}
    </style>
    <!–>
    <!–>
    <style type=”text/css”>
    .clearfix {display: block;}
    </style>
    <!–>
    <!–>
    <style type=”text/css”>
    img {border: none;}
    <?php if ($iebgpng) : ?>
    #ja-bdbg {
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $tmpTools->templateurl();?>/images/background/<?php echo $bgimg;?>’, sizingMethod=’image’);
    }
    body {
    background-image: none!important;
    }
    <?php endif; ?>
    </style>
    <!–>

    <?php
    $mainbg = ”;
    if ($tmpTools->getParam(‘ja_bgimg’)) {
    $mainbg = ‘class=”ja-mainbg”‘;
    }
    ?>

    <style type=”text/css”>

    body {
    background-image: url();
    background-repeat: repeat-x;
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    }

    </style>
    </head>

    <div id=”recipiente”>

    <body id=”bd” class=”<?php echo $tmpTools->getParam(JA_TOOL_LAYOUT);?>
    <?php echo $tmpTools->getParam(JA_TOOL_SCREEN);?> fs
    <?php echo $tmpTools->getParam(JA_TOOL_FONT);?>”
    <?php //echo $bodybg;?>>
    <div align=”center” id=”img-gover”>
    <img src=”templates/tpl_opal_j15-2/images/govMinas-barra.jpg” alt=”” width=”1024″ height=”27″ border=”0″ usemap=”#Map2″ />
    <map name=”Map2″ id=”Map2″>
    <area shape=”rect” coords=”6,2,92,23″ href=”http://www.mg.gov.br” target=”_blank” alt=”” />
    </map>
    </div>

    <div id=”ja-wrapper” <?php echo $mainbg;?>>
    <a name=”Top” id=”Top”></a>
    <?php if ($iebgpng) : ?>
    <div id=”ja-bdbgwrap” class=”wrap”>
    <div id=”ja-bdbg”>
    </div>
    </div>
    <?php endif; ?>
    <!– HEADER –>

    <div id=”ja-header” class=”wrap”>
    <div class=”menu-superior”>
    <jdoc:include type=”modules” name=”menusup” style=”raw” tabindex=’1′ accesskey=’1′ />
    </div>

    <div class=”main clearfix”>
    <?php if ($this->countModules(‘menusup’)) : ?>

    <?php endif; ?>
    <?php if ( $this->countModules(‘banner’) ) { ?>
    <div id=”ja-banner”>
    <jdoc:include type=”modules” name=”banner” style=”raw” tabindex=’3′ accesskey=’3’/>
    </div>

    <?php } ?>
    <?php
    $siteName = $tmpTools->sitename();
    if ($tmpTools->getParam(‘logoType’)==’image’) { ?>
    <h1 class=”logo”>
    <a href=”index.php” title=”<?php echo $siteName; ?>”>
    <span>
    <?php echo $siteName; ?>
    </span></a> </h1>
    <script src=”http://www.google.com/jsapi?key=ABQIAAAApPtdTrHooUP6G8q_w31t0BSgS_ccSdg-ORZV5YvuGYHL2TlRJxSFROB-OcV8toEN2GeOtp9jvy4SRQ” type=”text/javascript”></script>
    <?php } else {
    $logoText = (trim($tmpTools->getParam(‘logoText’))==”) ? $config->sitename : $tmpTools->getParam(‘logoText’);
    $sloganText = (trim($tmpTools->getParam(‘sloganText’))==”) ? JText::_(‘SITE SLOGAN’) : $tmpTools->getParam(‘sloganText’); ?>
    <div class=”logo-text”>
    <p class=”site-slogan”>
    <?php echo $sloganText;?>
    </p> <h1>
    <a href=”index.php” title=”<?php echo $siteName; ?>”>
    <span>
    <?php echo $logoText; ?>
    </span></a> </h1>
    </div>
    <?php } ?>
    </div>
    </div>
    <!– //HEADER –>
    <!– MAIN NAVIGATION –>
    <div id=”ja-mainnav” class=”wrap”>
    <div class=”main”>
    <div class=”inner clearfix”>
    <ul class=”no-display”>
    <li>
    <a href=”<?php echo $tmpTools->getCurrentURL();?>#ja-content” title=”
    <?php echo JText::_(“Skip to content”);?>”>
    <?php echo JText::_(“Skip to content”);?></a>
    </li>
    </ul>
    <?php if ($jamenu) $jamenu->genMenu (0); ?>
    <?php if($this->countModules(‘ja-login’)) : ?>
    <div id=”ja-headtools” class=”ja-headtool”>
    <ul>
    <jdoc:include type=”modules” name=”ja-login” />
    </ul>
    </div>
    <?php endif; ?>
    </div>
    </div>
    </div>
    <!– //MAIN NAVIGATION –>
    <!– PATHWAY –>
    <div id=”ja-pathway” class=”wrap”>
    <div class=”main”>
    <div class=”inner clearfix”>
    <div class=”ja-pathway-text”> <strong>Você está aqui:</strong>
    <jdoc:include type=”module” name=”breadcrumbs” />
    </div>
    <?php if ($this->countModules(‘user4’)) { ?>
    <div id=”ja-search”>
    <jdoc:include type=”modules” name=”user4″ style=”raw” />
    </div>
    <?php } ?>
    </div>
    </div>
    </div>
    <!– //PATHWAY –>
    <?php if ($this->countModules(‘ja-slideshow’) && $this->countModules(‘user5’) ) { ?>
    <!– TOP SPOTLIGHT –>
    <div id=”ja-topsl” class=”wrap”>
    <div class=”main”>
    <div class=”inner clearfix”>
    <div id=”ja-slideshow”>
    <jdoc:include type=”modules” name=”ja-slideshow” style=”raw” />
    </div>
    <div id=”ja-hl”>
    <jdoc:include type=”modules” name=”user5″ style=”jamodule” />
    </div>
    </div>
    </div>
    </div>
    <!– //TOP SPOTLIGHT –>
    <?php } ?>
    <div id=”ja-container<?php echo $divid; ?>” class=”wrap clearfix”>
    <div class=”main”>
    <div class=”inner clearfix”>
    <!– CONTENT –>
    <div id=”ja-mainbody”>
    <jdoc:include type=”message” />
    <div id=”ja-current-content” class=”clearfix”>
    <jdoc:include type=”component” />
    </div>
    <?php if ( $this->countModules(‘ja-news’) ) { ?>
    <!– JA NEWS –>
    <div id=”ja-news”>
    <jdoc:include type=”modules” name=”ja-news” style=”jamodule” tabindex=’2′ accesskey=’2′ />
    </div>
    <!– //JA NEWS –>
    <?php } ?>
    <?php if ($this->countModules(‘ja-contentslide’) ) { ?>
    <!– JA CONTENT SLIDER –>
    <div id=”ja-cs”>
    <div class=”clearfix”>
    <jdoc:include type=”modules” name=”ja-contentslide” style=”jamodule” />
    </div>
    </div>
    <!– //JA CONTENT SLIDER –>
    <?php } ?>
    </div>
    <!– //CONTENT –>
    <?php if ( $ja_left || $ja_right ) { ?>
    <!– RIGHT COLUMN –>
    <div id=”ja-colwrap”>
    <div class=”ja-innerpad”>
    <?php if ($hasSubnav) : ?>
    <div id=”ja-subnav” class=”moduletable_menu”>
    <h3 class=”clearfix”>
    <span class=”right-bg clearfix”>
    <span class=”left-bg”>On this page
    </span>
    </span></h3>
    <div class=”ja-boxct-wrap”>
    <div class=”ja-box-ct”>
    <?php if ($jamenu) $jamenu->genMenu (1,1); ?>
    </div>
    </div>
    </div>
    <?php endif; ?>
    <jdoc:include type=”modules” name=”left” style=”jamodule” />
    <jdoc:include type=”modules” name=”right” style=”jamodule” />
    </div>
    </div>
    <!– //RIGHT COLUMN –>
    <?php } ?>
    </div>
    </div>
    </div>
    <?php
    $spotlight = array (‘user1′,’user2′,’user7′,’user8’);
    $botsl = $tmpTools->calSpotlight ($spotlight,$tmpTools->isOP()?100:99.5);
    if( $botsl ) {
    ?>
    <!– BOTTOM SPOTLIGHT–>
    <div id=”ja-botsl” class=”wrap”>
    <div class=”main clearfix”>
    <?php if( $this->countModules(‘user1’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user1’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user1’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user1″ style=”jamodule” />
    </div>
    <?php } ?>
    <?php if( $this->countModules(‘user2’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user2’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user2’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user2″ style=”jamodule” />
    </div>
    <p>
    <?php } ?>
    </p>
    <?php if( $this->countModules(‘user7’) ) {?>
    <?php } ?>
    <?php if( $this->countModules(‘user8’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user8’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user8’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user8″ style=”jamodule” />
    </div>
    <?php } ?>
    </div>
    </div>
    <!– //BOTTOM SPOTLIGHT 2 –>
    <?php } ?>
    <!– FOOTER –>
    <div id=”rodape-imagens”> <a href=”http://www.mg.gov.br” target=”_blank”> <img src=”../../images/images/banners-home_01.jpg” width=”182″ height=”69″ border=”0″ alt=”” /></a> <a href=”http://www.abio.com.br/index.asp” target=”_blank”> <img src=”../../images/images/banners-home_02.jpg” width=”154″ height=”69″ border=”0″ alt=”” /></a> <a href=”http://www.tjmg.gov.br/” target=”_blank”> <img src=”../../images/images/banners-home_03.jpg” width=”192″ height=”69″ border=”0″ alt=”” /></a> <a href=”http://www.servas.org.br/” target=”_blank”> <img src=”../../images/images/banners-home_04.jpg” width=”195″ height=”69″ border=”0″ alt=”” /></a><br />
    <img src=”templates/tpl_opal_j15-2/images/governoMinasRod.png” width=”753″ height=”30″ border=”0″ usemap=”#Map” alt=”” />
    <map name=”Map” id=”Map”>
    <area shape=”rect” coords=”556,4,756,34″ href=”index.php?option=com_content&view=article&id=113&Itemid=97″ />
    </map>
    </div>

    <div id=”ja-footer” class=”wrap”>
    <div class=”main clearfix”>
    <jdoc:include type=”modules” name=”user3″ />
    <jdoc:include type=”modules” name=”footer” />
    </div>
    <div align=”center”>
    </div>
    </div>
    <!– //FOOTER –>
    <jdoc:include type=”modules” name=”debug” />
    <script type=”text/javascript”>
    //addSpanToTitle();
    //jaAddFirstItemToTopmenu();
    //jaRemoveLastContentSeparator();
    //jaRemoveLastTrBg();
    //moveReadmore();
    //addIEHover();
    //slideshowOnWalk ();
    //apply png ie6 main background
    </script>
    </div>
    <div align=”center”>
    </div>

    </div>

    </body>
    </html>[/PHP]

    Arvind Chauhan Moderator
    #360794

    Dear,
    <blockquote>
    JA Opal for Joomla 1.5 – Version 1.0 – Licence Owner jSharing.com </blockquote>

    Thats a pirated template in use. You may be a club member now, but that stuff still is not the original one.

    Its sad.

    Arvind

    pelaestrada Friend
    #360796

    sorry,drarvindc, but I had nothing to do with it, I started working on that site after the template has been assembled.

    I had no way of knowing, however, is the second year I paid my subscription with you! and I can not get rid of this template!

    Can I “legalize” this template without losing what I have already customized?

    Arvind Chauhan Moderator
    #360797

    I am sorry, it does not work that ways.

    pelaestrada Friend
    #360799

    Then, even if you settled a customer, I can not support, simple as that?

    pelaestrada Friend
    #360800

    instead of being posing because I did not ensure that this guidance in AS TEMPLATE?

    I’m being unfair? I’m not always very well attended forums and less for you!

    does anyone other than you could guide me to change my template so that it is regulated?

    Phill Moderator
    #360801

    Remove that copy of the template and install the genuine one. Apply your custom changes then register the URL with us and you should be good to go.

    Please tell us how you came accross this template?

    pelaestrada Friend
    #360804

    I replaced a previous designer in 2008, when I started working on this site. the previous designer who set up the initial template and I gave continuity.

    phill, I’ll do what you advised me to be able to regulate the template

    thank’s

    Arvind Chauhan Moderator
    #360853

    The word is final. You can not legalize a pirated template.

    Phil marked copy to me about the PM you sent him last night.

    Here is the summary about the whole issue :

    1. Template is illegal.
    2. Domain is not registered for license.
    3. Personal membership used for developing site for others. (it should be developer membership).
    4. Copyright removed from template footer. (only developers can remove it or you need to buy copyright removal).
    5. Template folder name changed (customized). Not allowed under personal membership.

    and all you get in your head is >> drarvindc giving moral lecture?

    Cut the crap. You want us to help you with a pirated template?

    Another post from you and you are heading for ban. just because you bought membership, does not mean that we will support your pirated stuff.

    Arvind

    pelaestrada Friend
    #360903

    **********OFFENDING WORDS REMOVED*************

    may return to play the God of the idiots there that I’m going to sign another service less pork than yours

    and can be sure that now I’m pirating and distributing all the templates you! son of a *****

    tomly Friend
    #360904

    <em>@pelaestrada 200965 wrote:</em><blockquote>**********OFFENDING WORDS REMOVED*************

    may return to play the God of the idiots there that I’m going to sign another service less pork than yours

    and can be sure that now I’m pirating and distributing all the templates you! son of a ****</blockquote>

    Pelaestrada,

    What’s your problem? You own of your site and don’t know you are using a cracked template? That’s already ridiculous and now you wanna turn it into a legal one?

    It’s great that your a loyal customer, but JoomlArt has not only YOU as member. To protect the hard working team of devs and designers, and of course all the “good” members it would be more than just unfair, and what if everyone cracks like you boy, should they all get full rights still?

    Man, just reinstall your template and copy your customizations. What’s so difficult about that?

    Sorry man, but for the sake of a bit of cultivation on this forum, please please mods kick this idiot, don’t need him here. >:( >:(

    TomC Moderator
    #360927

    Isn’t it entertaining how “clever” those who pirate commercial templates try to be in acting all innocent and unaware … but when they’re exposed and called-out on their veiled attempt at innocence.

    I do notice that our friend has 158 downloads under his belt . . . which suggests to me that he was, at one time, a member. If such is the case, then WHY would he be using a pirated template? Further, if he is putting himself out there as a “web designer,” should he not have the knowledgebase/wherewithal to be able to read/understand the code to know what he is working with?

    Now, I like to try to give everyone the benefit of the doubt … but when the suggestion was made for our friend to obtain the proper LEGAL template and simply reapply the customizations, and instead of doing so he went off on a profanity laced tirade … that was when he lost any sympathy from me.

    I see, now, that his status indicates “banned.: My suggestion/recommendation is for the JA Site/Forum Admins to keep a watchful eye out on any NEW registrations (checking IP and trend similarities). You never know what kind of vengeful things someone might try to do.

    😉

Viewing 12 posts - 1 through 12 (of 12 total)

This topic contains 12 replies, has 5 voices, and was last updated by  TomC 13 years, 12 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum