address attribute
Permalink 1 user found helpful
Hi,
I need to display a line of text next to the postal code. Because its inside the address attribute i cant find the physical existance of this field.
anyone know where i should look.
thanks in advance
I need to display a line of text next to the postal code. Because its inside the address attribute i cant find the physical existance of this field.
anyone know where i should look.
thanks in advance
...that would enable you to add your text line while the attribute is in the "form" mode. But to add text in the displaying of the attribute you would need to modify the "getDisplayValue" method within the same directory's controller file.
can you explain more about the getDisplayValue thing? I am trying to customize the member page so it can be used as a membership roster for an organization. For that I need access to the single elements of the memberaddress attribute so I can implement linebreaks between the address elements. I search everywhere and am not able to figure it out.
Any help would be greatly appreciated.
Thanks
Any help would be greatly appreciated.
Thanks
You might also need to modify the composer.php file in your override at /models/attribute/types/address/composer.php
copy:
/concrete/models/attribute/types/address
to:
/models/attribute/types/address
Then modify: /models/attribute/types/address/form.php to your liking