• Content count

  • Joined

  • Last visited

Community Reputation

1 Neutral

About gar1606

  • Rank
    Jr. Member
  • Birthday June 16

Profile Information

  • Gender
  • Location
    Plauen, Germany
  1. so I am using this module and it is working great, I figured out that it doesn't render properly in collapse. But now I want to disable or reset what happens when you click on an map marker or icon. I don't want to pass it a url, I want it to href to an id on the same page and I just don't seem to get it, where do I set the url or replace it. Thank you
  2. And the answer to the different maps on Frontend/Backend was?
  3. I need the mail class (or module) to be able to handle attachments... does wiremail allow for that too? Edit: I am slow, yes it does... I'll check it out... thanks Zeka
  4. If I have built a mail class (I made it before I started using processwire), should I make it a module or just include it and go from there?
  5. okay put it live and now getting Parse error: syntax error, unexpected '[' in /var/www/vhosts/ on line 6 Parse Error: syntax error, unexpected '[' (line 6 of /var/www/vhosts/ This error message was shown because: site is in debug mode. ($config->debug = true; => /site/config.php). Error has been logged.
  6. Forget it, got it working....
  7. Hey, I'm trying out this module on my site but for $captcha->verifyResponse() I am getting 1 not true? I am workong on localhost which I have added to the domaine list with google so maybe thats the problem? Thanks Gar
  8. ok so I am trying to create a infinte scroll feature for my project, basically I can load as many images as I want at first and then when the user scrolls to the bottom I make an ajax call to dynamically append the divs of content each time. I think I am failing to make the ajax connection, here is my code jQuery: <script> $( () => { let $loading = $( '#loading' ); let win = $( window ); // Each time the user scrolls win.scroll( () => { // End of the document reached? if ( $( document ).height() - win.height() === win.scrollTop() ) { $; // show loading gif $.ajax( { // make ajax call, in this url I have made many different attempts url : "ajax.php", type : "POST", success : function() { let el = getNewDiv(); // My function to return the html (below) $( '#infiniteDivs' ).append( el ); $loading.hide(); } } ); } }); } ); </script> Ajax/PW php: $startNumber = 3; function getNewDivs () { $a = $homepage->images; $aSlice = $a->slice(3, 6); $out = ''; $idN = 3; foreach($aSlice as $image) { $idname = 'runner'.$idN; $textName = 'text'.$idN; $out .= ''; $out .= '<img class="lazy" id="'.$idname.'" src="'.$image->url.'"> <p>"'.$homepage->$textName.'"</p>'; $idN++; //echo json_encode($out); } $startNumber = $startNumber + 3; return ($out); Any help would be appreciated greatly! Thanks Gar
  9. @blynx Thank you for the help, got it installed and also working.... Happy days!
  10. I can't seem to get this module to load in the backoffice module section, I downloaded and put it in my module folder, then in the backoffice it does not recognise it? Do I need to change file extion name or? any help would be great!