0
Welcome Guest! Login
0 items Join Now

Basic Configuration Issues

  • Basic Configuration Issues

    Posted 17 years 1 week ago
    • Alright I am new to this and really trying to figure things out. I am looking at the index. php file and I am trying to change some of the basic configuration of the Hivemind template.

      The tutorial that comes with it says the basic configuration looks like this

      $default_style
      = "light";
      // light | dark
      $enable_rokzoom = "true";
      // true | false
      $enable_pngfix
      = "false";
      // true | false
      $enable_fontspans = "true"; // true | false (required for sifr)
      $enable_sifr = "false"; // true | false
      $font_sifr = "walkway"; // any .swf file in sifr/ folder
      $font_family = "optima"; // geneva | optima | helvetica | trebuchet
      lucida | georgia | palatino
      $template_width = "962";
      // width in px
      $sidebar_width = "250";
      // width in px
      $sidebar_side = "right";
      // left | right
      $menu_name = "mainmenu"; // mainmenu by default,
      $menu_type = "splitmenu"; // moomenu | suckerfish | splitmenu | module
      $menu_style
      = "menustyle3"; // [menustyle1... menustyle5]
      $default_font
      = "default"; // smaller | default | larger
      $show_fontbuttons = "true";
      // true | false
      $show_pathway
      = "true"; // true | false
      $show_moduleslider = "true"; // true | false
      // module slider configuration
      $max_mods_per_row = 3;
      // maximum number of modules per row
      (adjust the height if this wraps)
      $modules_list = array(array("title"=>"Group 1", "module"=>"user7"),
      array("title"=>"Group 2", "module"=>"user8"),
      array("title"=>"Group 3", "module"=>"user9"),
      array("title"=>"Group 4", "module"=>"user10"),
      array("title"=>"Group 5", "module"=>"user11"));


      But really it looks like this and I don't know how to change these values.
      $live_site = $mainframe->getCfg('live_site');
      $default_style = $this->params->get("defaultStyle", "light");
      $enable_pngfix = ($this->params->get("enablePngfix", 1) == 0)?"false":"true";
      $enable_fontspans = ($this->params->get("enableFontspans", 1) == 0)?"false":"true";
      $enable_sifr = ($this->params->get("enableSifr", 0) == 0)?"false":"true";
      $font_sifr = $this->params->get("fontSifr", "walkway");
      $font_family = $this->params->get("fontFamily", "optima");
      $template_width = $this->params->get("templateWidth", "962");
      $sidebar_width = $this->params->get("sidebarWidth", "250");
      $sidebar_side = $this->params->get("sidebarSide", "right");
      $menu_name = $this->params->get("menuName", "mainmenu");
      $menu_type = $this->params->get("menuType", "splitmenu");
      $menu_style = $this->params->get("menuStyle", "menustyle3");
      $default_font = $this->params->get("defaultFont", "default");
      $show_fontbuttons = ($this->params->get("showFontbuttons", 1) == 0)?"false":"true";
      $show_breadcrumbs = ($this->params->get("showBreadcrumbs", 1) == 0)?"false":"true";
      $show_moduleslider = ($this->params->get("showModuleslider", 1) == 0)?"false":"true";

      // moomenu options
      $moo_bgiframe = ($this->params->get("moo_bgiframe'","0") == 0)?"false":"true";
      $moo_delay = $this->params->get("moo_delay", "500");
      $moo_duration = $this->params->get("moo_duration", "400");
      $moo_fps = $this->params->get("moo_fps", "100");
      $moo_transition = $this->params->get("moo_transition", "Expo.easeOut");

      // rokzoom options
      $enable_rokzoom = ($this->params->get("enableRokzoom", 1) == 0)?"true":"false";
      $zoom_resize_duration = $this->params->get("zoom_resize_duration", "700");
      $zoom_opacity_duration = $this->params->get("zoom_opacity_duration", "500");
      $zoom_transition = $this->params->get("zoom_transition", "Cubic.easeOut");

      // module title for moduleslider
      $max_mods_per_row = $this->params->get("maxModsPerRow", 3);
      $ms_title1 = $this->params->get("msTitle1", "Group 1 Tab");
      $ms_title2 = $this->params->get("msTitle2", "Group 2 Tab");
      $ms_title3 = $this->params->get("msTitle3", "Group 3 Tab");
      $ms_title4 = $this->params->get("msTitle4", "Group 4 Tab");
      $ms_title5 = $this->params->get("msTitle5", "Group 5 Tab");
      $ms_module1 = $this->params->get("msModule1", "user7");
      $ms_module2 = $this->params->get("msModule2", "user8");
      $ms_module3 = $this->params->get("msModule3", "user9");
      $ms_module4 = $this->params->get("msModule4", "user10");
      $ms_module5 = $this->params->get("msModule5", "user11");

      So how do I change these values? For instance if I want to change the rokzoom script to false, do I just put ="false;" and remove the php or do I change this code differently?

      Thanks for the help
  • Re: Basic Configuration Issues

    Posted 17 years 1 week ago
    • Hi Jesse,

      You are using Joomla 1.5, so go to Extensions > Template Manager > Hivemind.

      On the right are all the RT template parameters for you to change.

      Hope this helps
  • Re: Basic Configuration Issues

    Posted 17 years 1 week ago
    • Ahh that makes sense. I think I am looking at the Joomla 1.0 manual. So I shouldn't change configuration in the Index file?

      Is their a new manual for 1.5?

      Thanks, that helps
      Jesse

Time to create page: 0.084 seconds