Jump to content

rooofl

Members
  • Posts

    91
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by rooofl

  1. Ok I tried a fresh install of ProcessWire and the problem was the same. Then I realised my host PHP version was really old! Problem solved by upgrading PHP to 5.4! Thank you adrian.
  2. If I replace by the original index.php: same error but at line 111. I tried to upload again, following exactly the process on the documentation page but I still have the issue.
  3. Hi, I try to move my website. I already moved the database, changed the config.php content, but I get: Parse error: syntax error, unexpected T_VARIABLE in www/v3/index.php on line 106 the line 106 contains: $config->paths = clone $config->urls; What did I miss?
  4. Thanks a lot for your answers and tips Joss.
  5. Thank you Joss! That’s what I was looking for. It leads me to another question: My current content is substantial (a big list of typefaces) and I don’t want to export all of it. What procedure do you advise to export just a part of my content (two or three fonts) only? Should I make a copy of my current website and delete some content?
  6. Hello, I would like to publish a site profile. My template is ready but I would like to know how to “build” the /install folder. As I can see here, it contains a basic database profile and dummy content right? What is the procedure to do generate install.sql? Is it a plain database export?
  7. Awesome. You solved my problem, thank you.
  8. Hello, since a long time I am stuck on this probably stupid issue. I have two very similar fields: font keywords and font license. When I try to display the titles of the keywords, everything is just fine but for the titles of font licenses, things goes weird: // Keywords $keywords = $font->keywords; if ($keywords){ echo "<li><ul class='keywords'>"; echo "Keywords:"; foreach($keywords as $keyword){ echo "<li><a href='{$keyword->url}'>{$keyword->title}</a></li>"; // ok, the list of the keywords is displayed } echo "</ul></li>"; } // License $license = $font->license; if ($license){ echo "<li><ul class='license'>"; echo "License:"; echo "<li>{$license}</li>"; // displays the id of the matching license echo "<li>{$license->title}</li>"; // displays nothing echo "</ul></li>"; } I checked my license field and everything looks normal. Can you help me to find what is wrong ?
  9. Sorry to repost but diogo can you confirm the result I reach on my previous post?
  10. Thank you diogo, as I tried your method, I realized that it can control the display of the pages but it can’t make the pages selected without an intervertion of the user. Am I right? The solution I am hoping to find would select the related pages within the full list of available pages. It would be really handy for large number of projects!
  11. 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?
  12. 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?
  13. 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...