Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

21 Excellent

About houseofdeadleg

  • Rank
    Full Member

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location
    Scarborough, UK

Recent Profile Visitors

3,465 profile views
  1. Looking a bit closer at this, it looks like it's just Chrome on an Android mobile, desktop sees to be OK now. Every other browser I've tried is fine.
  2. I updated to the latest version of this module today and I've just noticed that it doesn't appear to be working when looking at my site using Chrome, Firefox is fine though, still working as expected – http://houseofdeadleg.co.uk/contact/
  3. Is it possible to use Leaflet's layer groups with this module? I have three pages, each containing a map, each one showing a different kind of data. I'd like to be able to have one map that shows all three types of data with the ability to turn layers on and off, each type being a different layer. I'm thinking that the best way to do this is going to be by using the module to handle the backend, geocoding the data in the relevant pages/child pages, but using plain Leaflet.js to output the data on the front-end. Any other thoughts/suggestions would be appreciated though.
  4. Sorry, I meant to put something else as well and forgot. To clarify: On the two sites I'm looking at/comparing – Site 1 – live site is PW 3.0.61 with module 2.8.1, local is PW 3.0.98 with module 3.0.2 Site 2 – live site is PW 3.0.62 with module 3.0.2, local is PW 3.0.98 with module 3.0.2 For site 1 the leaflet module works perfectly on live and local, site 2 the module doesn't work on either, even though the local site versions are exactly the same. Hopefully that's a bit clearer.
  5. A quick query on this module if anyone might be able to shed some light. I have a staging site running PW 3.0.61 and version 2.8.1 of this module, but in the field settings page I'm getting a "Error geocoding address" message. I also have a local version of the same site, running PW 3.0.98 and version 3.0.3 of the module (from the latest branch on Github – upgrading in the PW admin didn't seem to give the latest version), giving the exact same error. Nothing seems to be being blocked from executing. I also have another two sites using different versions of PW and the module, and they're all working perfectly – I can't see any difference in the way they're set-up. There's a console error as well: Source map error: request failed with status 404 Resource URL: http://xxxxxx/wire/templates-admin/styles/AdminTheme.css?v=14k Source Map URL: AdminTheme.css.map[Learn More]
  6. Ah. Bugger. Yes, I'm on a Mac. I'll have to look into that then. Any ideas how to (if it can be?) resolve it?
  7. I'm having this same error. I've exported an existing live site and recreated it locally with PW 3.0.116 to do some experimenting, but on the upgrades page I get this error, and the site doesn't display images correctly. Any help would be much appreciated.
  8. I'm not sure if this is best in here or in the Modules/Plugins section – I've just been doing some general housekeeping on a site that's nearing the end of development. I deleted some fields that were no longer in use and afterwards I get an error when I try to open certain templates – Error: Call to a member function getInputfield() on a non-object (line 222 of /var/www/xxxxxx/wire/modules/Fieldtype/FieldtypeRepeater/InputfieldRepeater.module) Form the error it's related to a repeater in the template, but the problem templates all have 3 repeater fields in common, so it could be anyone of them that's causing the problem. Is there any way to find out which one it might be, how can I fix the error, and what might have caused it? Update Managed to fix the errors by using the "Check field data" checkbox at the bottom of the suspected problem field Action tabs. One of the fields had a load of redundant rows in the database, deleting them seems to have done the trick.
  9. After a bit of further work, I'm now getting a parse error – Parse Error: syntax error, unexpected '[', expecting ')' (line 284 of /var/www/xxxxxx/site/modules/MarkupTwitterFeed/MarkupTwitterFeed.module) The line in question is – $linkHtml = str_replace(['{href}', '{url}'], [wire('sanitizer')->entities($u['expanded_url']), $u['display_url']], $options['listItemLink']);
  10. @jean-luc I've installed your fork of the module but am having a couple of issues with getting it to display correctly. Using the Specifying options example: I can't get images from Twitter to display. If I try Or you can iterate the feed rather to generate your own markup... I get an error – Error: Exception: Method MarkupTwitterFeed::renderItem does not exist or is not callable in this context (line 519).
  11. I'm currently developing a site using this module and I've struck a couple of issues that I'm stuck on. Firstly: I have a page showing office locations and I have it set up so that each office is a repeater including a Leaflet map using this module. In the back-end the map tiles don't display properly and in the front-end only the second item's map displays. Secondly: I have a map that displays multiple markers for scientific studies around the world. For this I have it set up so each trial is a child of the map page. All the markers get displayed correctly but I can't get the popup to display correctly. After every paragraph and between every list item it's adding a <br/> tag which spaces everything out too much. Also I'd like to remove the link to the child page on the title, however any attempt I've made so far has made it so the popup won't open. Any help with these two issues would be greatly appreciated. Update: I managed to remove the <br/> tags by modifying line 252 in MarkupLeafletMap.module from $popup = str_replace("\n", '<br />', $popup); to $popup = str_replace("\n", '', $popup); And removed the title link by modifying a line in MarkupLeafletMap.js from marker.bindPopup("<b><a href='" + marker.linkURL + "'>" + title + "</a></b>" + extra); to marker.bindPopup("<h4>" + title + "</h4>" + extra);
  12. There's something strange going on. If I remove all css that affects the links they still don't work if I try to click on them, however they open fine if I right click and open them in a new window/tab. If I use ghost css for example, they work straight away, on click and right-click.
  13. Yeah, already checked all that, all the output is fine, nothing over the top that's getting in the way. The link previews, the cursor changes on hover, just won't click through.
  14. //setup variables and content $newslist =''; $children = $pages->get("template=news")->children("limit=10, template=news_item, category.title=education, sort=-date, include=hidden"); $pagination = $children->renderPager(); $x =''; foreach ($children as $child){ $x++; if($x == 1){ //populate $newslist }else{ //do something else } } // output content if($sidebar){ $copy.='<div class="row"> <div class="small-12 medium-9 medium-push-3 columns"> <div class="row"> <h2 class="">'.$title.'</h2> <div class="row"> <div class="small-12 columns padded-bottom">' .$pagination. '</div> </div> <div class="row"> <div class="small-12 columns"> '.$newslist.' </div> </div> <div class="row"> <div class="small-12 columns padded-bottom">' .$pagination. '</div> </div> </div> </div> <div class="small-12 medium-3 medium-pull-9 columns"> <div id="sidebar" class="clipped-b"> '.$sidebar.' </div> </div> </div>'; }else{ //do something else } The offending section of code is above. I've spent the last hour or so re-writing the template and now I get the correct number of items and the correct number of links, but I still can't click on the links. Hovering over the link it previews the correct links, they just will not click. Thanks very much:)
  • Create New...