Jump to content

arjen

Members
  • Posts

    1,222
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by arjen

  1. Did you click on save when you selected the repeaters to be deleted?
  2. Absolutely love the Classic colours and theme. To me these are the ProcessWire colours.
  3. Great idea! Not to hijack this thread, but FormSaveReminder would be a nice addition too - for all users.
  4. You're right apeisa, but soma did come up with a sort of solution.
  5. if ($page->user->has($user)) { // Do stuff } Not tested, but something like this would work since the "user" fields returns a array which you can check all kinds of thing in. See the cheatsheet for more info.
  6. I think Ryan means this: $pages = wire('pages')->find("template=property"); foreach ($pages as $page) { $page->images->deleteAll(); $page->save(); $page->images->add("http://images.com/image1.jpg"); $page->save(); }
  7. Good thinking! Diogo teached me to turn them around. This way you notice the error more quickly. if(1 == $page->id) { // Do stuff }
  8. What version are you running? Also does this happen on all levels - i.e. /level1/level2/level3?
  9. Nice addition! Sometimes I got a feeling there are multiple Ryans. Some might have travelled form other dimensions. Thanks again for the continuous development of great additions.
  10. You definately should check out the tutorials floating around here. It will make a lot of sense afterwards and you will be building things you couldn't dream of before
  11. Based on the information: yes and yes. If you can't (or are not willing to) pull it off alone you can post it on the jobboard. An intranet can be so many things, so we have to know a little bit more.
  12. Got a Dutch translation pack in the pipeline too.
  13. Add $useMain = false; to your template and the html won't output.
  14. @webweaver, I get your point from a visual POV. Some people like the homepage to have subpages too The index.html always bugged me since the early days of Frontpage since I didn't feel right to have a domain.com/ and a domain.com/index.html.
  15. Missed it too. Superb work. This request has come up now and them regarding long lists.
  16. So you would have http://domain.com/home as a page too? Especially from a SEO POV/structural thinking I would argue that having a homepage at "/" is the way to go. It is the parent/grandparent of all your pages. This made a lot of sense from when I started using ProcessWire. Other cms'es tend to let you create a homepage which is whatever page. It may seem rigid, but you get a lot of freedom when settling with one root. In a multisite I could see other roots as well, but when dealing with a one-site hierarchy I love the way PW dictates the overal structure, but within that "/" you can do anything you want. http://domain.com/ http://domain.com/about-us/ http://domain.com/about-us/history/ Seems very clear, readable and supernice to me
  17. arjen

    Goer.fi

    Super nice work! I love the typography. Any chance of a post with some pictures regarding the extranet?
  18. Thanks soma for reporting back with the best solution. Once again your code makes so much sense. I hardly need comments to figure it out.
  19. I wonder what this company could sponsor!
  20. There seems to be a hardcoded limit of 999 paginated pages. So make sure you won't surpass that
  21. I guess this will work: $pages->find("template=individual, sort=parent.title, sort=title"); $pages->find("template=individual, sort=parent, sort=title");
  22. Try it in a clean install and you'll find out!
  23. Been getting those blank fields too. A refresh seems to work for a while, but for no apparant reason the issue reappears. Will try your fix asap. Thanks!
×
×
  • Create New...