neophron

Members
  • Content count

    36
  • Joined

  • Last visited

Community Reputation

15 Good

About neophron

  • Rank
    Jr. Member

Contact Methods

  • Website URL
    http://designport.info

Profile Information

  • Gender
    Male
  • Location
    Berlin

Recent Profile Visitors

774 profile views
  1. Thanks @bernhard, it's time to have a closer look at this module. Since September 2017 ProCache supports less and css: https://processwire.com/blog/posts/pw-3.0.76-plus-login-register/#procache-3.1.7-adds-support-for-scss-and-less
  2. Hi, just found an strange bug. If I activate the »HTML minify« option, a simple gallery (uikit v3) with this structure <ul class="uk-slideshow-items"> <li class="uk-active uk-transition-active" style="transform: translateX(0px); z-index: 0;"> <img src="/site/assets/files/1080/sample01.jpg" uk-cover="" class="uk-cover" style="width: 1828px; height: 934px;"> </li> . . . . . . </ul> is converting into this structure: <ul class="uk-slideshow-items"> <li class="uk-active uk-transition-active" style="transform: translateX(0px); z-index: 0;"> <strong> <strong> <img src="/site/assets/files/1080/sample01.jpg" uk-cover="" class="uk-cover" style="height: 0px; width: 0px;"> </strong> </strong> </li> . . . . . . . . . </ul> Does it make sense to count on this module for the future? Cause to me it looks like, as if there is no longer support for this module. Are there alternative solutions?
  3. Thanks for this. Currently I'm testing the PIA-Module, now it's clean again
  4. Yes, everything is fine. For the next days it's here in a temporary subdomain: http://pw-single.designport.info I replaced the js stuff (except the parallax) with uikit (https://getuikit.com). As you mentioned in your introduction, this is really a good way to enter the Processwire world.
  5. neophron

    Hi, thanks for this idea. Due to time pressure, I installed the »Sublime PW« profile and started to adapt it. This single page concept is build upon a Page Reference Field. In every page(= sections) you can throw your html structures.
  6. Thanks, now it works. If I want to deactivate a section, do I have to remove it from the Sublime PW? Cause, if I unpublish a page, the content is still visible.
  7. It's right below Sublime PW
  8. Hi, thanks for this site profile. I installed it to learn from it, cause a client asked me for a single website and after a break of two years, I wanted to create my second Processwire website. I have a question about the sections. If I want to add a new section, is it enough to duplicate an existing section.php in the _view folder and create a template for the new section/page? Cause I have now a new sectionTest.php in the _view folder, created a new template (without file) and added a new page (based on the new template). But .there is no sign of this new section in the frontend. In the master page (Sublime PW) the new section is not visible (check attachment screenshot). Do I'm missing something?
  9. neophron

    Ok, this could be my backup I'll have a look at this.
  10. neophron

    Thanks Tom, in your solution I have to create for every section a <h2>textfield</h2> and also for the body. My first intent was, to use only one field (f.e. for the h2).
  11. Hi guys, I'm struggling with my basic knowledge. I want to build a one- or single page website, with different sections. These regions have partially a different background color. I have, lets say four sections: section_one … till section_four. I created four templates, with some a few fields. Then I created four subpages, and each subpage has its own template. The simplest way, to render all subpages is with: <?php foreach($page->children() as $p){ echo $p->render(); // will render the above } ?> But this will render everything, without any control about the markup. Then I tried this: <?php $section_one = $pages->get("/home/section_one/"); echo $section_one->section_body; ?> But it gives me an error.
  12. Thanks for the tip. I'll check this out. I'm using the ProFields modules and they are worth every penny.
  13. Hi guys, thanks for the help. It's the php version. With php 7.0 it's ok, all above doesn't work.
  14. Hi, I'm struggling with AIOM. I installed this module and now I want to use my less file. In the head I have this, which doesn't work: <link rel="stylesheet" type="text/css" href="<?php echo AllInOneMinify::CSS('assets/css/main_design.less'); ?>"> or <link rel="stylesheet" type="text/css" href="<?php echo AllInOneMinify::CSS('assets/css/main_design.css'); ?>"> This f.e. works: <link rel="stylesheet" type="text/css" href="<?php echo $config->urls->templates?>assets/css/main_design.css" /> The less file has the same styles like the css file. The source code shows me this: <link rel="stylesheet" type="text/css" href="&lt;br /&gt; &lt;b&gt;Warning&lt;/b&gt;: A non-numeric value encountered in &lt;b&gt;/www/htdocs/w005e302/physio/site/assets/cache/FileCompiler/site/modules/AllInOneMinify/AllInOneMinify.module&lt;/b&gt; on line &lt;b&gt;713&lt;/b&gt;&lt;br /&gt; /site/assets/aiom/css_a3d1005d4a254bfaf5c76d729e0773fb_dev.css?no-cache=1530095993"> In the AIOM module configurations, the only thing I did, is the activation of the html-minify and the dev-mode.
  15. neophron

    Hi, ah, ok, now I'm getting it. About the download link: I created a field (type: files). The frontend shows me this: <a href="&lt;br /&gt;&#10;&lt;b&gt;Notice&lt;/b&gt;: Trying to get property of non-object in &lt;b&gt;/var/www/web27428586/html/processwire/site/assets/cache/FileCompiler/site/templates/publications.php&lt;/b&gt; on line &lt;b&gt;18&lt;/b&gt;&lt;br /&gt;&#10;">Download</a> I found this article: https://jensmartsch.de/blog/simple-file-downloads-with-processwire/ I'll try it tomorrow. Thanks, I'll do this