Viewing 13 posts - 31 through 43 (of 43 total)
  • Author
    Posts
  • mmckeen Friend
    #282674

    Gotcha … thanks! Hopefully your code above will help find a solution. I appreciate your help…

    mmckeen Friend
    #282719

    You got us in the right direction and I think (with your help) I got it… you need to switch the two lines of code:

    CURRENT:
    <!– Display subcategories –>

    if ($catorsec) {
    $subcatlink = JRoute::_(ContentHelperRoute::getCategoryRoute($obj->id , $obj->section));
    }else{
    $subcatlink = JRoute::_(ContentHelperRoute::getSectionRoute($obj->section));
    }

    <!–End Display subcategories –>

    CHANGE TO:
    <!– Display subcategories –>

    if ($catorsec) {
    $subcatlink = JRoute::_(ContentHelperRoute::getSectionRoute($obj->section));
    }else{
    $subcatlink = JRoute::_(ContentHelperRoute::getCategoryRoute($obj->id , $obj->section));
    }

    <!–End Display subcategories –>

    The “if statement” was reversed…. This is now working perfectly on my test site!

    mmckeen Friend
    #282720

    Now there is only one last thing to make this perfect. If you mouse over the module title (News for example), the correct link is displayed however it will not click to the location, it only moves the module. Is there some way to fix that piece?

    damian Friend
    #282786

    NO solution from JA About this. No one from JA posting in this thread.

    How to drop down menu directly go to category. JA Demo have same problem.

    mmckeen Friend
    #282787

    <em>@damian 95301 wrote:</em><blockquote>NO solution from JA About this. No one from JA posting in this thread.

    How to drop down menu directly go to category. JA Demo have same problem.</blockquote>

    If you apply the above fix it will work however I agree with you that JA should have responded with a confirmation of the fix and that it will be included in the next update. 🙂

    damian Friend
    #282788

    <em>@mmckeen 95302 wrote:</em><blockquote> I agree with you that JA should have responded with a confirmation of the fix and that it will be included in the next update. :)</blockquote>

    This what i mean. 4 days left and no one posting from JA. What a Support ?

    Anyway. thanks for that code.

    slowsteady Friend
    #282796

    <em>@mmckeen 95221 wrote:</em><blockquote>You got us in the right direction and I think (with your help) I got it… you need to switch the two lines of code:

    CURRENT:
    <!– Display subcategories –>

    if ($catorsec) {
    $subcatlink = JRoute::_(ContentHelperRoute::getCategoryRoute($obj->id , $obj->section));
    }else{
    $subcatlink = JRoute::_(ContentHelperRoute::getSectionRoute($obj->section));
    }

    <!–End Display subcategories –>

    CHANGE TO:
    <!– Display subcategories –>

    if ($catorsec) {
    $subcatlink = JRoute::_(ContentHelperRoute::getSectionRoute($obj->section));
    }else{
    $subcatlink = JRoute::_(ContentHelperRoute::getCategoryRoute($obj->id , $obj->section));
    }

    <!–End Display subcategories –>

    The “if statement” was reversed…. This is now working perfectly on my test site!</blockquote>

    Well done! You’ve nailed it. 😀

    Like everyone is saying I’m surpirsed the JA team has not addressed these concerns. Probably too busy with that new template they plan to release later this month.

    damian Friend
    #282835

    I’m Just test your code and it’s work :). Thanks.

    John Wesley Brett Moderator
    #282999

    mmckeen! You are da man! (or the Dog!)

    John Wesley Brett Moderator
    #283004

    <em>@mmckeen 95222 wrote:</em><blockquote>Now there is only one last thing to make this perfect. If you mouse over the module title (News for example), the correct link is displayed however it will not click to the location, it only moves the module. Is there some way to fix that piece?</blockquote>

    And I think I’ve found the solution here!

    In TEMPLATES / JA_VAUXITE / JS / ja.ddmod.js (line 30)

    Change from this:


    onDragStart: function(element, ghost){
    ghost.setStyles({'opacity':0.7, 'z-index':100});
    element.getChildren().setStyles({'opacity':0.3, 'z-index':1});
    element.addClass('moving');

    To this:


    onDragStart: function(element, ghost){
    ghost.setStyles({'opacity':0.7, 'z-index':-1});
    element.getChildren().setStyles({'opacity':0.3, 'z-index':1});
    element.addClass('moving');

    The problem was that the “moveable” area of the category header was in front of the actual category link. This puts the moveable area behind the link.

    So now
    1. Quick click and the new page opens.( you’ll still see a little “Jello Jiggle” because it’s still a moveable area)
    2. Click and drag…and the link is defeated and the move is executed.

    Have fun!
    John.

    slowsteady Friend
    #283009

    You guys are geniuses!

    Errrm, a couple more things to solve. … please. 🙂

    Basically, I like my front page to all fit on the screen which is why I liked this template so much because you can collapse the menus as well as the News modules.

    1- first puzzle, the module only remembers its collapsed state via cookies I think and if you surf from another PC it will not be in the previous state you left it. Is there are a way to have the modules always start with a collapsed state (or opened state) as default?

    2- If you collapse all the news module and have say one above another, the drop down menu’s second item overlaps the title of the one module below it and thus is not clickable. See attached image. Is there a way to fix this?

    Thanks!


    1. OverslappedMenu
    mmckeen Friend
    #283290

    <em>@slowsteady 95574 wrote:</em><blockquote>You guys are geniuses!

    Errrm, a couple more things to solve. … please. 🙂

    Basically, I like my front page to all fit on the screen which is why I liked this template so much because you can collapse the menus as well as the News modules.

    1- first puzzle, the module only remembers its collapsed state via cookies I think and if you surf from another PC it will not be in the previous state you left it. Is there are a way to have the modules always start with a collapsed state (or opened state) as default?

    2- If you collapse all the news module and have say one above another, the drop down menu’s second item overlaps the title of the one module below it and thus is not clickable. See attached image. Is there a way to fix this?

    Thanks!</blockquote>

    Not sure how to fix your first issue but I found this on the forum to fix the second one…

    http://www.joomlart.com/forums/topic/user5-title-load-time-ja-tabs/

    slowsteady Friend
    #283348

    Thanks mmckeen … a thank you click from me to you! 😀

Viewing 13 posts - 31 through 43 (of 43 total)

This topic contains 43 replies, has 6 voices, and was last updated by  slowsteady 15 years, 10 months ago.

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