Jump to content

LostKobrakai

PW-Moderators
  • Posts

    4,956
  • Joined

  • Last visited

  • Days Won

    100

Everything posted by LostKobrakai

  1. This seems like a undesirable behaviour, which should be changed in my opinion. Would you please post your findings in an issue at github? You can just summarize the issue and link to here for further explanations.
  2. If I recall it correctly the inline mode will just do that.
  3. I think the problem is mostly a wrong mental mapping from the term "page". Most people will at first think about pages as "pages to be seen on the frontend", whereas a page is ultimately just a flexible container holding information, while adhering to a contract called template. It's nothing special about it, but just as one does need to learn how models work in MVC frameworks it's a likewise process to see what's possible with pages.
  4. That's not a basic (quickly enableable) functionality of asmselect. But it's used in template settings of pw and also in kongondo's menu builder. YOu can have a look there how it's working.
  5. That's the table pro field used there.
  6. if(in_array($child->id, $dropdown_id_array)){ // echo text + children }else{ // echo link and no children } As long as you want to arbitrarily exclude children from the menu you need to specify the pages with dropdowns in code. You could also use any field value of those pages if there's one for differentiating between dropdown/no-dropdown pages.
  7. Yeah using ftp to delete whole folders is quite a pain with it deleting each file individually.
  8. Those profiles do not only consist of the files you find in the site folder after the install, but more importantly of sql files, which initially populate the database. These sql files can be different depending in the profile you're installing (blank being a lot smaller then e.g. multilanguage). So the best way to switch is really a fresh reinstall.
  9. You'll use the compiled css file like you would any other css file in processwire. There's nothing special about it after it's compiled. For compilation I'd suggest to start with one of those applications mentioned here http://sass-lang.com/install.
  10. Sass compilation is not the job of processwire. You're doing that with one of various tools out there on your local machine and you'll simply link the compiled css file in your markup, which processwire will generate.
  11. On your profile page there's a tab "Likes". Should be what you're looking for. Edit: Should've looked more closely. These are just own posts which were liked by others.
  12. There's the ProcessRedirect or Jumplinks modules which allow you to redirect users from the .html urls to your new pages without file extention. To add .html you could add .html to all the pagenames, but I'd rather suggest not going that way.
  13. Such ready made packages will probably always be outperformed by a server, which does rarely more than serving webpages, whereas your laptop is running the whole OS and other programms at the same time. You could try using a vm with something like ubuntu and see if it's faster. I've read a few days ago from sass compilation speed up tips and the author did report that a virtual ubuntu was indeed faster than the hosting mac os computer.
  14. Where those bigger images? Maybe you exceeded any of the php post vars limits.
  15. Xdebug is not really known for being a performant analysis tool and processwire does sometimes generate quite deeply nested function stacks, which xdebug will fully log. Also wamp isn't really the environment for super performant php anyway.
  16. There's no "creation of a new page array", because $kunden->unternehmen is already the pagearray. It's just converted in a list of id's for stringified output. You can directly loop over the list like so: foreach ($kundenliste as $kunden) { foreach($kunden->unternehmen as $unternehmen){ echo $unternehmen->title; } }
  17. That's only part way correct. $db is a wrapper around php's mysqli class, whereas $database is serving a pdo object with the correct settings.
  18. The order of files is determined by the order of finishing the upload and not the order of input.
  19. You can already define custom subfolders in the field settings (at least you should be) and here's the patch to have subfolders supported: --- /InputfieldImageSelect/InputfieldImageSelect.module +++ /InputfieldImageSelect/InputfieldImageSelect.module @@ -13,7 +13,7 @@ if(empty($this->optionAttributes[$value])){ $this->optionAttributes[$value] = array(); } - $this->optionAttributes[$value]["data-img-src"] = "/site/templates/ImageSelect/$path$value.jpg"; + $this->optionAttributes[$value]["data-img-src"] = $this->config->urls->templates . "ImageSelect/$path$value.jpg"; } if($this->showLabels) $this->addClass("InputfieldImageSelectShowLabels");
  20. Is the dutch language installed on the server system? PHP can only use languages that exist in the system.
  21. They want to push people to Win 10 where the whole upgrade process is more modern and intuitive and cloud and stuff. It's only partly about IE.
  22. I'm talking about InputfieldSelector.module. Also AJAX is only needed if the filters do contain something dynamically changing, which I suspected to not be the case, but you're certainly right, that you'd need jquery or at least javascript.
  23. DId you install the Language Support modules and create a new language beforehand? This is just the last step.
  24. InputfieldSelector is build to be a GUI for building page selector strings and is therefore quite specialized to that job. But you could always take a look into the files of the module and see if you can reconstruct the parts you need (e.g. all the ajax things are probably not needed).
  25. The homepage does work because apache does simply call the index.php without arguments, whereas the .htaccess does convert urls to something like index.php?it=/path/ which is still the same file.
×
×
  • Create New...