Jump to content


Mats

Member Since 16 Mar 2011
Online Last Active Today, 05:48 AM
-----

#34300 Karena Savannah Cramer

Posted by Mats on 06 May 2013 - 03:16 AM

Congratulations!




#32114 Need a Google Maps Expert

Posted by Mats on 06 April 2013 - 02:02 PM

You're welcome Ryan! Glad i could help.

 

Very nice site as always!




#30018 MarkupSimpleNavigation

Posted by Mats on 13 March 2013 - 01:17 PM

You're right Soma, it's my css that's messed up and i'm stuck in the old way of styling the navigation. I just have to rethink it.

 

Thanks for all your help!




#29212 Need a Google Maps Expert

Posted by Mats on 05 March 2013 - 12:43 PM

I implemented the first of your requested features (MarkerClusterer) in your RCDMap class. You can find it here: http://processwire.c...ge-3#entry25865

 

Here it is in action (built for mobile): alltpaoland.com




#28329 favorite programming music

Posted by Mats on 23 February 2013 - 02:34 PM

radioparadise.com. Plays a lot of great stuff.




#26688 Module want: Next and Previous Links

Posted by Mats on 06 February 2013 - 06:11 AM

Try this:

$page->next

 

$page->prev

 

 

http://processwire.c...variables/page/




#26202 Translate Pager

Posted by Mats on 31 January 2013 - 07:46 AM

http://processwire.c...rkup-pager-nav/




#26190 Comments

Posted by Mats on 31 January 2013 - 04:27 AM

If you use the dev version of PW you have built in support for Gravatar and webiste. 

 

 

https://github.com/r...eldtypeComments




#25865 Map Marker Fieldtype

Posted by Mats on 27 January 2013 - 08:42 AM

Updated Ryans/drilonbs code to include marker cluster and custom icons. Marker clusters need this script to work. 

 

Here are the updated scripts: https://gist.github.com/4648340

 

Use at your own risk... If anyone with actual javascript skills could take a look at it, i'd appreciate it. 

 

/Mats




#25410 How do I create a language pack?

Posted by Mats on 23 January 2013 - 04:11 AM

This might help: http://processwire.c...list/#entry8100

 

And welcome to the forums!




#23039 Merry x-mas and a "guten rutsch ins neue Jahr"

Posted by Mats on 24 December 2012 - 09:57 AM

God jul och gott nytt år!


#20220 Touch responsive gallery suggestions

Posted by Mats on 16 November 2012 - 02:42 AM

Haven't tried it yet but Jquery Cycle is nice:

http://jquery.malsup.com/cycle2/


#19683 Map Marker Fieldtype

Posted by Mats on 09 November 2012 - 05:31 AM

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'));
});
});



#18788 Module: Comments Manager

Posted by Mats on 22 October 2012 - 11:53 AM

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!

Posted Image

EDIT: Added another image for clarity.

Posted Image


#18156 Is alphabetized pagination possible?

Posted by Mats on 08 October 2012 - 01:50 PM

Like this? http://processwire.c...etized-listing/