-
AuthorPosts
-
August 6, 2008 at 9:35 am #131853
I hope someone can help with this.
We have created categories and subcategories in VM. We then created a menu in Joomla 1.5 for the Main Menu area, selecting VirtueMart as type of menu item and in the parameters, entered the specific category we wanted it to display when clicked.
Most of the categories work, however, some are creating erratic links to unrelated pages. We’ve tried deleting the menu items and recreating them and the error keeps occuring.
There isn’t any apparent reason why some of the menu links work perfectly and others don’t.
We’ve also “attached” specific header modules to display a static image in a position at the top of the page in the slideshow position. There is a specific header module assigned to each category and subcategory. When the linking problem occurs, it also brings up the wrong header.
If there is anyone who can give us any pointers on how we can correct this or if there is a specific order in which we need to set things up in VirtueMart in regards to menu items and links, I’d be most grateful.
Thank you in advance for your assistance.
John Wesley Brett ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
August 6, 2008 at 7:28 pm #264166Man…you’ve got your hands full! 🙂
It would be very helpful if you could share a URL with us so we can do some diagnostics on your list of issues.
Thanks,
John.August 6, 2008 at 8:55 pm #264182Hi there,
Thanks for the quick reply. You’re not kidding about having the hands full. I’m not sure where to begin.
Here’s the URL.http://www.tdsdevelopment.net/bodydeli
If you think you could help, I’m willing to provide admin access via a PM to you.
Thanks for taking the time to reply. Any guidance you can offer is greatly appreciated.
S.John Wesley Brett ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
August 6, 2008 at 9:16 pm #264188Okay…one thing I notice right away…and you can see this in the BREADCRUMBS…
No matter what link you click on under THE BOUTIQUE…the BREADCRUMBS are all showing:
“YOU ARE HERE: HOME > FACE > (WHATEVER)
So you have accidentally made all the primary Boutique links a subcategory of FACE instead of HOME.
Not sure if that may fix some of your problems…but thought I’d mention that right off.Still looking…
1 user says Thank You to John Wesley Brett for this useful post
John Wesley Brett ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
August 6, 2008 at 9:26 pm #264189Actually I think that’s what you’ve got to do first and foremost is get your “THE BOUTIQUE” menu in order.
It appears as though when you were setting up your Sections and Categories menu items for THE BOUTIQUE that they are actually all a subcategory of your FACE menu item in your main menu.
Am I explaining this so you can understand it? 🙂 Talking menu structure in Joomla is one of the more difficult concepts to get across.
John.
1 user says Thank You to John Wesley Brett for this useful post
August 6, 2008 at 11:04 pm #264206Hi John,
Thank you so much for the infomation. I’m in need of some clarification. The menu on the left entitled “The Boutique” is actually the VirtueMart Module which pulls the items from the categories and subcategories in VirtueMart (I believe).
The top menu is something we created based on the category ID numbers generated by Virtuemart when we set up all of the categories.
I’m trying to find the reference you indicate but I think I”m missing something. I can’t see the link being all under “Face”. The appear to be parent categories.
Which area should I be correcting, the VirtueMart categories or the menu “Main Menu” we created by hand at the top?
Sorry to bother you, just want to be sure I don’t start changing something I shouldn’t be.
Thanks again for the assistance!
S.August 6, 2008 at 11:28 pm #264209Hi again,
I’m looking into the categories on VirtueMart that generate this menu listing on the left and there isn’t a “Home”, the categories are all set up as Default-Top Level.
Isn’t this how it should work? Have I set something up incorrectly in the VirtueMart parameters for display?
I’m looking at the menu items too and each of the menu items looks like it is point correctly in the menu administrator panel.
I’m confused :confused:
John Wesley Brett ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
August 6, 2008 at 11:37 pm #264213I’ve been in and had a look…and here’s what I think is going on.
All of the links in “The Boutique” menu (lower left column) end in “Itemid=82”. This item ID is for the Face Category…and I think that’s where the problem is.Try this:
Click “Kits” along the TOP MENU…and notice the very end of the URL: “…&Itemid=114”. This is the correct ID for “Kits”. Now click “Kits” in your BOUTIQUE menu…and notice the end is “…&Itemid=82″…again this is the FACE ID. Now just change the “82” to “114” and Reload or Refresh the page and watch what happens.So, I think when you created the BOUTIQUE menu you accidentally carried over the wrong ITEMID. All you’ll need to do is go back into those menu items and replace the “82” with the correct ID and you should be all set.
Make any sense?
John.1 user says Thank You to John Wesley Brett for this useful post
August 6, 2008 at 11:50 pm #264214The Boutique Menu is created by VirtueMart through the VirtueMart Module? Where do I change that ITEMID? I can’t find the spot to make this type of modification. Any ideas?
Thanks again for the quick response.
August 6, 2008 at 11:59 pm #264215Oh, I just realized, if I use an item ID it only links you to a specific item and not the category. We want it to pull all items in from the category ID that we are specifying.
I tried your test in the browser and you are right, it works. But for the menu links, I set it up to go to a category ID under parameters, should I be doing something different here?
Thanks again.
John Wesley Brett ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
August 7, 2008 at 12:38 am #264216I think I found it. There appears to be a flaw in the PHP code of a Virtuemart file that is causing Virtuemart to assign the first ITEMID it finds to ALL subsequent product categories when it creates the menu.
So…let’s tell it to stop doing that…and instead do what it’s suppose to do…what do you say?
I’m assuming you have access to the Joomla! files…and can edit in Dreamweaver or some such.
In administrator/components/com_virtuemart/classes/ps_session.php
Search for getShopItemid()
And just BELOW that line insert the following code :
if(!empty($_REQUEST['Itemid']))
$_REQUEST['shopItemid'] = $_REQUEST['Itemid'];
Let me know when you get it edited so I can take a look.
John.1 user says Thank You to John Wesley Brett for this useful post
-
AuthorPosts
This topic contains 12 replies, has 2 voices, and was last updated by sreco 16 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum