URL from more info

News Show Pro GK5 - flexible, responsive and easily extendable free Joomla module support forum.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Thu Feb 04, 2016 1:12 pm
Hi there,
On a site I am working on I use News Show GK5 to show Virtuemart articles.
The problem I have is that the link to the product details in the image is fine but the link from the "read more" button is not sef.
The site I am working on:
http://testing.singleestatecoffee.nl/shop

If you click on the image the url is what you would expect:
http://testing.singleestatecoffee.nl/shop/koffies/ethiopie-wote-detail

but with the button I get something like:
http://testing.singleestatecoffee.nl/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=21&virtuemart_category_id=4&Itemid=1007

Any thoughts on this? Hope you can help!
Thanks
Marc
User avatar
Senior Boarder

teitbite
Mon Feb 08, 2016 11:44 am
Hi

In the matter of fact NSP is using JRoute function on the link You can see, so it should be processed by joomla. Send me an access to joomla panel and ftp. I'll check.
User avatar
Moderator

GK User
Tue Feb 16, 2016 4:36 pm
Hi there,

I have sent you a pm with the information.
Thanks!
User avatar
Senior Boarder

GK User
Fri Feb 19, 2016 10:35 am
Have you received the info?
User avatar
Senior Boarder

GK User
Tue Feb 23, 2016 12:50 pm
plantage wrote:Have you received the info?

Do you need me to sent it again?
User avatar
Senior Boarder

teitbite
Fri Feb 26, 2016 12:26 pm
Hi

I replaced line 234 in /modules/mod_news_pro_gk5/tmpl/com_virtuemart/view.php from:

Code: Select all
      return $link;


to

Code: Select all
      return JRoute::_($link);


looks like this part was copied from VM directly and it was not using the function to rewrite the link.
User avatar
Moderator

GK User
Sun Feb 28, 2016 12:09 pm
Thank you very much!! Happy!!
User avatar
Senior Boarder

teitbite
Wed Mar 02, 2016 11:42 am
Hi
Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
User avatar
Moderator


cron