Adapt phoca maps 1.1.2 to 2.0

Phoca Maps - displaying maps in Joomla! CMS
Perearanda
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 26 Nov 2012, 18:58

Adapt phoca maps 1.1.2 to 2.0

Post by Perearanda »

Hello,

I'd like to know if is possible to adapt a little bit the version of Phoca Maps 1.1.2 taking some developed options that appears in 2.0 version.

My problem is that I can't upgrade Joomla and I'm using the version 1.5.23 but I'd like to use the following options that I have not by the moment in my current version:
· copy markers
· add personalized marker icon

Is possible to adapt my 1.1.2 version adding those two options?

Thanks a lot!

I think this small development will help a lot of people in my situation.

Thanks again!

Pere.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Adapt phoca maps 1.1.2 to 2.0

Post by Jan »

Hi, unfortunatelly, the copy function is a part of Joomla! framework since Joomla! 2.5 so this is not possible to implement into 1.5 :-(

Marker Icon - I have added it into feature request list (but really hard to say if I will be able to do it for 1.5 as now I need to manage the version for 2.5 and completely overwrite for 3.x :-( :-( )

Jan
If you find Phoca extensions useful, please support the project
Perearanda
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 26 Nov 2012, 18:58

Re: Adapt phoca maps 1.1.2 to 2.0

Post by Perearanda »

Thanks,

I can understand that your time goes to newer versions, of course is logical... anyway, just two questions abouit it, to manage without upgrade the version:

Is possible to copy the files and create a copy of them... goin into the folders from my directory and copy directly the files (out of joomla)... it will works?

And fort the markers icon... Now I can change the icon changing the image than appears in the folder /component/com_phocamaps/assets/images and just changing the image for another named also "image.jpg". It works, but I have two problems: some image is cuted in some side and I can just put 10 images. I've tried to add more images making a new folder inside the directory and adding also "$option = array(0 => 'default', 1 => 'igrey', 2 => 'iyellow', 3 => 'ihome', 4 => 'igreen', 5 => 'istar', 6 => 'iinfoh', 7 => 'iinfoi', 8 => 'iinfop', 9 => 'iinfoph', 10 => 'iinfoz', 11 => 'iprova', 12 => 'prova2');" in administrator/components/com_phocamaps/views/phocamapsmarker/tmp/form.php archive, but the new marker appears only in the backend nt in the frontend. In the frontend just appears the default marker.
How can I manage it?

Thank you very much!

Pere.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Adapt phoca maps 1.1.2 to 2.0

Post by Jan »

Hi, what you mean with files? there are no files for markers, they are stored in database

Markers - try to disable cache of the site and the browser, maybe this is only a cache issue :idea:

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