Back to top

Autore Topic: ja purity 2  (Letto 1229 volte)

Offline kigi

  • Nuovo arrivato
  • *
  • Post: 19
    • Mostra profilo
ja purity 2
« il: 31 Mag 2012, 09:27:02 »
buondì
avrei bisogno di inserire degli script dopo <head> in questo template...come faccio?


grazie mille.

mau_develop

  • Visitatore
Re:ja purity 2
« Risposta #1 il: 31 Mag 2012, 10:07:19 »
copi e incolli...

M.

Offline kigi

  • Nuovo arrivato
  • *
  • Post: 19
    • Mostra profilo
Re:ja purity 2
« Risposta #2 il: 31 Mag 2012, 10:24:28 »
dove? dov'è l'index? nel pannello di controllo del template in mod html trovo questo:



<?php
/*
# ------------------------------------------------------------------------
# JA Purity II - Beta version - Version 1.0 - Licence Owner JA0
# ------------------------------------------------------------------------
# Copyright (C) 2004-2009 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.'libs'.DS.'ja.template.helper.php');


$tmplTools = JATemplateHelper::getInstance($this, array('ui', JA_TOOL_SCREEN, JA_TOOL_MENU, 'main_layout', 'direction'));


//Calculate the width of template
$tmplWidth = '';
$tmplWrapMin = '100%';
switch ($tmplTools->getParam(JA_TOOL_SCREEN)){
   case 'auto':
      $tmplWidth = '97%';
      break;
   case 'fluid':
      $tmplWidth = intval($tmplTools->getParam('ja_screen-fluid-fix-ja_screen_width'));
      $tmplWidth = $tmplWidth ? $tmplWidth.'%' : '90%';
      break;
   case 'fix':
      $tmplWidth = intval($tmplTools->getParam('ja_screen-fluid-fix-ja_screen_width'));
      $tmplWrapMin = $tmplWidth ? ($tmplWidth+1).'px' : '771px';
      $tmplWidth = $tmplWidth ? $tmplWidth.'px' : '770px';
      break;
   default:
      $tmplWidth = intval($tmplTools->getParam(JA_TOOL_SCREEN));
      $tmplWrapMin = $tmplWidth ? ($tmplWidth+1).'px' : '981px';
      $tmplWidth = $tmplWidth ? $tmplWidth.'px' : '980px';
      break;
}


$tmplTools->setParam ('tmplWidth', $tmplWidth);
$tmplTools->setParam ('tmplWrapMin', $tmplWrapMin);


//Main navigation
$ja_menutype = $tmplTools->getParam(JA_TOOL_MENU, 'css');
$jamenu = null;
if ($ja_menutype && $ja_menutype != 'none') {
   $japarams = new JParameter('');
   $japarams->set( 'menutype', $tmplTools->getParam('menutype', 'mainmenu') );
   $japarams->set( 'menu_images_align', 'left' );
   $japarams->set( 'menupath', $tmplTools->templateurl() .'/ja_menus');
   $japarams->set('menu_images', 1); //0: not show image, 1: show image which set in menu item
   $japarams->set('menu_background', 1); //0: image, 1: background
   $japarams->set('mega-colwidth', 200); //Megamenu only: Default column width
   $jamenu = $tmplTools->loadMenu($japarams, $ja_menutype);
}   
//End for main navigation


$layout = $tmplTools->getLayout ();
if ($layout) {
   $tmplTools->display ($layout);
}


in altri template c'è il codice html...
« Ultima modifica: 31 Mag 2012, 10:47:04 da kigi »

Offline kigi

  • Nuovo arrivato
  • *
  • Post: 19
    • Mostra profilo
Re:ja purity 2
« Risposta #3 il: 02 Giu 2012, 09:30:26 »
grazie, grazie veramente di cuore...

 



Web Design Bolzano Kreatif