Download & Extend

Field "Button image HTML attributes" not saved (admin page)

Project:Share Buttons (AddToAny) by Lockerz
Version:6.x-2.0
Component:User interface
Category:bug report
Priority:normal
Assigned:paulbooker
Status:closed (duplicate)

Issue Summary

The values for field "Button image HTML attributes" in the admin interface for the module (admin/settings/addtoany) is not aplied or saved.
After changing and saving it, the field keef the value: alt="Share/Save".

Drupal version: 6.9
Module version: addtoany 6.x-2.0

Comments

#1

This can be fixed by changing line 63 of addtoany.admin.inc

from:
$form['addtoany_button_settings']['addtoany_custom_image_attributes'] = array(

to:
$form['addtoany_button_settings']['addtoany_image_attributes'] = array(

Greatings,
Michel77

#2

Status:active» needs review

Created a patch with the fix described in post #1 for Field "Button image HTML attributes" not saved (admin page)

Fixes: Saving of field "Button image HTML attributes".

Changes: File "addtoany.admin.inc", line 63
from: - $form['addtoany_button_settings']['addtoany_custom_image_attributes'] = array(
to:    + $form['addtoany_button_settings']['addtoany_image_attributes'] = array(

Greetings,
Michel Sijmons

AttachmentSize
addtoany-6.x-2.0_380180.patch 1.29 KB

#3

Status:needs review» reviewed & tested by the community

Array Key Names must match. And in 6.x-2.3 there is still the same bug!
Please add this patch its now line 86.

#4

Assigned to:Anonymous» micropat
Status:reviewed & tested by the community» patch (to be ported)

Will be fixed in version 2.5!

#5

Assigned to:micropat» paulbooker
Status:patch (to be ported)» closed (duplicate)

Duplicate of .. http://drupal.org/node/634208

nobody click here