- Posts: 34
- Thank you received: 0
Question about adding markers
- Rvdzande
- Topic Author
- Offline
- Junior Member
For a pilot project I am currently building a site. Since this is a password protected site I cannot show it, but if you need to I can create a test account. On the site people have to be able to place a marker in a specific area to give suggestions about that area. For example: garbage or slide in playyard broken...
If the pilot works my customer might use this for multiple neighbourhood and I will sure I will donate (or maybe you can send an invoice), but that's for later. Now I have a few small questions which I will post in separate topics.
First:
I would like to translate the information in this image. I did 'uw opmerking' via overrides, but I can't find the right info in the language file to translate description, icon type, and select icon typ
Second:
I would like to remove 'infowin content,' the field below and url image. I managed to 'delete' the rest via CSS but cannot find the proper class to hide this.
Hope you can help!
Is it possible to hide the fields
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
As for first: I support translation to any languages, I use transifex to colaborate, and if you want, you can join and fix untranslated words (or add new language). Look at translation section on my forum.
As for second - I have plans to modify ability to change from site. I want to rewrite it totally and will have config to what to see and change you can. Today you can't configure it. I think if I will have free time, I'll add some 'prototype' of configuration it during next week or two.
Don't forget support my developments: post review in JED , donate , help with translation
Please Log in or Create an account to join the conversation.
- Rvdzande
- Topic Author
- Offline
- Junior Member
- Posts: 34
- Thank you received: 0
Dima wrote: Hi.
As for first: I support translation to any languages, I use transifex to colaborate, and if you want, you can join and fix untranslated words (or add new language). Look at translation section on my forum.
Just signed up to translate the remaining 192 dutch lines. Will do this asap (today / this weekend if I can be added soon)
Dima wrote: Hi.
As for second - I have plans to modify ability to change from site. I want to rewrite it totally and will have config to what to see and change you can. Today you can't configure it. I think if I will have free time, I'll add some 'prototype' of configuration it during next week or two.
Ok, than I will just 'hack' the HTML to make it work for now. Problem is that I've been asked to join the pilot project tuesday, and that it will launch next tuesday. Than 200 people from a neighbourhood start working with it. Not your issue, but I have to 'trim down' the options here. Thx for everything so far!
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
Open com_zhgooglemap\site\views\zhgooglemap\tmpl
file display_map_data.php
in the beginning of file
Don't forget support my developments: post review in JED , donate , help with translation
Please Log in or Create an account to join the conversation.
- Rvdzande
- Topic Author
- Offline
- Junior Member
- Posts: 34
- Thank you received: 0
For example I tried to change 'markerbaloon' by adding uncommenting the line, or by changing the value from 1 to 0. If you can give me one example I am sure I can figure it out, would be highly appreciated!
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
Today I'm still on stage "thinking way to change Insert/Update/Delete placemarks". Ie I have plans to review my code, create new screens to manipulate data.
Lets come back to code.
There is all code in file display_map_data.php
Open it.
As for markerbaloon field
Go to line 5324
all code to create list item is
If you want to change default value, then move selected="selected" to the other option tag
If you want to remove this item from form - you can remove that lines. But in this case you have to change lines where I get values from POST array. Loot at lines near 190 line
For example you can set it to 0
Don't forget support my developments: post review in JED , donate , help with translation
Please Log in or Create an account to join the conversation.