Page 1 of 1
Url rewrite in marker description
Posted: 24 May 2016, 10:15
by babouz44
Hello,
I've created some markers and I show images logo in it. I use JCE, so I linked each logos to a contact page created with the default com_contact.
Problem is that url rewriting is activated on all the website and is working good everywhere except in phocamaps markers... url to the contact page is like this "/page-parent/index.php?option=com_contact&view=contact&id=7&Itemid=196"...
Do you know where is the problem ? Is there something to activate in joomla ?
Thank you,
Boris
Re: Url rewrite in marker description
Posted: 25 May 2016, 10:14
by babouz44
Hum... it seems there is a conflic with the component com_contact...
When I'm on the home page, url of the contact page which is on the logo is like this :
-
http://www.website.com/index.php?option ... Itemid=191
and when i'm in a contact page, url is like this :
http://www.website.com/parent-page/inde ... Itemid=191
as you can see the parent page (which is a joomla article) is well rewrite when I'm in a contact page... and as you can imagine it's really annoying to have multiples url for a single content...
I'm digging on this but if there is someone who can help, I will not refuse
Re: Url rewrite in marker description
Posted: 29 May 2016, 17:55
by Jan
Hi, do you display the map in component - in Phoca Maps component?
I don't see any difference between both URLs?
Jan
Re: Url rewrite in marker description
Posted: 31 May 2016, 17:43
by babouz44
Hi Jan,
I have created a custom module where I put the map code. This module is shown on the bottom of all pages.
I have to say that I use JCE editor to make the links on logos... maybe it comes from him...
Re: Url rewrite in marker description
Posted: 01 Jun 2016, 23:39
by Jan
Ok, but then there is no link in the map?
Jan
Re: Url rewrite in marker description
Posted: 06 Jun 2016, 14:11
by babouz44
No, link is still here but without rewrite... I also tried to put a link to a single article and it is also not rewrites... It seems to not be a problem with com_contact but with phocamaps who doesn't rewrite link url in marker description...
Boris
Re: Url rewrite in marker description
Posted: 11 Jun 2016, 12:35
by Jan
Hi, but Phoca Maps does not create any such link. If you add a link to e.g. marker description, you need to set it in format which will work on your site. If you site uses SEF, the link must be in SEF format. This is not an internal link of the component so it cannot be influenced by the component (cannot by transformed to SEF). The same like link in articles
Jan
Re: Url rewrite in marker description
Posted: 13 Jun 2016, 10:53
by babouz44
Hi Jan,
thank you for your help. Sorry but I can't spend much time on this issue...
I think there is a conflic or something else between phocamaps and jce, which is my editor in the website. SEF is used and work great when I create a link in an article (with the jce link plugin)... the description marker zone of phocamaps seems to doesn't work exactly like an article. So when I create a link, the SEF url is not created... But anyway you're right, I simply put all link in html mode with the SEF url and now all is good. In fact, this is just not really user admin friendly
Re: Url rewrite in marker description
Posted: 13 Jun 2016, 19:05
by Jan
Ok