-
Posts
108 -
Joined
-
Last visited
-
Days Won
3
Everything posted by Alexander
-
Hi Everyone, Today I am delighted to share my new product that we have created with Processwire. It's a verification system, that binds together a physical address with website. I’m using Processwire nearly from the beginning and I still believe that it is one of the greatest open-source platforms that exist. Being thankful I’m pleased to provide the service of Verikey verification to the Processwire community (and websites that you did) for free. Forever. Visit verikey.com Gift code: ###### (please, request by direct message) Feedback and questions are really appreciated. Many thanks my Mom, @ryan, @soma, @adrian and all Processwire contributors. Cheers, Alexander UPD: While subscription Stripe requires a valid bank card details. It’s a formality by Stripe for all subscriptions. The Verikey service remains 100% free and out of charge with the provided voucher code.
- 14 replies
-
- 19
-
-
@adrian, Let's leave this for the next week when my colleague, who take care about front-end come back from vacation. And now I know that @adrian @apeisa not mirrored nicknames or same person
-
Dear Adrian, thank you for reply. I use Rename on Save because I need it for API (for front-end photos uploading). For this moment more than 100 pages affected, so I make copy from old backup and now copy each files back to actual server. (every page have 10-20 photos, so it's long story But I realise moment, when all this happened. I use this code to make changes for page field (I mean, field type page): $chalets = wire('pages')->find("template=chalet, chalet_dining.id=13664, include=all"); foreach ($chalets as $page) { $page->of( false ); $page->set("chalet_dining", 13668); wire( 'pages' )->save( $page ); $page->of( true ); echo $page->title; } After that all images on server get new names, but in database they still with previous file names. And I wish you good luck with new Padloper!
-
Hi @adrian, I have another strange issue. Some of images has new file name on the server but old name on the page. Maybe you have an idea why it can be happens and how is possible to solve this?
-
PW dev and CUN last versions.
-
@adrian My settings: Enable fields -> images, Filename format: site-{$page->name}, Rename on save is ON. If page->name = 'high-7' I lost one of file every save. I fix it with: site-{$page->name}-### Now everything except lightning.pw works fine. After submit new password on https://lightning.pw/login/change_password I get Safari can’t open the page “https://lightning.pw/login/change_password” because the server unexpectedly dropped the connection. This sometimes occurs when the server is busy. Thanks for your help!
-
Dear Adrian, I have strange issue with pages which have numbers and hyphens in $page->name (ex. foret-17). Each save one of pictures becomes empty with error "file cannot be displayed". That mean, if I save page 10 times it lost 10 images. After changing page name everything working fine.
-
MAYDAY MAYDAY MAYDAY Hey Everyone, I'm looking how to send notifications about comment to user that created the page. Actually, I found piece of code FieldtypeComments.module:664 $f->addOption(self::notificationCreated, $this->_('Send notifications to user that created the page')); but its commented and not working. Maybe it possible to make it like "created_user_id:email" in admin notification settings or something like that? Thanks for any help.
-
Dear all, I can't find any explanation how to change "E-Mail Notifications" from Off to Replies by default. Any ideas? I found solution from Ryan which works perfect for me. include("./MyCommentForm.php"); $form = new MyCommentForm($page, $page->comments); echo $form->render();
-
And make sure, that you checked "Should page URLs end with a slash? Yes" in your Logout template.
-
@tuxy Make sure that you put right URL to your logout page in "<a href='/logout'>". I recommend you to use ProcessWire API to get right URL. <?php echo "<a href='" . $pages->get("id=33977")->url . "?redirect=$page->id". "'>Logout</a>"; ?> 33977 change to your logout ID page. If you don't know how to find page ID just try to edit that page and get it from url /page/edit/?id=33977 ?redirect=1 probably mean that you try to to logout from homepage, which always have ID=1.
-
@mr-fan Fastest gun in Bavaria. You post login, not logout code and "/somewhere/" never redirect you to the same page.
-
It's easy Add to any page if ($user->isLoggedin()){ //get link with current page id echo "<a href='/logout" . "?redirect=$page->id" . "'>Logout</a>"; } To logout.php <?php //get page id from input $redirect = $sanitizer->name(wire('input')->get->redirect); //get url from page id $url = $pages->get($redirect)->url; if($user->isLoggedin()) $session->logout(); $session->redirect($url); ?>
-
@peterknight I'm just wondering why you not publish real IP? Maybe something wrong with https?
-
@nghi With ListerPro module you can make as many presets for search as you want. Like that:
- 1 reply
-
- 3
-
-
@kongondo @netcarver @einsteinsboi Is it possible, that something was changed for this module in last PW dev? I use PW 2.5.15 and have strange issue. When I try to edit page I get page witch pointed in "redirect restrict user to" on top of normal edit page. Like: <code of "redirect restrict user to page"> <code of normal page edit page>
-
See ProcessWire Latest Forum Posts in Terminal
Alexander replied to Gayan Virajith's topic in Dev Talk
Back to BBS. I like that!- 1 reply
-
- 1
-
-
- terminal
- forum posts
-
(and 1 more)
Tagged with:
-
@LostKobrakai You using in "show this field only if" with something like "roles=1011" and this is working for you?
-
@toothpaste Nice website, but please, think twice about "wet floor" under logotype. It's looks like visual noise and you can use that place for better positioning of your logotype. For sure it's only my personal viewpoint.
-
@adrian, This is awesome, thank you!
-
Maybe someone know how forbid access to edit page if user not author of page. Like deny access for edit if created_users_id != this->user. Thanks!
-
@Guy Verville, I played a lot with Shop-for-Processwire with PW 2.5.7 dev without any issues.
-
How to convince old client to swith from EE to PW?
Alexander replied to OrganizedFellow's topic in Pub
@OrganizedFellow, maybe you will be able to explain real benefits for business owner like (just for example) better ranking by google, because PW is faster and can be easy adapted for SEO or unreal benefits, like unicorn inhabit inside PW. -
Wow! Actual it's look little bit different. Chalet ARepeater 1Arrival=2014-09-13 Booked=1 Repeater 2Arrival=2014-09-20 Booked=0 Chalet BRepeater 1Arrival=2014-09-14 Booked=0 Repeater 2Arrival=2014-09-21 Booked=0 When searched with dates 2014-09-13 | 2014-09-14 I want to return only Chalet B because it's not booked. More than, if forget about booked=0 and use this code it's take around 7 seconds. $selector = "template=chalet, clndr.arrival={$dates}|{$todate}"; If use search without repeater for normal fields like checkbox, it works as normal. So, I'm thinking maybe it's better to made hidden copy of all repeaters line to checkboxes like 20140921=0, 20140921=1 and use them for searching.
-
Sfrosman, thank you for trying. This selector returns all chalets with selected dates in repeater and some of booked=0. Another words, it's not possible to use this selector to check booked exactly selected dates or not.