Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

9 Neutral

About eutervogel

  • Rank
    Jr. Member

Recent Profile Visitors

552 profile views
  1. The PHP file is. Csv needs to be checked. I'm afk at the moment but thanks for the tip. Edit: The problem was, that the CSV was not in UTF-8. Thanks!
  2. Hi, I've build a little Page for my brother where he can upload a cvs file to upload multiple images at a time. The images contain a german desc an english desc numer of likes and so on. Everything is working fine so far, but when the german description contains ä, ö or ü the description field stays emtpy. I tried too use different sanitizers, but, no luck so far. $string = 'Drosselrohrsänger'; $string = $sanitizer->entities($string); echo $string No output What am I doing wrong?
  3. Hey, I have freshly installed the module and for some reason I get some issues which I don't understand. As you can see below, after aiom/ the domain is cut off. Where is the dani? GET https://www.danielholte.de/site/assets/aiom/elholte.de/site/templates/img/play_back.png 404 (Page Not Found) This is how I've done: <link rel="stylesheet" type="text/css" href="<?php echo AllInOneMinify::CSS(array('css/main-' .$style .'.css', 'css/grid.css', 'css/pm-icons.css', 'css/fontawesome.css', $config->urls->FieldtypeComments . 'comments.css', 'css/overwrite.css')); ?>"> <script src="<?php echo AllInOneMinify::JS(array('js/jquery.min.js', 'js/main.js', 'js/isotope.pkgd.min.js', 'js/jquery.magnific-popup.min.js', 'js/jquery.mousewheel.js', 'js/jquery.jscrollpane.min.js', $config->urls->FieldtypeComments .'comments.min.js')); ?>"></script> This is such a strange issue, that I don't know where to start investigation. Thanks in advance PS: Just saw that my Post is totally wrong here. Sorry. Please move. I think it must be related to ../ This is my original css: .pm_menu_mobile_toggler { width: 27px; height: 22px; background: url("../img/icons-light/retina/pmicon-073.png") no-repeat center; background-size: 27px 22px; display: inline-block; position: relative; top: 6px; } and this is what comes out: .pm_menu_mobile_toggler { width: 27px; height: 22px; background: url("elholte.de/site/templates/img/icons-light/retina/pmicon-073.png") no-repeat center; background-size: 27px 22px; display: inline-block; position: relative; top: 6px; } Allow Directory Traversal in Options is hooked.
  4. Hi, I have some issues since the last update of the module. If a menu item has children it doesn't get the class provided in the options array (in my case 'menu-item-has-children'). The a tag is not even in a li?!?! Here is my code: $options = array( 'wrapper_list_type' => 'ul', 'list_type' => 'li', 'menu_css_id' => '', 'menu_css_class' => 'menu', 'submenu_css_class' => 'sub-menu', 'has_children_class' => 'menu-item-has-children', 'first_class'=>'', 'last_class' => '', 'current_class' => 'current-menu-item', 'default_title' => 1 , 'include_children' => 4, 'm_max_level' => 2, 'current_class_level' => 1, 'default_class' => 'menu-item', ); $menu = $modules->get('MarkupMenuBuilder'); echo $menu->render('hauptmenu', $options); And this is what comes out (look at Fotografie for example😞 <ul class="menu"> <li class="menu-item"> <a href="/" class="pm_text_menu_item">Start</a> </li> <a href="/fotografie/" class="pm_text_menu_item">Fotografie</a> <ul class="sub-menu"> <a href="/fotografie/landschaften/" class="pm_text_menu_item">Landschaften</a> <ul class="sub-menu"> <li class="menu-item"> <a href="/fotografie/landschaften/wald/" class="pm_text_menu_item">Wald</a> </li> <li class="menu-item"> <a href="/fotografie/landschaften/strand-kuste/" class="pm_text_menu_item">Strand &amp; Küste</a> </li> </ul> <a href="/fotografie/tiere/" class="pm_text_menu_item">Tiere</a> <ul class="sub-menu"> <li class="menu-item"> <a href="/fotografie/tiere/amphibien-reptilien/" class="pm_text_menu_item">Amphibien &amp; Reptilien</a> </li> <li class="menu-item"> <a href="/fotografie/tiere/arthropoden/" class="pm_text_menu_item">Arthropoden</a> </li> <li class="menu-item"> <a href="/fotografie/tiere/saugetiere/" class="pm_text_menu_item">Säugetiere</a> </li> <li class="menu-item"> <a href="/fotografie/tiere/vogel/" class="pm_text_menu_item">Vögel</a> </li> </ul> <li class="menu-item"> <a href="/fotografie/stimmungen/" class="pm_text_menu_item">Stimmungen</a> </li> </ul> <li class="menu-item"> <a href="/video/" class="pm_text_menu_item">Video</a> </li> <li class="menu-item current-menu-item"> <a href="/daniel-holte/" class="pm_text_menu_item">Daniel Holte</a> </li> <li class="menu-item"> <a href="/kontakt/" class="pm_text_menu_item">Kontakt</a> </li> <li class="menu-item"> <a href="/impressum/" class="pm_text_menu_item">Impressum</a> </li> </ul> So as you can see the li tags for menu items with children are completly missing. I have no idea why and as I said above, I changed nothing except the upadte of the module. Thanks in advance
  5. Thanks for your answer flydev, I think adding a custom field for IDs would do the job. But, I don't have any idea to do that. Can you please point me in the right direction?
  6. And for some reason this: $page->galerie->get("name=rugen.jpg"); always returns null.
  7. Hi, I want to build a likesystem for images on my page. I've added a field called likes to my imagefield using ImageExtra module. Now I have this field in all images in my gallery. So far so good, but how can I update that field using the API? If you hover a image a heart-button appears, If you click this heart, the likevalue should increase by one. But how to identify which image is clicked, since there are no IDs for images. So the question is, how to identify an image inside a images field with lots of images? I hope you could understand by brilliant english Thanks in advance.
  8. I don't know if that is neccessary but I want to get it to work for not logged in users.
  9. Hi, On my website the user is able to choose between to styles of a gallery. A gridview and a stripe view. I want to store the choice during the whole session. So if the user chooses a style I do it like so: $query = $_GET['view']; if($query){ $session->set('view', $query); } So that's working pretty fine, but after a random number of menuclicks or reloads its gone. Sometimes it is stored for 10 -15 pageloads and sometimes it's gone after 2 loads, Lifetime is set to 3600 in php.ini session.gc_maxlifetime = 3600 This is how I look if it exists: if($session->view == 'grid'){ include('album-grid-title.php'); $session->set('view', $query); } elseif($session->view == 'stripes'){ include('album-stripes.php'); $session->set('view', $query); } else{ include('album-stripes.php'); } Can anyone point me in the right direction and tell me what I'm doing wrong or why $session gets lost? Thanks in advance
  10. This is my second project based on processwire. I love it. Please share your meanings http://baumaschinen.guru
  11. A little bit more detail: when I do this: $page_exsists->url; I get this: /repeaters/for-field-152/for-page-0/ So it seems, that the repeater fields are not deleted when the page is deleted. If I search in my database for one of the ids I get back this is the result: SELECT * FROM `MYDB`.`pages` WHERE ( CONVERT( `id` USING utf8 ) LIKE '%1157%' OR CONVERT( `parent_id` USING utf8 ) LIKE '%1157%' OR CONVERT( `templates_id` USING utf8 ) LIKE '%1157%' OR CONVERT( `name` USING utf8 ) LIKE '%1157%' OR CONVERT( `status` USING utf8 ) LIKE '%1157%' OR CONVERT( `modified` USING utf8 ) LIKE '%1157%' OR CONVERT( `modified_users_id` USING utf8 ) LIKE '%1157%' OR CONVERT( `created` USING utf8 ) LIKE '%1157%' OR CONVERT( `created_users_id` USING utf8 ) LIKE '%1157%' OR CONVERT( `published` USING utf8 ) LIKE '%1157%' OR CONVERT( `sort` USING utf8 ) LIKE '%1157%' ) LIMIT 0 , 30
  12. Hi, I got a little problem and I hope you could help me: What I'm doing is this : $page_exsists = $pages->get("title=$searchtitle"); The problem is, it finds pages that have exsited. I trashed them and emtied trash, but they still seem to be somewhere?! So if I do $page_exsists->id; I get an id back?! I hope you could understand my bad english „smile“-Emoticon Thanks for your help.
  • Create New...