iNoize

Members
  • Content count

    127
  • Joined

  • Last visited

Community Reputation

31 Excellent

About iNoize

  • Rank
    Sr. Member
  • Birthday 12/01/1982

Contact Methods

  • Website URL
    http://www.creativ3minds.de
  • Skype
    creativ.minds

Profile Information

  • Gender
    Male
  • Location
    Germany

Recent Profile Visitors

4,296 profile views
  1. Hello, i have 2 different domains for one page. In one domain i can see the map markers in other it comes an error. Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error I have generated an standart Api key dont understand why it doesnt works the same key also works for me on localhost skyscrapers profile too
  2. Hello, for an Project i need help for an Script. There is an XML File with all the Objects Data and Images for every object. This is the Data Structure http://prntscr.com/hvfo31 One XML file and Pictures. So every Time the new Data is Uploadet via ImmoTool there have to be maybe an batch or something or an button in the Sitebackend to check the new files. If the Status is NEW then create an Object if the Status is CHANGE then make some changes If the Status is Delete then remove the Object in other Parent There are Basic infos in XML like Description Rooms etc. Also the latitude and attitude for the maps. After succsessful changes the Folder schould be empty for the next upload. I need only help to create and handle the sites with some data (PW API ). The output I will generate by myself. I have some basic php code Need somebody to fix it ready for me in PW. Tnx
  3. So how to solve this now ? Change the from adress ? Have the same Problem. But cant fix it ? Can you make an example ? pls Tnx
  4. I dont know is the better option ? There will be later more than 300 pictures per page i think. But its an interesting idea
  5. Hello, i have an Photography page based on PW. Now is the Problem that the loading time is to long. Idea was to split every 20 images in to pages for Ajaxloading. I dont know how generate all 20 images a new URLsegment. I just cant get it. Thanks for advice
  6. Yes thanks for advices, i need only the title, name (for the same site-url because its good position on Google) and the Body.
  7. Hello, maybe somebody hat this problem ? I need to port 175 pages from Joomla to pw. Maybe had someone this problem or has ported it with some ready modules ? I mean maybe i can export joomla as csv and also import it in pw with small code amnipulations ? Oh very important is it let the url strukture the same also rewrite names for the pages. TNX
  8. Hello, i have a landingpage and need to reaname the images or save it to the filed images in the userpage i have this script currently if(isset($input->post->submit)) { $lptitle = $sanitizer->text($input->post->lptitle); $anrede = $sanitizer->text($input->post->anrede); $first_name = $sanitizer->text($input->post->first_name); $last_name = $sanitizer->text($input->post->last_name); $str = $sanitizer->text($input->post->str); $num = $sanitizer->text($input->post->num); $plz = $sanitizer->text($input->post->plz); $ort = $sanitizer->text($input->post->ort); $land = $sanitizer->text($input->post->land); $email = $sanitizer->text($input->post->email1); $fbname = $sanitizer->text($input->post->fbname); if ($page->id == '2328' ) { // Set a temporary upload location where the submitted files are stored during form processing $upload_path = $config->paths->assets . "files/stickers/"; // New wire upload $file = new WireUpload('file'); // References the name of the field in the HTML form that uploads the photo $file->setMaxFiles(1); $file->setOverwrite(false); $file->setDestinationPath($upload_path); $file->setValidExtensions(array('jpg', 'jpeg', 'png', 'gif')); // execute upload and check for errors $files = $file->execute(); // echo "Passt"; } // $group = $sanitizer->text($input->post->group2); if ($sanitizer->text($input->post->group2) == "on") { $group = "1"; }else{ $group = "0"; } $mail = \ProcessWire\wiremail(); $mail->to($email)->from("mymailhere@domain.com"); $mail->subject("Deine Anmeldung zur $page->title !"); $mail->bodyHTML("Hey $first_name,<br> <br> deine Anmeldung zur <b style='color: #4fc3f7;'>$page->titleaktion</b> war erfolgreich.<br> $page->mailoben Deine Angaben:<br> $anrede $first_name $last_name<br> $str $num<br> $land - $plz $ort<br> $email<br> $fbname<br> <br> Wir wünschen dir auf jeden Fall schonmal viel Erfolg und erfrischende Grüße!<br> $page->mailunten Gerne kannst du auch deinen Freunden von unserer $page->titleaktion per Facebook, Twitter, Google+, WhatsApp oder E-Mail berichten:<br>"); $mail->send(); $p = new Page(); // create new page object $p->template = 'fans'; // set template $p->parent = $page->id; $p->title = $first_name." ".$last_name."-".$page->numChildren; $p->gender = $anrede; $p->first_name = $first_name; $p->last_name = $last_name; $p->str = $str; $p->num = $num; $p->plz = $plz; $p->ort = $ort; $p->land = $land; $p->email = $email; $p->fbname = $fbname; $p->letter = $group; $p->save(); $p->images = $upload_path . $files[0]; $p->save(); @unlink($upload_path . $files[0]); } How to save the Image to the Userpage ? Thanks
  9. So there are happens strange things. I have one core with different languages on pw 3+ e.g. de.mydomain.com en.mydomain.com ..... now i have taken the original code from ryan. Searching for one month for the error. The only thing i had to do is to "disable automatic prepand of _init.php" in the template settings awww maybe its a good advice for somebody. but peaople thanks for your help
  10. Hello, i need help i dont know what happen but i get this error Its an multipage installation with one core and many languages. EN Version is ok but the DE version always error 500 also if i try to login to the backend. Exception: You do not have permission to execute this module - ProcessPageView (in /homepages/17/pathtosite/wire/core/Modules.php line 1225 Errorlog: 2016-11-26 11:13:37 guest http://de.mypage.com/?/ Error: Exception: You do not have permission to execute this module - ProcessPageView (in /homepages/17/pathtosite/wire/core/Modules.php line 1225) 2016-11-26 11:13:57 guest http://de.mypage.com/?/ Error: Exception: You do not have permission to execute this module - ProcessPageView (in /homepages/17/pathtosite/wire/core/Modules.php line 1225) #0 /homepages/17/pathtosite/wire/core/Modules.php(1130): ProcessWire\Modules->getModule('ProcessPageView') #1 /homepages/17/pathtosite/index.php(53): ProcessWire\Modules->get('ProcessPageView') #2 {main} 2016-11-26 11:14:34 guest http://de.mypage.com/?/ Error: Exception: You do not have permission to execute this module - ProcessPageView (in /homepages/17/pathtosite/wire/core/Modules.php line 1225) #0 /homepages/17/pathtosite/wire/core/Modules.php(1130): ProcessWire\Modules->getModule('ProcessPageView') #1 /homepages/17/pathtosite/index.php(53): ProcessWire\Modules->get('ProcessPageView') #2 {main} 2016-11-26 11:14:51 guest http://de.mypage.com/?/ Error: Exception: You do not have permission to execute this module - ProcessPageView (in /homepages/17/pathtosite/wire/core/Modules.php line 1225)
  11. Ok so i tried to fix it by myself now i have this warning. Maybe for the info: Its a multisite installation with one core but different DB's and labguages. This is currently my code in the sitemap.xml template. <?php namespace ProcessWire; /** * ProcessWire Template to power a sitemap.xml * * 1. Copy this file to /site/templates/sitemap-xml.php * 2. Add the new template from the admin. * Under the "URLs" section, set it to NOT use trailing slashes. * 3. Create a new page at the root level, use your sitemap-xml template * and name the page "sitemap.xml". * * Note: hidden pages (and their children) are excluded from the sitemap. * If you have hidden pages that you want to be included, you can do so * by specifying the ID or path to them in an array sent to the * renderSiteMapXML() method at the bottom of this file. For instance: * * echo renderSiteMapXML(array('/hidden/page/', '/another/hidden/page/')); * * */ function renderSitemapPage(Page $page) { return "\n<url>" . "\n\t<loc>" . $page->httpUrl . "</loc>" . "\n\t<lastmod>" . date("Y-m-d", $page->modified) . "</lastmod>" . "\n</url>"; } function renderSitemapChildren(Page $page) { $out = ''; $newParents = new PageArray(); $children = $page->children; foreach($children as $child) { $out .= renderSitemapPage($child); if($child->numChildren) $newParents->add($child); else $this->wire('pages')->uncache($child); } foreach($newParents as $newParent) { $out .= renderSitemapChildren($newParent); $this->wire('pages')->uncache($newParent); } return $out; } function renderSitemapXML(array $paths = array()) { $out = '<?xml version="1.0" encoding="UTF-8"?>' . "\n" . '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">'; array_unshift($paths, '/'); // prepend homepage foreach($paths as $path) { $page = $this->wire('pages')->get($path); if(!$page->id) continue; $out .= renderSitemapPage($page); if($page->numChildren) $out .= renderSitemapChildren($page); } $out .= "\n</urlset>"; return $out; } if ($pages->get("1042")->sitemaps != " ") { $ausgabe = renderSitemapXML(array( // $ps = $pages->get("1042")->sitemaps; // foreach ($ps as $p) { // echo "$p->path"; // } // '/hidden/page/' )); }else{ $ausgabe = renderSitemapXML(); } // echo renderSitemapXML(); // Example: echo renderSitemapXML(array('/hidden/page/')); header("Content-Type: text/xml"); echo $ausgabe;
  12. Hello, i have some trouble to generate the XML with ryans Script I always get an 500 error
  13. Hello, i have some uderdata that i need to import to mailchimp or something else. How can i create with the api an xls or cv file ? This is simple data like name surname email an newsletterstatus.
  14. Hello, i get alway NULL or Array(0) dont really work ? have you tried your code ? maybe is something wrong in the access token ?
  15. Thaks for your answer I already installed the module from modules manager. Now I also installed the second version. Should i leave the first od better remove ?