Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Mtaski Phiri Friend
    #122936

    Hey forgive me, am new to Joomla…Before I attempt to modify my Ja Larix template can somebody help me with the following;
    I just want to know what is the function
    <?php genMenuHead(); ?>
    for and what does it do? I have checked joomla.org but cant find it. Is it custom only to Joomlart.com? I know what
    <?php mosShowHead(); ?>
    is for but not
    <?php genMenuHead(); ?>
    .

    Thanks.

    bluecafe Friend
    #230140

    It is defined in the file ja_templatetools.php

    function genMenuHead(){
    global $ja_template_path,$ja_menutype, $ja_tool,$ja_font_size;
    $html = "";
    if ($ja_menutype == 1) {
    $html = '<link href="'.$ja_template_path.'/ja_splitmenu/ja-splitmenu.css" rel="stylesheet" type="text/css" />';
    }else if ($ja_menutype == 2) {
    $html = '<link href="'.$ja_template_path.'/ja_cssmenu/ja-sosdmenu.css" rel="stylesheet" type="text/css" />';

    } else if ($ja_menutype == 3) {
    $html = '<link href="'. $ja_template_path .'/ja_transmenu/ja-transmenuh.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript" src="'.$ja_template_path.'/ja_transmenu/ja-transmenu.js"></script>';
    } else if ($ja_menutype == 4) {
    $html = '<link href="'.$ja_template_path.'/ja_cssmenu/ja-sosdmenu.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript" src="'. $ja_template_path.'/ja_cssmenu/ja.cssmenu.js"></script>';
    }

    This is not joomla code but template related.

    Michael Casha Friend
    #230151

    It’s a JoomlArt specific rule which chooses between which menu type you chose.

    Mtaski Phiri Friend
    #230179

    Thanks alot you guys. bluecafe and Miccas, you made my day.

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

This topic contains 4 replies, has 3 voices, and was last updated by  Mtaski Phiri 16 years, 7 months ago.

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