Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • joomboom Friend
    #123765

    Hello,

    my JA-News section is set to appear ONLY on the home page, per the instructions. For some reason, it appears on ALL pages. When I click to select/view a product’s page, the info appears underneath the JA-News.

    Am I missing something?

    Anyone, help?

    duivesteyn Friend
    #233145

    I have noticed the same issue, anyone at all?

    duivesteyn Friend
    #233182

    Fixed:
    adapt the template code to include this:

    <!– END: FEATURE PRODUCTS –>
    <?php } ?>

    <?php //DE script to determine the page URL to $pageURL
    function curPageURL() {
    $pageURL = ”;
    if ($_SERVER[“HTTPS”] == “on”) {$pageURL .= “s”;}
    //$pageURL .= “://”;
    if ($_SERVER[“SERVER_PORT”] != “80”) {
    $pageURL .= ‘DE’.$_SERVER[“SERVER_NAME”].”:”.$_SERVER[“SERVER_PORT”].$_SERVER[“REQUEST_URI”];
    } else {
    // $pageURL .= $_SERVER[“SERVER_NAME”].$_SERVER[“REQUEST_URI”];
    $pageURL .=$_SERVER[“REQUEST_URI”];
    }
    return $pageURL;
    }
    ?>

    <?php
    $de_URL =curPageURL();
    //Test Search string code
    $string = “com_frontpage”;
    $container = $de_URL;

    if(strstr($container,$string)) {
    $de_FrontPage = 1;
    } else {
    $de_FrontPage = 0;
    }
    ?>

    <?php if ( mosCountModules(‘ja-news’) ) { ?>
    <div id=”ja-newswrap” class=”clearfix”>
    <?php if($de_FrontPage==1) mosLoadModules ( ‘ja-news’, -2 ); ?>
    </div>
    <?php } ?>

    cisjoc Friend
    #233379

    Thanks for JA News and what’s about vm-fp ? it still showing up on all VirtueMart or product pages
    thx:confused:

    cisjoc Friend
    #233397

    Hi,
    I add the code to JA larix template to fix JA News, but when I type the url of my site, JA News don’t show up, it shows up after when you press HOME and work perfect after that, I don’t understand.
    And Feature Products shows up in all the products Menus. Don’t know what to do anymore.

    Thanks for your help.
    here’s the url of the site : http://www.teesinternational.com

    cisjoc Friend
    #233904

    <em>@duivesteyn 32556 wrote:</em><blockquote>Fixed:
    adapt the template code to include this:

    <!– END: FEATURE PRODUCTS –>
    <?php } ?>

    <?php //DE script to determine the page URL to $pageURL
    function curPageURL() {
    $pageURL = ”;
    if ($_SERVER[“HTTPS”] == “on”) {$pageURL .= “s”;}
    //$pageURL .= “://”;
    if ($_SERVER[“SERVER_PORT”] != “80”) {
    $pageURL .= ‘DE’.$_SERVER[“SERVER_NAME”].”:”.$_SERVER[“SERVER_PORT”].$_SERVER[“REQUEST_URI”];
    } else {
    // $pageURL .= $_SERVER[“SERVER_NAME”].$_SERVER[“REQUEST_URI”];
    $pageURL .=$_SERVER[“REQUEST_URI”];
    }
    return $pageURL;
    }
    ?>

    <?php
    $de_URL =curPageURL();
    //Test Search string code
    $string = “com_frontpage”;
    $container = $de_URL;

    if(strstr($container,$string)) {
    $de_FrontPage = 1;
    } else {
    $de_FrontPage = 0;
    }
    ?>

    <?php if ( mosCountModules(‘ja-news’) ) { ?>
    <div id=”ja-newswrap” class=”clearfix”>
    <?php if($de_FrontPage==1) mosLoadModules ( ‘ja-news’, -2 ); ?>
    </div>
    <?php } ?></blockquote>

    JA News don’t show up when I type the URL of my site : http://www.teesinternational.com, but after pressing the Home Menu, it comes back again. Please Help. Thx

    bentbirkmend Friend
    #234107

    I actually struggled quite a bit with this issue also, on various sites. But the solution is actually to create a new menu under main menu – pointing to “Component – Virtuemart”. When this is done, the newsflash and featured products items will disappear automatically!

    Regards,
    Bentbirkmend

    ddrinkal Friend
    #234235

    You are a genius! You solved my problem. Another tip is if you don;t want that menu item, copy it to another menu and unpublish it in the main menu. You can leave the entire other menu unpublished and your problem is still fixed but you can’t see the generic virtuemart link.

    jdjunaedy Friend
    #235438

    Actually, I have a copy the menu item (connect to virtuemart) from the main menu to the other menu per your suggestion. But once I unpublished the menu item on the main menu and unpublished the entire other menu, the problem still persist. Somehow I got a different result than yours. That is the featured products still appeared on the category pages. I only have a success when the menu item that link to virtuemart is published. Do you have any pointers for me? Thanks

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

This topic contains 9 replies, has 6 voices, and was last updated by  jdjunaedy 16 years, 11 months ago.

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