Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • tjeremie Friend
    #122217

    I am having some issue trying to switch to the trans menu. It will only display the split or line menu. Looking at the code option 2 and 3 are not handled in the index.php, or I am just loosing my mind…..

    if ($ja_menutype == 1) {
    require($ja_template_absolute_path.”/ja_splitmenu.php”);
    $subnav = $jasplmenu->hasSubMenu (1);
    }else if ($ja_menutype == 4) {
    require($ja_template_absolute_path.”/ja_scriptdlmenu.php”);
    $topnav = $jamenu->menuObj->main;
    $subnav = $jamenu->menuObj->sub;
    }

    cwigg Friend
    #227699

    Hi I think the code is OK, it’s handled further down the code. Have you tried a hard reload from cache of index.php? (CTRL/F5) ? If so, can you provide a link?

    Menalto Friend
    #227701

    On line 20 to 35 in index.php:

    # BEGIN: TEMPLATE CONFIGURATIONS ##########
    ####################################
    #support extra color themes
    $ja_color_themes = array('default','blue','orange','green','cyan'); // You can add more color array if needed
    ####################################
    # Change the width of the template
    $ja_width_default = 'wide'; // 'narrow': 800x600; 'wide': 1024x768
    # default color
    $ja_color_default = 'default'; //blank for default, else pick one of in extra color themes $ja_color_themes
    #font size default
    $ja_font_size_default = 3;
    # Enable users option
    $ja_tool = 6; // 0: 0: disable all; 1: Screen tool; 2: font tool; 3: screen + font; 4: color tool; 5: screen + color; 6: font + color; 7: all;
    # Choose your prefer Menu Type
    $ja_menutype = 1; // 1: Split Menu; 2: Son of Suckerfish Dropdown Menu; 3: Transmenu; 4: Dropline Menu;
    # END: TEMPLATE CONFIGURATIONS ##########

    Marked in red is where you can change the menu for the template

    tjeremie Friend
    #227707

    Hi Menalto and Cwigg,

    Cwigg: I tried that it did not work 🙁

    Menalto: too easy I know that… 🙂 my $ja_menutype is set to 3 “$ja_menutype = 3;”

    I have palyed with it multiple times last night exercising multiple options and none worked.

    I did delete the cookie, refreshed the cache… not working…

    Actully I am not sure that that changes made in template config section are working for me, I tried the screen width did not change either.

    Menalto Friend
    #227729

    Is your index.php writeable?

    tjeremie Friend
    #227754

    Hi Menalto,

    It is writeable

    cwigg Friend
    #227777

    do you have a joomla caching extension installed?
    rename the index.php to something else. clear cache, force reload. does it fail?
    rename back again, does it work?
    if all fails, please give us a link.

    tjeremie Friend
    #227834

    I tried, no luck. The link is:

    Thanks for your help!
    Settigs for the template conf from the index.php

    # BEGIN: TEMPLATE CONFIGURATIONS ##########
    ####################################
    #support extra color themes
    $ja_color_themes = array(‘default’,’blue’,’orange’,’green’,’cyan’); // You can add more color array if needed
    ####################################
    # Change the width of the template
    $ja_width_default = ‘wide’; // ‘narrow’: 800×600; ‘wide’: 1024×768
    # default color
    $ja_color_default = ‘default’; //blank for default, else pick one of in extra color themes $ja_color_themes
    #font size default
    $ja_font_size_default = 3;
    # Enable users option
    $ja_tool = 6; // 0: 0: disable all; 1: Screen tool; 2: font tool; 3: screen + font; 4: color tool; 5: screen + color; 6: font + color; 7: all;
    # Choose your prefer Menu Type
    $ja_menutype = 3; // 1: Split Menu; 2: Son of Suckerfish Dropdown Menu; 3: Transmenu; 4: Dropline Menu;
    # END: TEMPLATE CONFIGURATIONS ##########

    cwigg Friend
    #227845

    Hi-
    I think the “problem” is that you only have TOP level menu items published. So, there’s nothing to expand to! Stick in some menu items pointing to some content, and make sure they have a parent of one of the existing TOP level menu items. Then you’ll see the expand effect.

    tjeremie Friend
    #227848

    Deu!

    Right on, my bad! I feel liek a total dork now 🙂 The rounded tab layout fouled me, I was expecting the trans menu to be displayed from teh config as squared boxes.

    Thanks so much, and sorry for the headaches.

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

This topic contains 10 replies, has 3 voices, and was last updated by  tjeremie 17 years, 3 months ago.

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