Sorting marker by maps

Phoca Maps - displaying maps in Joomla! CMS
tbachner
Phoca Member
Phoca Member
Posts: 11
Joined: 10 May 2010, 14:32

Sorting marker by maps

Post by tbachner »

I have about 100 maps and more than 500 marker on my website. To keep control I would like to see only the marker used I a specific map. This is not working at the moment.

And may be one more idea. When I create a marker I can only connect with one map. It would be really nice to connect a marker with multiple maps. In the moment I have to create markers double.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Sorting marker by maps

Post by Jan »

Hi,

thank you for the info. Will be fixed in next version. For now you can do a quick fix:

Open this file:
administrator\components\com_phocamaps\helpers\renderadminviews.php

and on link cca 86 (function selectFilterCategory()) change
FROM:

Code: Select all

.'<select name="filter_category_id" class="inputbox" onchange="this.form.submit()">'."\n"
TO:

Code: Select all

.'<select name="filter_map_id" class="inputbox" onchange="this.form.submit()">'."\n"
Please let me know if it works for you.

Jan
If you find Phoca extensions useful, please support the project
tbachner
Phoca Member
Phoca Member
Posts: 11
Joined: 10 May 2010, 14:32

Re: Sorting marker by maps

Post by tbachner »

Perfect. Thanks Jan.

And may have a look at my "maps": https://thorsten-bachner.de/reisen/in-3 ... m-die-welt
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Sorting marker by maps

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Sorting marker by maps

Post by Jan »

Hi, should be OK in version 3.0.6

https://www.phoca.cz/news/1019-phoca-ma ... 6-released

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