houseofdeadleg

Members
  • Content Count

    77
  • Joined

  • Last visited

Community Reputation

20 Excellent

About houseofdeadleg

  • Rank
    Full Member

Contact Methods

  • Website URL
    www.houseofdeadleg.co.uk

Profile Information

  • Gender
    Male
  • Location
    Scarborough, UK

Recent Profile Visitors

3,063 profile views
  1. houseofdeadleg

    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.
  2. houseofdeadleg

    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]
  3. houseofdeadleg

    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?
  4. houseofdeadleg

    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.
  5. houseofdeadleg

    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.
  6. houseofdeadleg

    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']);
  7. houseofdeadleg

    @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).
  8. houseofdeadleg

    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);
  9. houseofdeadleg

    @SamC Same result.
  10. houseofdeadleg

    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.
  11. houseofdeadleg

    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.
  12. houseofdeadleg

    //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:)
  13. houseofdeadleg

    I'm implementing a news section on a site I'm developing and I'd like to add pagination for when there are a large number of news items. I've enabled pagination on the templates used and added the code to output it, limiting it to 10 items per page. However, on a page with only 4 items it's showing pagination links for a page 2. The links themselves don't click through, and if I manually try to get to page 2 I get a page missing error. I should note that the links generated don't click through on any pages where they're generated, even if there are more than the 10 item limit.
  14. houseofdeadleg

    Bit of an issue with this module. I'm on PW 3.0.62, in the upgrades page it's showing that I have version 2.8.1 of the module and that there is a newer version to install. When I go through the update process it still says the exact same thing. Maps on the front end are also no longer working. Is this a known issue?
  15. houseofdeadleg

    I'm using PW 3.0.62 and the latest (1.5.7) version of AOS, and I get this error message when I try and go to the Users page – Error: Using $this when not in object context (line 722 of /var/www/xxx/modules/AdminOnSteroids/AdminOnSteroids.module)