Jump to content

web_lukas

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by web_lukas

  1. I don't use any markup in my code. So if i edit the config.php and writing false instead of true, the _main.php should load at the end of the site right? But will all sites still work fine? Sorry im very new to processwire... so i dont really understand right now, what the MarkupRegions are for ? $config->useMarkupRegions = true;
  2. Hello Bernhard, i mean, at the end of the page, after my footer i have this "Menu" at the end. But no such thing in my code. My Code ends with the footer and javascript function. The black box in the Screenshot is my footer, and after that there is this breadcrumb nav. In the main.php i found this code: <?php if($page->hasChildren): ?> <ul> <?php echo $page->children->each("<li><a href='{url}'>{title}</a></li>"); // subnav ?> </ul> <?php endif; ?> <?php if($page->editable()): ?> <p><a href='<?php echo $page->editUrl(); ?>'>Edit this page</a></p> <?php endif; ?> Does this code display the "menu" at the end of page. Thanks ?
  3. Thank you guys for your replies. In config.php i changed the useMarkupRegions to false, then back to true and now it works. I dont knwo why but yeah the sites shows now. This my second time i use processwire. The first time i used it, there was no problem with the site and templates. I dont know why there was a problem now. I dont even need the <div id="content">...</div> to display the site. And in the Templates i selected the right template (Impressum) like you asked zoeck. Impressum.php is in the folder /site/templates... I selected the blank project setting on the installation (Do you think i made something wrong with the installation?) You know how i can get rid of the Menu at the end of page? (Screenshot) Cheers ?
  4. Hello together, i have to make a Website with 3 Sites. Home.php, Imprint.php... The home.php displays perfectly. I created a new file in PHPStorm called "impressum.php" - in processwire i went to the template section, created a new template, selected the "impressum". Added the template to the Page tree. After that i started coding right away in PHPStorm. after a while i noticed the content doesnt show on the site. You have any idea why it looks like in the screenshot? I tried the thrid page, and its the same problem. Only the home.php displays perfectly how it should. Looking forward for your answers. Cheers.
×
×
  • Create New...