are amount of Albums limited in Maps view?

Phoca Gallery - image gallery extension
Brujo
Phoca Member
Phoca Member
Posts: 49
Joined: 26 Apr 2009, 13:17

are amount of Albums limited in Maps view?

Post by Brujo »

and if so how can I increase that Limit ? On my gallery it seem that the Albums shown on the map are limited ~20 in the Categories map view

Brujo
Brujo
Phoca Member
Phoca Member
Posts: 49
Joined: 26 Apr 2009, 13:17

Re: are amount of Albums limited in Maps view?

Post by Brujo »

Well I found it byself it is the global setting of the Component for: Pagination Default Value (Categories View) default=20
unfortunately I will use it not in general, insteed I like to use the mapview within a menulink (which I found out how it works including Zoom factor). And I figgured out that I cant overwrite this pagination setting also not when I have configured the part in the relevant xml file. Some kind of boring...

At this point I have to say it was more easy under Joomla 1.5 then 2.5 now :-( to have only the choice in general settings for one or the other is a Limitation for me. It would be good if there is at least a Gallery maps module - to be able to place it as needed...

Brujo
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: are amount of Albums limited in Maps view?

Post by Jan »

If you find Phoca extensions useful, please support the project
Brujo
Phoca Member
Phoca Member
Posts: 49
Joined: 26 Apr 2009, 13:17

Re: are amount of Albums limited in Maps view?

Post by Brujo »

Hi Jan,

thanks for answering - and yes thats what i already tested. I have set 3 Values to get a Album Map view within a menu Link

1. to enable Geocaching "display_categories_geotagging" - (works well)
2. Zoom Factor "categories_zoom" - (works well)
3. pagination "default_pagination_categories" default="50" - (does not work)
got always overwritten from global settings, therefore I never get more than 20 Albums on the map - only way is to increase it on global settings). Maybe I do something wrong or wrong place mabye?

added in /components/com_phocagallery/views/categories/tmpl/default.xml

Code: Select all

<field name="display_categories_geotagging" type="list" default="0" label="COM_PHOCAGALLERY_FIELD_DISPLAY_CATEGORIES_GEOTAGGING_LABEL" description="COM_PHOCAGALLERY_FIELD_DISPLAY_CATEGORIES_GEOTAGGING_DESC">
    		<option value="1">COM_PHOCAGALLERY_YES</option>
                <option value="0">COM_PHOCAGALLERY_NO</option>
        </field>

	<field name="categories_zoom" default="4" size="10" type="phocatext" label="COM_PHOCAGALLERY_FIELD_CATEGORIES_GEOTAGGING_ZOOM_LABEL" description="COM_PHOCAGALLERY_FIELD_CATEGORIES_GEOTAGGING_ZOOM_DESC"/>
	
	<field name="default_pagination_categories" default="50" size="18" type="phocatext" label="COM_PHOCAGALLERY_FIELD_DEFAULT_VALUE_PAGINATION_CATEGORIES_LABEL" description="COM_PHOCAGALLERY_FIELD_Default_VALUE_PAGINATION_CATEGORIES_DESC"/>
	
Brujo
Phoca Member
Phoca Member
Posts: 49
Joined: 26 Apr 2009, 13:17

Re: are amount of Albums limited in Maps view?

Post by Brujo »

Anyone who can help me or tell my why the default_pagination_categories doesnt work? Only 20 Albums are shown as set in the global settings and not the one which I set on the Menulink....

@Jan - as you can see - I followed your link and the suggestions there, but it seems not to work the settings from the Menulink get overwritten with the figgures of the global settings! especialy Pagination Default Value (Categories View) :-(

Brujo
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: are amount of Albums limited in Maps view?

Post by Jan »

Hi, the default value does not mean anything, if the value was set in global configuration, you need to reset in in menu link parameters, default value is only taken for the first save action. if your parameters were stored, you need to set it for menu link parameters and resave it.

Jan
If you find Phoca extensions useful, please support the project
Brujo
Phoca Member
Phoca Member
Posts: 49
Joined: 26 Apr 2009, 13:17

Re: are amount of Albums limited in Maps view?

Post by Brujo »

thanks for answer - well I can set & save the settings in the menu link parameters, but it makes no different if I put in 5 or 30 (always 20 Albums shown on the map)- anyhow this parameter has no effect in the menu link even if saved - it looks like it get overwritten by Global settings or not recognized by menu link...:-(

Brujo
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: are amount of Albums limited in Maps view?

Post by Jan »

Hi,

is the value saved? Check the menu link ID and the frontend site Itemid (if the id is the same)

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