- Posts: 7
- Thank you received: 0
Color Parameters (ADMINISTRATION AREA)
- Shine7
- Topic Author
- Offline
- New Member
Less
More
9 years 4 months ago - 9 years 4 months ago #6827
by Shine7
Color Parameters (ADMINISTRATION AREA) was created by Shine7
Hello there, I see administrator should enter 6-character-codes to set color into a text-box. But I think changing the type of such fields to "color" is really useful.
So If you wanna have this function; Please go to the following folder on your server:
administrator//components/com_zhgooglemap/models/forms
then select related XML file; for example I wanna have color-picker for Paths, so I open/edit this file:
mappath.XML
Look up for the following codes:
then easily change the type of the field to "color"; So you should have this structure:
Done!
Special thanks to the author(s) of this fantastic extension
Regards
So If you wanna have this function; Please go to the following folder on your server:
administrator//components/com_zhgooglemap/models/forms
then select related XML file; for example I wanna have color-picker for Paths, so I open/edit this file:
mappath.XML
Look up for the following codes:
Code:
<field
name="color"
type="text"
label="COM_ZHGOOGLEMAP_MAPPATH_DETAIL_COLOR_LABEL"
description="COM_ZHGOOGLEMAP_MAPPATH_DETAIL_COLOR_DESC"
then easily change the type of the field to "color"; So you should have this structure:
Code:
<field
name="color"
type="color"
label="COM_ZHGOOGLEMAP_MAPPATH_DETAIL_COLOR_LABEL"
description="COM_ZHGOOGLEMAP_MAPPATH_DETAIL_COLOR_DESC"
Done!
Special thanks to the author(s) of this fantastic extension
Regards
Last edit: 9 years 4 months ago by Shine7.
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
9 years 4 months ago #6828
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic Color Parameters (ADMINISTRATION AREA)
Hi
But in this case can you enter complicated colors, like gradient.
For example like background for placemark list
wiki.zhuk.cc/index.php?title=Zh_GoogleMa...ption#Placemark_List
But in this case can you enter complicated colors, like gradient.
For example like background for placemark list
wiki.zhuk.cc/index.php?title=Zh_GoogleMa...ption#Placemark_List
Don't forget support my developments: post review in JED , donate , help with translation
The following user(s) said Thank You: Shine7
Please Log in or Create an account to join the conversation.
Time to create page: 0.295 seconds