Jump to content

Mats

Members
  • Posts

    353
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Mats

  1. If you only need website you could use the dev version. No custom fields though.
  2. Welcome Manaus! I think you could have a parent page as building and child pages as apartments. There is a autocomplete function in the page field which could be used for categories/apartment feature etc. /Mats
  3. http://processwire.com/api/modules/markup-pager-nav/
  4. If you use the dev version of PW you have built in support for Gravatar and webiste. https://github.com/ryancramerdesign/ProcessWire/tree/dev/wire/modules/Fieldtype/FieldtypeComments
  5. 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
  6. Obrigado Diogo! And thanks for the link fix Pete!
  7. I'm trying to use https://github.com/galen/PHPGoogleMaps to render Google maps from PW templates, but i can't get it to work. Any ideas on how to get this working from templates? Or is bootstrapping the way to go? /Mats
  8. This might help: http://processwire.com/talk/topic/955-translatable-file-list/#entry8100 And welcome to the forums!
  9. When i update the wire folder with the latest dev-branch i get: Any ideas why this is happening and how to solve it? /Mats
  10. I had the same issue when uploading images. Turned out that my storage space on the server was full. You probably already checked but wanted to mention it as a possible problem. This also turned out to be a mod_security setting. Once changed everything started working as expected.
  11. Swipeview feels almost like a native slideshow. Unfortunately i found it hard to implement the script.
  12. Works like a charm! Thanks again!
  13. Thanks for the update. Unfortunately i get the following error: (I'm on dev 2.3) Error Exception: Method AjaxSearch::addScripts does not exist or is not callable in this context (in /Applications/MAMP/htdocs/kalmarlansmuseum/wire/core/Wire.php line 232) #0 /Applications/MAMP/htdocs/kalmarlansmuseum/wire/core/Wire.php(293): Wire->__call('addScripts', Array) #1 /Applications/MAMP/htdocs/kalmarlansmuseum/wire/core/Wire.php(293): AjaxSearch->addScripts(Object(HookEvent)) #2 /Applications/MAMP/htdocs/kalmarlansmuseum/wire/core/Wire.php(229): Wire->runHooks('render', Array) #3 /Applications/MAMP/htdocs/kalmarlansmuseum/wire/modules/Process/ProcessPageView.module(98): Wire->__call('render', Array) #4 /Applications/MAMP/htdocs/kalmarlansmuseum/wire/modules/Process/ProcessPageView.module(98): Page->render() #5 [internal function]: ProcessPageView->___execute() #6 /Applications/MAMP/htdocs/kalmarlansmuseum/wire/core/Wire.php(271): call_user_func_array(Array, Array) #7 /Applications/MAMP/htdocs/kalmarlansmuseum/wire/core/Wire.php(229): Wire->runHooks('execute', Array) #8 /Applications/MAMP/htdocs/kalmarl This error message was shown because you are logged in as a Superuser. Error has been logged.
  14. Thanks for looking into it. Much appreciated!
  15. Hi Soma! Would you consider adding shortcuts for closing the search results list and stepping up/down in the search result list, like in the Admin Hot Keys module? I tried adding the functionality my self, but my "coding skills" wasn't sufficient. Thanks for a great module! /Mats
  16. Thanks for checking Soma. Then i must be doing something else wrong...
  17. Great new features indeed! After updating to latest dev-branch jquery fullcalendar and Somas Ajax search module stopped working on a local site. Cant find any errors in the console. Something totally unrelated to the update. Sorry for bugging you gentlemen.
  18. Haven't tried it yet but Jquery Cycle is nice: http://jquery.malsup.com/cycle2/
  19. 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
  20. 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')); }); });
×
×
  • Create New...