Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • kooljp Friend
    #147820

    Hi all
    Installed JA Purity II on my site http://www.thefind.com.au

    Home page looks perfect, but ALL other pages (links) appear without the Template design.
    They show content only.:confused:

    What have I done wrong?

    Here is my index.php file:
    <?php

    /*

    #————————————————————————

    JA Purity II for Joomla 1.5

    #————————————————————————

    #Copyright (C) 2004-2009 J.O.O.M Solutions Co., Ltd. All Rights Reserved.

    #@license – GNU/GPL, http://www.gnu.org/copyleft/gpl.html

    #Author: J.O.O.M Solutions Co., Ltd

    #Websites: http://www.joomlart.comhttp://www.joomlancers.com

    #————————————————————————

    */

    // 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);

    }

    kooljp Friend
    #329899

    SOLVED:

    My hosting provider was kind enough to provide a solution:

    The issue was caused by the fact the Joomla SEF functionality was only partially enabled.

    To enable it completely, I have renamed htaccess.txt to .htaccess and set the following variables in configuration.php:

    var $sef_rewrite = ‘1’;

    cheers

    kooljp

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

This topic contains 2 replies, has 1 voice, and was last updated by  kooljp 14 years, 10 months ago.

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