-
Posts
22 -
Joined
-
Last visited
-
Days Won
1
eutervogel last won the day on July 18 2023
eutervogel had the most liked content!
Recent Profile Visitors
1,267 profile views
eutervogel's Achievements
Jr. Member (3/6)
12
Reputation
-
Hi, I'm just wondering how this file sizes can occur. They are all 1920x1200. It's not a very big deal to me, but I can't wrap my head around what's happening here.
-
Why is this ? showing on an empty template file
eutervogel replied to eutervogel's topic in General Support
Yep, I just wrote that and went for a walk with my dog. I was almost 50m away as I realized, that maybe I had misread the checkbox text. And yes, that did the trick. Sorry for my stupidity. -
Why is this ? showing on an empty template file
eutervogel replied to eutervogel's topic in General Support
Which file creates that specific output? -
Why is this ? showing on an empty template file
eutervogel replied to eutervogel's topic in General Support
Thanks for your answer, but there is not a single character in my template file. As I wrote above, I've created a new empty one for testing. The checkboxes are both unchecked too. Strange isn't it? -
Hello, my english is not good enough to describe my problem better in the topic. I'm working on a new site. Fresh blank install. I wrote a template file and everything is working so far but at the end of that page a new document is added for some reason so it looks like this: right after my closing html tag this is added: </html><!DOCTYPE html> <html lang="en"> <head id="html-head"> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Home</title> <link rel="stylesheet" type="text/css" href="/site/templates/styles/main.css" /> <script src="/site/templates/scripts/main.js"></script> </head> <body id="html-body"> <p id="topnav"> <a href='/'>Home</a> / <a href='/einstellungen/'>Einstellungen</a> / <a href='/arbeiten/'>Arbeiten</a> / <a href='/test/'>test</a> </p> <hr /> <h1 id="headline"> Home </h1> <div id="content"> Default content </div> <ul> <li><a href='/einstellungen/'>Einstellungen</a></li><li><a href='/arbeiten/'>Arbeiten</a></li><li><a href='/test/'>test</a></li> </ul> <p><a href='/pw-login/page/edit/?id=1'>Edit this page</a></p> </body> </html> I could not find a source for that and I thought maybe it's caused by something in my template file so I created a new file, left it completely empty, set it up as a template, created a new page with this template and what should I say? It's exactly the same html I can't get it. Can someone please give me a hint, what could cause this? Thanks in advance PS: I just thought maybe that's because I'm logged in and debug mode is on, but no, it's the same for logged out users except the Edit this page link, of course
-
Hi, what I try do do is the following: I have a parent with children. In those children there are nested repeaters. I want to find all occurences where id=$userid for example. So the structre is: Parent ---->Child ---->Repeater ----> Repeater ----> Field I want to count how often $userid i in the id-field of all children of that parent. I hope that's understandable. If not please let me know.
-
eutervogel changed their profile photo
-
Thanks guys adding the namespace did it. But I looked into my other websites a there __() works pretty fine without namespace declaration. How is that possible?
-
Hi, when I try to do that in my template: echo "<h2>" . __("Keine Uploads vorhanden") . "</h2>"; I'm running into an error: Fatal Error: Uncaught Error: Call to undefined function __() So I tried to do it this way: echo "<h2>" . $this->_("Keine Uploads vorhanden") . "</h2>"; That doesn't produce an error but the translation is not shown. I used the first version in other websites before and never had an issue; PW-Version: 3.0.148 What could be wrong here?
-
Hi, what I'm doing is this: <picture> <source srcset="<?php echo $page->section_three->main_img->first()->size(396,710)->webp->url; ?>" type="image/webp"> <img class="p_absoulte pp_block" src="<?php echo $page->section_three->main_img->first()->size(396,710)->url; ?>" alt=""> </picture> and for some reason it sometimes becomes this: <picture> <source srcset="/site/assets/files/1057/sektion3_bild-1.396x710.png" type="image/webp"> <img class="p_absoulte pp_block" src="/site/assets/files/1057/sektion3_bild-1.396x710.png" alt=""> </picture> It seems to be related to ->size(). When I don't use ->size() the webp Url is correct. I'm using the image-field inside a Fieldset(Page). Could that be a problem too? I just increased the output size by 2px and voila the webp url comes up. I deleted all variations (webp variation is present in correct size) changed it back to the original size and again: a png url. I also tried to rename the image and load it up agian. ...same behavoir. Thanks in advance guys
-
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!
-
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?
-
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.
-
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 & 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 & 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
-
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?