News:

Support the VirtueMart project and become a member

Main Menu

delete virtuemart menu name from the urls

Started by blleda, March 03, 2013, 16:01:21 PM

Previous topic - Next topic

blleda

Good time of the day!

i have one problem. i try to find the solutions, but there is not any...

I have joomla 2.5 + virtuemart 2.  i have 2 menus : main (with just homepage) and top (hidden menu) with all links to virtuemart. also one of the top menu's item links to virtuemart main page.

"homepage". it;s page with my modules ( some virtuemarts too).

What s a problem : all urls in the my site like www.site.com/mainvirtuemartpage/category/product.

i need www.site.com/category/product.

I tryed to create new menu category's link to the virtuemart category's. nice decision, but i had access to product from 2 url :

www.site.com/mainvirtuemartpage/category/product
www.site.com/category/product

i tryed to assign main virtuemart menu status "home". it;s nice too: url without "mainvirtuemartpage" and no double,
but url site.com links to main virtuemart page! i needn;t it!!

please , can anybody helps me?

PRO

try and move the "main page" link to the hidden menu

THEN: do the same "type" of link for the homepage


blleda

Quote from: PRO on March 03, 2013, 18:57:08 PM
try and move the "main page" link to the hidden menu

THEN: do the same "type" of link for the homepage

Thanks for reply!

but i can't understand , what did u mean...

PRO

create a NEW homepage

and move the main vmart frontpage link to a hidden menu

blleda

Quote from: PRO on March 04, 2013, 21:02:09 PM
create a NEW homepage

and move the main vmart frontpage link to a hidden menu

i ve already done it as i told before. but url "mysite.com" links to main virtuemart page. i needn;t this useless page. or may be my english is bad and i didn;t realise what do u exactly tell ^^

PRO

are the category links "submenu" item of the main link??

blleda

#6
Quote from: PRO on March 05, 2013, 10:48:34 AM
are the category links "submenu" item of the main link??

i have 2 menu. 1 — main (has just 1 homepage without subitems(MAIN page of the site links to "site.com"). homepage consists of slider, module virtuemart category's, and etc)

2 — top menu. this menu has only 2 items without subitems- virtuemart homepage ,virtuemart shopping cart.

i didn;t understand ur's question again but try to tell all about my structure.

PRO

I dont understand,

post your url.

IF you do not want the mainlink   to be in teh product URL

You need to create menu links to ALL top level categories (EACH)

blleda

Quote from: PRO on March 06, 2013, 18:38:17 PM
I dont understand,

post your url.

IF you do not want the mainlink   to be in teh product URL

You need to create menu links to ALL top level categories (EACH)
ohhhh, nice. i realised it earlier, but it;s good i lastly understand u.

Thanks, dude for the help and patience)