Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

custom generated url
(1 viewing) (1) Guest
Support forum for customers who have purchased paid JoomSEF extension. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: custom generated url

custom generated url 14 years, 9 months ago #10746

Hi,

I've created a form in a module that redirects to a virtuemart browse page.
The form looks like this:

<form name="test2" action="<?php echo JRoute::_('index.php?option=com_virtuemart&page=shop.browse&category_id=2'); ?>" method="post" >

When i submit the form, i'm redirected to the correct VM page but the url is not rewrited.
Why artio sef doesn't take may url?

I've also tried to pass the $option and $page vars in hidden fields, and also tried get instead of post.
All of the tests give the same result: good url but nor rewrited.

Many thanks forany advice on how i can solve this
The topic has been locked.

Re:custom generated url 14 years, 9 months ago #10747

more info on my problem:
you can see that there is "category_id=2" in the form action parameter.
If i remove the "category_id=2" from the url and pass it with hidden field in the form, i'm still redirected to the right browse page but the url looks like this:

www.mydomain.com/list-all-products

thanks again
The topic has been locked.
  • Page:
  • 1
Přihlášení uživatele Prázdný