Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • m Friend
    #160332

    Can’t get the page class suffix to work with Ja Halite. I think there are multiple issues going on here – first of all, im not entirely sure that the megamenu system is even registering the page class suffix – Im using the Halite template with a CSS menu.

    This is NOT a T3 issue.

    I don’t see any page class suffix code in the menu files, nor do I see any page class suffix in the index.php or default.php files.

    How can I fix this?

    aman204 Friend
    #377303

    In accordance with solution given for T3 framework 2 :::

    http://www.joomlart.com/forums/topic/page-class-suffix-4/

    You can go to::

    templates/ja_halite/layouts/default.php file and add this::

    <?php
    $itemid = JRequest::getVar(‘Itemid’);
    $menu = &JSite::getMenu();
    $active = $menu->getItem($itemid);
    $params = $menu->getParams( $active->id );
    $pageclass = $params->get( ‘pageclass_sfx’ );
    ?>

    above

    <?php if ($this->isIE() && ($this->getParam(‘direction’)==’rtl’ || $this->direction == ‘rtl’)) { ?>

    and then, change::

    <body id=”bd” class=”fs<?php echo $this->getParam(JA_TOOL_FONT);?> <?php echo $this->browser();?>”>

    to

    <body id=”bd” class=”fs<?php echo $this->getParam(JA_TOOL_FONT);?> <?php echo $pageclass; ?> <?php echo $this->browser();?>”>

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

This topic contains 2 replies, has 2 voices, and was last updated by  aman204 13 years, 9 months ago.

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