Jump to content

iNoize

Members
  • Content Count

    133
  • Joined

  • Last visited

Community Reputation

32 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,687 profile views
  1. Its still renders the keywords Meta from The older versions. How can i hide the Keyword meta ?
  2. Hello, es the Update helps. The only one problem is that the contact doenst work. I think the Plugin SimpleContactForm or something else is to old
  3. Hello, how can i change the "has_children_class" for an special id ? Ex 1074. I have an page with automaticly created children. And in this ID 1074 it should not be generated the dropdown submenu (Bootstrap) This is actually my code $nav = $modules->get("MarkupSimpleNavigation"); // load the module $nav->addHookAfter('getTagsString', null, 'customNavItems'); function customNavItems(HookEvent $event){ $item = $event->arguments('page'); // first level items need additional attr if($item->numChildren(true) && count($item->parents) < 2 && $item->id != 1 && $item->id != 1074 ){ $title = $item->get("title|name"); $event->return = '<a href="#" class="dropdown-toggle" tabindex="0" data-toggle="dropdown" aria-expanded="false" >' . $title . ' <span class="caret"></span></a>'; } // submenus don't need class and data attribs if($item->numChildren(true) && count($item->parents) > 1 && $item->id != 1028 && $item->id != 1036 ){ $event->return = '<a href="#">' . $item->get("title|name") . '</a>'; } } $navMarkup = $nav->render( array( 'parent_class' => 'parent', 'current_class' => 'active', 'has_children_class' => 'dropdown', 'levels' => false, 'levels_prefix' => 'level-', 'max_levels' => 2, 'firstlast' => false, 'collapsed' => false, 'show_root' => false, 'selector' => '', 'selector_field' => 'nav_selector', 'outer_tpl' => '<ul class="nav navbar-nav">||</ul>', 'inner_tpl' => '<ul class="dropdown-menu">||</ul>', 'list_tpl' => '<li%s>||</li>', 'list_field_class' => '', 'item_tpl' => '<a href="{url}" >{title} </a>', 'item_current_tpl' => '<a href="{url}">{title}</a>', 'xtemplates' => '', 'xitem_tpl' => '<a href="{url}" >{title}</a>', 'xitem_current_tpl' => '<span>{title}</span>', 'date_format' => 'd/m/Y', 'code_formatting' => true, 'debug' => true ) );
  4. Hi, i tried at localhost and have some errors. Does anybody know how to fix them ? Session Error , No Docthree and a message some unknown error ? Tnx
  5. Hello, how to fix the sitemap then? The old Paths works fine but in the sitemap.xml are the new paths and generate 404 Errors. Is it possible to generate also the old paths in there ?
  6. 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
  7. 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
  8. 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
  9. I dont know is the better option ? There will be later more than 300 pictures per page i think. But its an interesting idea
  10. 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
  11. Yes thanks for advices, i need only the title, name (for the same site-url because its good position on Google) and the Body.
  12. 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
  13. 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
  14. 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
  15. 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)
×
×
  • Create New...