Jump to content

LostKobrakai

PW-Moderators
  • Posts

    4,956
  • Joined

  • Last visited

  • Days Won

    100

Everything posted by LostKobrakai

  1. Take a look at this: https://processwire.com/talk/topic/8697-module-jumplinks/
  2. It's not the full path that matters, but the placement dependent on the domain, like you can read it in the link I posted.
  3. If you mean drag and drop, that's already implemented.
  4. Then maybe it's a bug. This feature was added somewhere around that time of your pw version, if I remember this right. It should be the right option.
  5. Only being able to access the homepage directly is most of the time a issue with the .htaccess. Try to comment out the RewriteBase statements in this file. Use "/" if processwire is in the root of your domain and "/subdirName/" if its in a subdirectory. A more detailed explanation can be found here: http://processwire.com/docs/tutorials/troubleshooting-guide/page3
  6. Locked is the right option for this, but is seems to be more descriptive in the newest dev version: Open when populated and not editable (locked). So to clarify this: Does your field hold a value?
  7. @arjen There's always the option to remove certain fields with an own hooking module. It's just not as easy to set up.
  8. I'm personally really not that interested in the development front of php. As long as I have to even switch servers of clients that the minimum requirements for PW are met I can't possibly benefit from anything mentioned there. I'm happy if I have php >= 5.4.
  9. I've just added a new version of the module on the dev branch. A request for a single select inputfield powered by the chosen library came up on github. So I implemented it, which does mean the current inputfield is renamed to …SelectMultiple. I still want to add some more fitting styles, but it would also be nice to have some feedback if everything is still working for you guys, before I merge it to master.
  10. Here you can change your forum name: https://processwire.com/talk/index.php?app=core&module=usercp&tab=core&area=displayname Here's the avatar upload: https://processwire.com/talk/index.php?app=core&module=usercp&tab=core (first listitem)
  11. That's exactly what you want to have. wireRenderFile() and $page->render($options) should be enought to fit the needs here.
  12. Do you need this in the Backend or for the Frontend. There's the ProField Multiplier, which you could use on the frondend as well. But for the frontend I would rather suggest using a simple base markup (some wrapper and inputfield) and clone this via javascript, while using your suggested variant to store things.
  13. I'll later take a look at it, but this could benefit of an inputfield selector. In my use cases I wouldn't hide these tabs for all pages.
  14. Pagefields are one way connections, so there's no way for "get me all areas which are at least in one pagefield", but there is "get me all pages of those pagetables". $artists = $pages->find("template=artist"); $used_areas = new PageArray(); foreach($artists as $artist){ $used_areas->import($artist->areas); //areas is the pageTable; } $used_areas = $used_areas->unique(); // Remove duplicates Edit: or this: foreach($pages->find("template=area_page") as $a) { if($pages->get("template=artist, areas=$a")->id){ // Found a page with this area so it's used } }
  15. Ryan had some issues with renewing the certificate last week. But it should be resolved by now.
  16. Just as I'm in the means to build a separate directory for bugfixes, where I just paste in disposable processwire installations. Really great. Will certainly take a look at it later. I can also see this very useful for setting up base installations in a more flexible way than siteprofiles.
  17. For me this is throwing a more detailed error. But this still should not happen, as the php selection should override all the other selectionmodes. "Session: Error saving field "page" - Page 1045 is not valid for page (Page 1045 does not have required parent 1044)" P.S. I'm ultimately for not changing anything on field settings, because they are after all set up in any way for a reason. Edit: Found the culprit in InputfieldPage.module if($field->findPagesCode) { // TODO: we don't currently validate these } if($field->parent_id && $field->parent_id != $page->parent_id) { //Checks parent even though it shouldn't } I'll open an issue over at GitHub.
  18. There are people using that much pages (https://processwire.com/talk/topic/9336-need-help-deleting-an-empty-field-from-a-template-with-2-million-pages/?hl=%2Bmillion+%2Bfield) and the only thing that does not automatically scale for that much pages are files/images. I can't recall where I've read about it, but basicly it's a filesystem limitation, which lets folders only have a certain amount of subfolders/items. ProcessWire needs to be set to use multiple site/assets/files/ folders to prevent a "overflow" of the standart single folder.
  19. RT @iA: Have you ever tried to cancel an Adobe Creative Cloud account? It’s a nightmare. Makes us want to cancel all accounts and ditch Ado…

  20. ProcessWire's internal access management has nothing to do with your htaccess settings. The rewrite base is only needed so that pretty urls are correctly transformed to parameters which processwire can understand, nothing more. The inherited access you mentioned means, that your current page inherits the access management of the root page. This page has the template "home" and therefore you can change who can access the current page in the settings of this template. Now to your problem: Do other pages work as expected? What exactly do you mean by "line of tabs"? What does the link look like, which takes you to the wrong page?
  21. I don't think it's possible to use the module directly as it depends on form input data, but you could certainly just use the code from the module and modify it to your own extends.
  22. I don't like the interface of Piwik. It feels kinda clunky compared to GA. But with our german privacy protection laws it's just more convenient to use Piwik instead.
  23. That only partially true. ProcessTemplate::executeRename handles the whole rename process and is therefore called to generate the confirm form and to process it afterwards which should be what you want to hook. Pages::saveReady would not work as templates are not pages.
  24. Just use this in the beginning of your templates. if(!$user->isLoggedin()) $session->redirect("/index.html");
  25. You could change this by removing the "permanant" line from the modules config.
×
×
  • Create New...