-
Posts
355 -
Joined
-
Last visited
-
Days Won
2
Posts posted by Mats
-
-
Would it be possible to add drag and drop for pinning a location?
Like this: http://jsfiddle.net/salman/ZW9jP/4/
Got it working. Just the updating of the address filed when manually moving the marker is missing.
/** * Display a Google Map and pinpoint a location for InputfieldMapMarker * */ var InputfieldMapMarker = { options: { zoom: 5, draggable: true, center: null, mapTypeId: google.maps.MapTypeId.HYBRID, scrollwheel: false, mapTypeControlOptions: { style: google.maps.MapTypeControlStyle.DROPDOWN_MENU }, scaleControl: false, }, init: function(mapId, lat, lng) { var options = InputfieldMapMarker.options; options.center = new google.maps.LatLng(lat, lng); options.zoom = 5; var map = new google.maps.Map(document.getElementById(mapId), options); var marker = new google.maps.Marker({ position: options.center, map: map, draggable: options.draggable }); document.getElementById("_Inputfield_karta_lat").value = marker.getPosition().lat(); document.getElementById("_Inputfield_karta_lng").value = marker.getPosition().lng(); google.maps.event.addListener(marker, 'dragend', function (event) { document.getElementById("_Inputfield_karta_lat").value = this.getPosition().lat(); document.getElementById("_Inputfield_karta_lng").value = this.getPosition().lng(); }); } }; $(document).ready(function() { $(".InputfieldMapMarkerMap").each(function() { var $t = $(this); InputfieldMapMarker.init($t.attr('id'), $t.attr('data-lat'), $t.attr('data-lng')); }); });
-
1
-
-
Thank you Ryan!
-
I posted a comment on the module page. At the bottom it says åäö ÅÄÖ.
Image attached so you can se the encoding in "my" admin.
Thanks for looking in to this!
EDIT: Added another image for clarity.
-
1
-
-
Ryan, it's on the admin side the å,ä,ö characters doesn't work. Sorry, wasn't clear enough.
Another thing i noticed is that on a reload of successful comment the same comment is added again.
(Maybe this should be moved to the comments module thread?)
Edit: In the comments manager the characters works, but in the comments field they don't.
-
Like this?
-
1
-
-
Thanks!
I have UTF-8 in the head tag, the å,ä,ö characters works everywhere else.
-
I have the latest release from Github and the problem persists.
The phrases that are missing (i can't find them anyway) for the processlatestcommentsmodule:
"Comments Manager"
"Manage all comments field data in chronological order. Provides a simpler interface for managing comments vs. the page-based comment editor."
Here are some other phrases missing:
I translated the files in your post, but they doesn't seem to translate the comments fields on the pages with comments. Also the encoding for the å,ä,ö characters seems wrong.
Thanks!
-
When translating "Approved", "Pending" and "Spam" the filtering links stops working.
A bit OT: Will the FieldtypeComments modules become translatable?
-
-
Hear, hear!
-
1
-
-
Hello!
If you can get the comments out of our old CMS in json or XML you could use this method:
Also check this for creating pages with the API:
Good luck and welcome!
-
Thanks Pete!
I hope to get the museums main site running on ProcessWire as well.
-
Thanks for the feedback everyone!
@yellowled: Glad you didn't recognize the site as Bootstrap. It's really easy to change the look thanks to the customization options.
@apeisa: I never celebrated midsummer in Finland, seems like a lot fun!
@arjen: Thanks for pointing that out. I'll look in to it.
@Soma: Added clears and changed the path to the spinner.
-
Eketorp is an open-air museum located in the south east of sweden on the island of Öland in the Baltic sea. The museum is a part of Kalmar Läns Museum (Kalmar County Museum).
The site's front end is based on Twitter Bootstrap and Jquery Mobile. The ajax search was kindly developed by Soma after a request on the IRC channel. Big thanks to you Soma!
If you visit Öland you really should go, it’s a pretty cool place.
Thank you Ryan for an excellent system!
Mats
-
2
-
Translating multiple select commands
in Multi-Language Support
Posted
Hello!
Is there a way to translate the the add, cancel, change and select commands when using a Page field and multiple select.
Atm i changed the code here to translate it (besides select):
https://github.com/r...iple.module#L53