Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by BenG

  1. Hi Osorio, I am also experimenting with polymer and pw. However, I deceided to modify the .htacess to allow html imports. I don't know if there are any security drawbacks but I can't think of any. In my opionion it's better to keep the templating files in the template folder where they belong by design. Maybe ryan could clarify this because there were already 2 people in 2014 who asked the same question.
  2. Hi, I'm building a second menu. Therefore I followed Ryans proposal from here: https://processwire.com/talk/topic/726-multiple-menus/#entry6018 I have 2 Page reference fields with PageListSelectMultiple as Inputfields and added both fields to the home template. Everything is working fine so far. But: I want to check if the current (active) page is part of a specific Page field. How can I do that? Page fields: nav_main nav_side Listing all pages from nav_side is simple: foreach($pages->get("/")->nav_side as $item) { echo "<li><a href='{$item->url}'>{$item->title}</a></li>"; } But how can I do something like that: if (isset($page->nav_side)) { ... } Thank you! Ben
  3. I finally managed to get everything up and running using the dev branch. I try to get familiar with module development atm. The error which i was talking about only occurs if you add a new language before you change the Fields to TextareaLanguage,.. (I use the Template that ships with PW) Thank you.
  4. Thank you. I tried that. That would work, however it's not working for me atm. I tried to change some fields to Textarealanguage but PW won't create the appropriated tables in db. I guess it's because of the switch to PDO.
  5. Hi diogo, thx for the response. I'm using a "plain" installation (2.3.0) without anything else installed except those language modules: Installed Language Modules: Language Field Tabs 1.0.7 Organizes Language Fields into tabs for a cleaner easier to use interface Languages Support 1.0.0 ProcessWire multi-language support. Languages Support - Fields 1.0.0 Required to use multi-language fields. Languages Support - Page Names 0.0.3 Required to use multi-language page names. In development, NOT for production use. Is it possible that the activate feature was removed in version 0.03? Thanks EDIT: For the 404: Doesn't work
  6. Hi, I'm new to PW and try to set up a multilingual website with "Language Support Page Names". Basically everything is working but I have 2 Problems: (x) The "Active?" Checkboxes don't show up which means that I can't deactivate pages which are not translated yet. http://processwire.com/api/multi-language-support/multi-language-urls/ (x) 404 Page. I added the language switcher solution of the above mentioned article. However this code doesn't work on 404 Pages. Is there a way to fix that? Thank you
  • Create New...