-
AuthorPosts
-
joomboom Friend
joomboom
- Join date:
- November 2007
- Posts:
- 144
- Downloads:
- 8
- Uploads:
- 6
- Thanks:
- 13
- Thanked:
- 2 times in 1 posts
November 13, 2007 at 9:29 am #123765Hello,
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?
November 20, 2007 at 11:57 am #233145I have noticed the same issue, anyone at all?
November 21, 2007 at 5:56 am #233182Fixed:
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 } ?>November 25, 2007 at 8:56 am #233379Thanks for JA News and what’s about vm-fp ? it still showing up on all VirtueMart or product pages
thx:confused:November 25, 2007 at 4:13 pm #233397Hi,
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.comDecember 4, 2007 at 10:48 pm #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
December 7, 2007 at 2:50 pm #234107I 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,
Bentbirkmendddrinkal Friendddrinkal
- Join date:
- May 2007
- Posts:
- 44
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 7 times in 1 posts
December 9, 2007 at 10:44 am #234235You 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.
December 30, 2007 at 9:47 am #235438Actually, 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
-
AuthorPosts
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