Deprecated: Joomla\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /homepages/13/d380392445/htdocs/Jlive/libraries/vendor/joomla/input/src/Input.php on line 41

Deprecated: Return type of Joomla\Input\Input::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/13/d380392445/htdocs/Jlive/libraries/vendor/joomla/input/src/Input.php on line 170
Using Mapper module in Tabs - Macrotone Forum

Unknown Error 8192: KunenaControllerApplicationDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in libraries/kunena/controller/application/display.php on line 21


Unknown Error 8192: Automatic conversion of false to array is deprecated in libraries/kunena/route/route.php on line 437


Unknown Error 8192: ComponentKunenaControllerWidgetAnnouncementDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/widget/announcement/display.php on line 18


Unknown Error 8192: ComponentKunenaControllerTopicItemDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/item/display.php on line 25


Unknown Error 8192: Automatic conversion of false to array is deprecated in libraries/kunena/forum/category/category.php on line 415


Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /homepages/13/d380392445/htdocs/Jlive/libraries/src/Date/Date.php on line 112

Unknown Error 8192: Automatic conversion of false to array is deprecated in libraries/kunena/bbcode/bbcode.php on line 107

Using Mapper module in Tabs


Unknown Error 8192: ComponentKunenaControllerTopicItemActionsDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/item/actions/display.php on line 23


Unknown Error 8192: ComponentKunenaControllerTopicPollDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/poll/display.php on line 21


Unknown Error 8192: ComponentKunenaControllerTopicItemMessageDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/item/message/display.php on line 23

9 years 11 months ago #1 by geoffc

Unknown Error 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2115


Unknown Error 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2115


Unknown Error 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2022


Unknown Error 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2070

We recently noticed a small 'opportunity for improvement' in the use of the IP Mapping Mapper module when used within tabbed content.

This specific 'opportunity' is not a bug but is best decribed as a consequence of how Google Maps returns its content.

To expand upon this,we have long used the IP mapping mapper module upon our Joomla 2.5 web site and it has worked flawlessly. We have been using the excellent NoNumber Tabs extension, and it seemed sensible to continue its use on Joomla 3.x.

However in Joomla 3.x the Tabs extension uses Bootstrap coding and we noticed that the tabs that were not 'active' did not conpletely fill the alloted area when clicked. Typically only a small fraction of the map was displayed. If the page was refreshed then the map displayed properly whilst the other tabs did not, so it was obviously a problem with the display and not the actual map generation code.

If a Bootsrap template is being used for the front end of the site, it is likely that the problem would also be seen if another 'tab' extension was implemented

After doing a little searching it was found that this is a well known problem and that there were two possible solutions. The first involved creating the display upon an off screen canvas, whilst the second involved a map 'resize' and centering of the map.

We elected to use the second approach and use a small piece of javascript to run when the tab is selected. This involves a small overhead but resolves the problem. We can safely assume that jQuery is available upon Joomla 3.x so merely check the Joomla version before deciding whether to include the code in the page output or not.

Whilst we only saw this problem on Joomla 3.x it is possible that it might still occur upon Joomla 2.5 sites where a Bootstrap template is being used. We have never had the problem reported to ourselves so suspect that it has never been observed by our users. This is the reason why we believe a Joomla version check should be sufficient.

We did investigate other approaches including trying to determine whether we were being called from within a tab etc. but the complexity of the code required would, unless definitely necessary, could not justify the overhead, hence the simplistic approach.

The change will be in the next release of IP Mapping 1.2.2

Regards
Geoff

Unknown Error 8192: ComponentKunenaControllerMessageItemActionsDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/message/item/actions/display.php on line 25

Please Log in or Create an account to join the conversation.

Time to create page: 0.141 seconds
Go To Top

Joomla! Debug Console

Session

Profile Information

Memory Usage

Database Queries