Jump to content

rooofl

Members
  • Posts

    81
  • Joined

  • Last visited

Everything posted by rooofl

  1. I have a “related pages” field that list same template’s pages in a SelectMultiple input. This allow to create relations between pages of the same kind. But those relations are not mutual: I would like to get B related to A when I link A to B. Is this possible?
  2. Thank you Adrian for your answer. My issue is solved, Indeed I don't want to include directly the stylesheet. Can you precise the difference between path and url? And what I should use path for an include?
  3. Hello, beginner here. First, Processwire is amazing. I try it from yesterday and already made so much progress! A field allow me to unzip an archive in assets/. Now I would like to include in my template a stylesheet.css extracted from the archive. I think I meet some permission issue because nothing is included. Can you confirm and help me? $fontlist = $pages->get("/fonts/"); foreach($fontlist->children as $child){ $stylesheet = $child->webfont_archive->url.'stylesheet.css'; echo "<a href='".$stylesheet."'>".$stylesheet."</a>"; // This link is ok include($stylesheet); // Nothing here }
×
×
  • Create New...