Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by Luis

  1. his form works now on my local machine, andre you got mail with the corrected code. for those interested, after his validation he started with else, this point the script didn´t reached when pass was updated. i just added a $formerror and asked instead of else if $formerror is false.
  2. no solution yet only a quick tip. if (empty($input->post->username) is the same to: if(!$input->post->username) i will dive into your code in my next break.
  3. don´t know. try it out, this could be a starting point (not tested, wrote from mind in browser) $loggeduser = $user->name; if($input->post->submit) { $pass = $input->post->password; $u = $users->get("name=$loggeduser"); $u->of(false); $u->pass = $pass; $u->save(); $u->of(true); $session->logout(); $u = $session->login($loggeduser, $pass); }
  4. U have to Logout the user after pass update. This isnt done by PW. You could try this at admin interface, change your pass and whoop no logout
  5. you should at least check out the showcase forums. there are a lot of pages showing the possibilities processwire offers.
  6. Yes please, give new search and a WillyC translat0r too
  7. Sure why not? Processwire got almost everything implemented what you need. You got User Management, Rights Management, you could edit pages via the normal frontend. There are a lot of topics here describing how to change, add and edit pages through API. You finally need a lot of time and a bit of php knowledge and there u go.
  8. Hmmmmmm, i just deleted exactly what u wanna achieve 2hours ago because i needed an email verification before first login. Its definitve possbile to Login a User after registraton. My Script was something like this: Registry Page. Vailidate Input. Create User Dashboard as Page. Create User. Redirect to Dashboard and Login. Im back in my office in 20minutes. I'll take a look if i could restore the Script.
  9. For most of the people today its Valentine's day. For me its Die hard 5 day.

  10. Sure Ryan, but who wants to read a wall of text visiting the page the first time? (in the first 500pixels)
  11. the world famous Lorenzo von Matterhorn
  12. to form a link you could do something like this <a href="<?php echo $page->next->url ?>">Next</a>
  13. yes mats is right, this is the normal prev next function. just thought you want a prev next and pages navigation. So you got 2 solutions now
  14. hm no thumbs up icon here. ok
  15. to give you a starting point, this is the code snippet from the page i´ve posted <?php include('./includes/head.php'); $options = array( 'nextItemLabel' => "Weiter", 'previousItemLabel' => "Zurück", 'listMarkup' => "<div class='pagination pagination-centered'><ul>{out}</ul></div>", 'currentItemClass' => "active disabled", 'itemMarkup' => "<li class='{class}'>{out}</li>", 'linkMarkup' => "<a href='{url}'>{out}</a>" ); $items = $page->children("limit=10"); $pagination = $items->renderPager($options); echo $pagination; ?>
  16. nope, not for search only. I´ve used the pagination with prev - next buttons on this page: http://würfelhauskonzept.de/artikel/ Just read the pagination tutorial and the usage will be clear, very handy little module.
  17. check this: http://processwire.com/api/modules/markup-pager-nav/ already built in
  18. Yes Foundation, was my first run with it. Which part of the solution interests you adam?
  19. strip the words. as my marketing teacher said, keep it simple and strong. Means: as little words possible to tell your story. Try to write about 3 sentences with about 3-5 words maximum in the head. But so far you get a +1 from my part
  20. Gnah Browser test for the Win. I was so focused in developing the Shop function that i missed the homepage. Yeah work for tomorrow.
  21. poor antti yeah but I agree with you, very annoying.
  • Create New...