-
Posts
295 -
Joined
-
Last visited
-
Days Won
5
Everything posted by Luis
-
Possible for someone to change their password while logged-in?
Luis replied to onjegolders's topic in General Support
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. -
Possible for someone to change their password while logged-in?
Luis replied to onjegolders's topic in General Support
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. -
Possible for someone to change their password while logged-in?
Luis replied to onjegolders's topic in General Support
$onjegolders->post->code -
Possible for someone to change their password while logged-in?
Luis replied to onjegolders's topic in General Support
what is not working? -
Possible for someone to change their password while logged-in?
Luis replied to onjegolders's topic in General Support
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); } -
Possible for someone to change their password while logged-in?
Luis replied to onjegolders's topic in General Support
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 -
Can we create social network in Processwire?
Luis replied to Vineet Sawant's topic in Getting Started
you should at least check out the showcase forums. there are a lot of pages showing the possibilities processwire offers. -
Yes please, give new search and a WillyC translat0r too
-
Can we create social network in Processwire?
Luis replied to Vineet Sawant's topic in Getting Started
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. -
Possible to register and login simultaneously
Luis replied to onjegolders's topic in General Support
Good to hear you figured it out. -
Possible to register and login simultaneously
Luis replied to onjegolders's topic in General Support
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. -
Luis - Karlsruhe - misterui.de
-
Sure Ryan, but who wants to read a wall of text visiting the page the first time? (in the first 500pixels)
-
the world famous Lorenzo von Matterhorn
-
to form a link you could do something like this <a href="<?php echo $page->next->url ?>">Next</a>
-
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
-
hm no thumbs up icon here. ok
-
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; ?>
-
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.
-
check this: http://processwire.com/api/modules/markup-pager-nav/ already built in
-
Yes Foundation, was my first run with it. Which part of the solution interests you adam?
-
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
-
Gnah Browser test for the Win. I was so focused in developing the Shop function that i missed the homepage. Yeah work for tomorrow.
-
poor antti yeah but I agree with you, very annoying.