test
Viewing 15 posts - 16 through 30 (of 37 total)
  • Author
    Posts
  • milsirhc Friend
    #379089

    🙂

    But do you know how to create a new position on top of middle.content-mass-top and middle.right1?

    khoand Friend
    #379109

    Attached image what you want to?
    If you want to, I have your solution:
    – Open <joomla url>pluginssystemjat3base-themesdefaultpagedefault.php file
    – Add this code

    <?php
    //breadcrumb
    if($this->hasBlock('breadcrumb')):
    $block = &$this->getBlockXML ('breadcrumb');
    if (!($r1 = $this->getColumnWidth('r'))) $r1=0;
    $m=$this->getColumnWidth('m')*$this->getColumnWidth('mw')/100.0;
    ?>
    <div id="ja-right" class="column sidebar" style="width:<?php echo ($r1+$m) ?>%">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>

    after

    <?php $this->genBlockBegin ($this->getBlocksXML ('middle')) ?>
    – Put this code into <block name=”middle”>

    <block name="breadcrumb" type="modules" >custommodule</block>
    – Clean cache


    1. middle-breadcrumb
    kairey Friend
    #379277

    Following this with interest but getting the same results as milsirhc, is this another 1.6 issue?

    I have seen it working perfectly well on other web sites like http://sunseeker-yachtclub.com but I just cannot get it to work….

    milsirhc Friend
    #379283

    I think it’s a J1.6 issue… looking at the demo. It does not have a breadcrumb as well.

    I’ve logged a ticket. Hopefully Joomlart team can solve it.

    kairey Friend
    #379303

    <em>@milsirhc 224945 wrote:</em><blockquote>I’ve logged a ticket. Hopefully Joomlart team can solve it.</blockquote>

    OK if you get a reply to your ticket with a solution let me know….

    Starting to wish I had stuck with 1.5!

    milsirhc Friend
    #379377

    Sure, will update you once I get a solution. Right now… the support is pretty slow.. kinda disappointing. Hopefully someone can response to my ticket quickly! *hint hint*

    Stay with J1.6. I think it rocks. Esp the unlimited category trees. 🙂

    kairey Friend
    #379543

    To be fair to the Joomlart team, I think 1.6 is full of bugs as well which must make there life really difficult!

    Not getting any response from Joomla forum on 1.6 issues either….

    Phill Moderator
    #379548

    Let’s do a quick and nasty hack to get what you want. You will have to edit your css as required but that is a simple task.

    First open templates>ja_rasite>page>default.php and add the code I have highlighted in red below

    <!-- MAIN CONTAINER -->
    <div id="ja-container" class="wrap <?php echo $this->getColumnWidth('cls_w')?$this->getColumnWidth('cls_w'):'ja-mf'; ?>">
    <?php $this->genBlockBegin ($this->getBlocksXML ('middle')) ?>
    <div class="ja-rs2-top"><div class="ja-rs2-tl"> </div><div class="ja-rs2-tr"> </div></div>
    <div class="ja-rs2-mid"><div id="ja-navhelper"><?php echo $this->loadBlock ('navhelper') ?></div><div class="ja-rs2-ml"><div class="ja-rs2-mr clearfix">
    <div id="ja-mainbody" style="width:<?php echo $this->getColumnWidth('mw') ?>%">
    <!-- CONTENT -->
    <div id="ja-main" style="width:<?php echo $this->getColumnWidth('m') ?>%">
    <div class="inner clearfix">

    Then create a new file in templates>ja_rasite>blocks called navhelper.php and put in it all the code below

    /*
    # ------------------------------------------------------------------------
    # JA Business Template
    # ------------------------------------------------------------------------
    # Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.
    # @license - PHP files are GNU/GPL V2. CSS / JS are Copyrighted Commercial,
    # bound by Proprietary License of JoomlArt. For details on licensing,
    # Please Read Terms of Use at http://www.joomlart.com/terms_of_use.html.
    # Author: JoomlArt.com
    # Websites: http://www.joomlart.com - http://www.joomlancers.com
    # Redistribution, Modification or Re-licensing of this file in part of full,
    # is bound by the License applied.
    # ------------------------------------------------------------------------
    */
    ?>
    <?php
    //detect view on mobile - show switch to mobile tools
    $layout_switcher = $this->loadBlock('usertools/layout-switcher');
    if ($layout_switcher) {
    $layout_switcher = '<li class="layout-switcher">'.$layout_switcher.'</li>';
    }
    ?>
    <?php if($this->countModules('breadcrumb')) : ?>
    <jdoc:include type="modules" name="breadcrumb" />
    <?php endif; ?>

    And that should do the trick. You can style it by editing template.css line 911 and adding your styling to #ja-navhelper as required.

    khoand Friend
    #379562

    Hi milsirhc, do you see my post. Does it help you?

    <em>@khoand 224723 wrote:</em><blockquote>Attached image what you want to?
    If you want to, I have your solution:
    – Open <joomla url>pluginssystemjat3base-themesdefaultpagedefault.php file
    – Add this code

    <?php
    //breadcrumb
    if($this->hasBlock('breadcrumb')):
    $block = &$this->getBlockXML ('breadcrumb');
    if (!($r1 = $this->getColumnWidth('r'))) $r1=0;
    $m=$this->getColumnWidth('m')*$this->getColumnWidth('mw')/100.0;
    ?>
    <div id="ja-right" class="column sidebar" style="width:<?php echo ($r1+$m) ?>%">
    <?php $this->showBlock ($block); ?>
    </div>
    <?php endif; ?>

    after

    <?php $this->genBlockBegin ($this->getBlocksXML ('middle')) ?>

    – Put this code into <block name=”middle”>

    <block name="breadcrumb" type="modules" >custommodule</block>

    – Clean cache</blockquote>

    milsirhc Friend
    #379575

    phill luckhurst: You rocks mate! If you ever come to Sydney, drop me a PM and I’ll shout you a beer! Thanks!

    kairey Friend
    #380267

    Milsirhc – I guess Phil’s solution worked???

    Let’s get hacking! Dunno what’s happened to the new template without all the bugs……?

    Anyone bothered with the Joomla upgrade of 1.6 yet?

    milsirhc Friend
    #380280

    <em>@kairey 226261 wrote:</em><blockquote>Milsirhc – I guess Phil’s solution worked???

    Let’s get hacking! Dunno what’s happened to the new template without all the bugs……?

    Anyone bothered with the Joomla upgrade of 1.6 yet?</blockquote>

    It did work! 🙂 I got an issue where I specify the size of the template but it remains the same. Do you have that issue?

    kairey Friend
    #380303

    Not noticed that one, but I have been working with the template as standard width, I did notice in the beginning though that no matter what width I selected it stayed the same!!!!

    Does the cache need emptying or not, I don’t really know to be honest…..

    kairey Friend
    #380305

    Strange I tried the hack above from Phill but all I get in the breadcrumb position is the top part of the navhelper.php file displaying, i.e.

    /* # ———————————————————————— # JA Business Template # ———————————————————————— # Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved. # @license – PHP files are GNU/GPL V2. CSS / JS are Copyrighted Commercial, # bound by Proprietary License of JoomlArt. For details on licensing, # Please Read Terms of Use at http://www.joomlart.com/terms_of_use.html. # Author: JoomlArt.com # Websites: http://www.joomlart.comhttp://www.joomlancers.com # Redistribution, Modification or Re-licensing of this file in part of full, # is bound by the License applied. # ———————————————————————— */

    Phill Moderator
    #380308

    Kairey,

    PM me an admin logon and ftp details and I’ll take a look for you. Please include a link to this thread in your PM.

Viewing 15 posts - 16 through 30 (of 37 total)

This topic contains 37 replies, has 5 voices, and was last updated by  milsirhc 13 years, 8 months ago.

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