Url rewrite in marker description

Phoca Maps - displaying maps in Joomla! CMS
babouz44
Phoca Member
Phoca Member
Posts: 10
Joined: 15 Apr 2013, 12:16

Url rewrite in marker description

Post 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
babouz44
Phoca Member
Phoca Member
Posts: 10
Joined: 15 Apr 2013, 12:16

Re: Url rewrite in marker description

Post 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 ;)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Url rewrite in marker description

Post by Jan »

Hi, do you display the map in component - in Phoca Maps component?

I don't see any difference between both URLs?

Jan
If you find Phoca extensions useful, please support the project
babouz44
Phoca Member
Phoca Member
Posts: 10
Joined: 15 Apr 2013, 12:16

Re: Url rewrite in marker description

Post 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...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Url rewrite in marker description

Post by Jan »

Ok, but then there is no link in the map? :idea:

Jan
If you find Phoca extensions useful, please support the project
babouz44
Phoca Member
Phoca Member
Posts: 10
Joined: 15 Apr 2013, 12:16

Re: Url rewrite in marker description

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Url rewrite in marker description

Post 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 :idea:

Jan
If you find Phoca extensions useful, please support the project
babouz44
Phoca Member
Phoca Member
Posts: 10
Joined: 15 Apr 2013, 12:16

Re: Url rewrite in marker description

Post 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 ;)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Url rewrite in marker description

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply