-
Posts
1,360 -
Joined
-
Last visited
-
Days Won
49
Everything posted by flydev
-
Blocked by X-Frame-Options Policy error for youtube emebed
flydev replied to JeevanisM's topic in Getting Started
@JeevanisM Look like you use the wrong youtube URL. Try to see how is composed your URL and then be sure that you link youtube's video with the /embed endpoint as it allow cross origin request. Check : bad: https://www.youtube.com/watch?v=kSLhay7msTI gud: https://www.youtube.com/embed/kSLhay7msTI -
Hi @Ralf, sorry for the delay. Instead of checking for the $input->post->submit, you should check if the response from the ReCaptcha is green. So, instead of : // form was submitted so we process the form if($input->post->submit) { // Do cool stuff here <<<<-------- I cannot get in here } Do : // form was submitted so we process the form if($captcha->verifyResponse() === true) { // Do cool stuff here <<<<-------- you will get here now } Also, try to call the getScript() method on the end of your main markup page. I mean, just before the </body></html> tags. And to avoid calling the module every page request, you can for exemple, check if the current page's template is the contact one and then call the module's getScript() method : <html> <head> </head> <body> ... <!-- other tiers scripts exemple --> <script src="jquery.js"></script> <script src="anotherscript.js"></script> <?php if($page->template->name === 'contact-tpl') { // google recaptcha required script echo $modules->get("MarkupGoogleRecaptcha")->getScript(); } ?> </body> </html> Ping me if you need further help.
-
Interesting, on my side for every project, it's : TracyDebugger because coding without it it's like masochism AutocompleteModuleClassName super-man backend module BreadcrumbDropdowns super-man backend module VersionControl for versioning page's content Migrations to keep control between dev and prod sites Duplicator for backups and migrations @JeevanisM you should give a try to the last one ???
- 10 replies
-
- 11
-
Hi @SeriousUser OK, the core ship what's needed FormBuilder again FormBuilder SEOMaestro MediaManager RepeaterMatrix ProCache Backup it with Duplicator ? Thanks, you too ??
-
I am sure you need some knowledges to make something nice without spending a buck in an already built-in theme. Stable ? for a vanilla blog, the core might be green depending the version, the plugins eco-system is red. Intuitive ? ... Booooooo to me, I fall into a troll ! ?
-
@---Lukas--- You might need to adjust the condition here (read below) or add another check just after (checking if pages are hidden) if ($child->numChildren && count($child->parents) == 1) { or you can use count($child->children) as it should exclude all your hidden pages. `numChildren()` include hidden pages. if (count($child->children) && count($child->parents) == 1) { try it ?
-
Hi @eydun I can definitely give an option to exclude the database dump (> in the todo list) . Anyway, can we know the details and type of the hosting server ? On my side, I can backup a ~4GB database, but it's a windows server that I configured myself (still on Apache). @huseyin any news ? could you achieve what you was looking for by choosing the database name in the installer ?
-
Considered @Robin S I also have a bad connection (working with a 4G router) and it's definitely a good feature request. I will try to implement it asap, but I would like to release first the module with the native backup feature but I lack time. I will try to do my best. Thanks for the link @bernhard Thanks again guys, I hope you're all fine here ??
-
Okay - then if you have some feedback from the sys admin, let us know if possible, thanks ?
-
Hi @Sevarf2 Can you make a screenshot of the Step #1 et #2 please ? And FYI I also used the Duplicator installer on IIS without issue.
-
@catslave if you want to get rid of the images and use only the background-image property, then you have to add this CSS code : https://github.com/flydev-fr/site-pwbs4/blob/master/assets/static/css/main.css#L38-L44 .carousel-item-fluid { width: 100%; height: 550px; background-position: center; background-size: cover; background-repeat: no-repeat; }
-
@B3ta I don't have the same code on this line 32, look at the repo there : https://github.com/flydev-fr/Duplicator/blob/v1.3.14/Classes/DupLogs.php#L32 I tested Dropbox before posting and its working (even if it look like there is a small issue with the timestamp). FYI, the latest version is 1.3.14 and you should update your Duplicator I think, let me know ?
-
Hi, the code on Github was updated recently to work with the latest Bootstrap 4 release, that might be the reason. If you see the carousel in rendered HTML code, then you should try to play with the developer console and the display, with, height css properties. Also, if you want to compare the generated markup, then here you go (in my example, there is 3 images on a images field : <div id="carousel-144" class="carousel slide shadow" data-ride="carousel"> <ol class="carousel-indicators"> <li data-target="#carousel-144" data-slide-to="0" class="active"></li> <li data-target="#carousel-144" data-slide-to="1" class=""></li> <li data-target="#carousel-144" data-slide-to="2" class=""></li> </ol> <div class="carousel-inner rounded" role="listbox"> <div class="carousel-item carousel-item-fluid active" style="background-image: url(/site/assets/files/1/om-psg_cf_finale-2_1.1600x550.jpg);"> <!--<img src='/site/assets/files/1/om-psg_cf_finale-2_1.1600x550.jpg' alt='' width='1600' height ='550'>--> </div> <div class="carousel-item carousel-item-fluid" style="background-image: url(/site/assets/files/1/pressesports_2013828_foot_031-1920x768_1.1600x550.jpg);"> <!--<img src='/site/assets/files/1/pressesports_2013828_foot_031-1920x768_1.1600x550.jpg' alt='' width='1600' height ='550'>--> </div> <div class="carousel-item carousel-item-fluid" style="background-image: url(/site/assets/files/1/22254435-25040490_1.1600x550.jpg);"> <!--<img src='/site/assets/files/1/22254435-25040490_1.1600x550.jpg' alt='' width='1600' height ='550'>--> </div> </div> <a class="carousel-control-prev" href="#carousel-144" role="button" data-slide="prev"> <span class="carousel-control-prev-icon" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <a class="carousel-control-next" href="#carousel-144" role="button" data-slide="next"> <span class="carousel-control-next-icon" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div>
-
Hi @B3ta I had too much work this week so its planned for the next tuesday. Can you upload again the screenshot please ? I can't see it. Thanks you.
-
HI @saschapi Thanks for reporting this issue, I also noticed it and fixed it in the dev version. The next stable version (which come with native backups) should be pushed next week. Just make a scheduled task which point to the CRON Duplicator's helper file. If you need further help, just ask it here ? Hello @shogun , I have the same requirement and I am using what @d'Hinnisdaël suggested. I use Migration with a self made GUI and Duplicator for daily backups.
-
I remember this thread too : https://processwire.com/talk/topic/17862-share-your-ckeditor-settings/
-
Exception SQLSTATE[HY000] [2002], SSL encryped database connections
flydev replied to Lutz's topic in General Support
I think that your connection settings are wrong. You should triple check it. I don't know how the DigitalOcean cluster work, but I must assume that the host is different that localhost or 127.0.0.1. Also, are you sure you configured the right port number (if different in a cluster config) ? The error message must indicate that something is misconfigured. In the case it was your credentials that was wrong, you will must get a Connection Refused error not a timeout. (not sure how to formulate this last sentence ?) -
Custom Page Type...findOne() not implemented?
flydev replied to J_Szwarga's topic in API & Templates
And simply using $this->pages->findOne() inside Events can't do the job ? As PagesType extends Wire, it should be available as $events->pages->findOne() -
For storing emoji, utf8mb4 is required as each emoji consist of four bytes in UTF-8 and you cannot store them using MySQL utf8 implementation as it can only symbols that consist of one to three bytes.
-
You could check in first instance the mysql server settings and adjust them in the config file my.cnf : [client] default-character-set = utf8mb4 [mysql] default-character-set = utf8mb4 [mysqld] character-set-server = utf8mb4 collation-server = utf8mb4_unicode_ci character-set-client-handshake = FALSE Then restart the server and try to save a page with an emoji.
-
No problem, as Andreas said, everything you requested is already implemented. If you have other features in mind, do not hesitate guys ? Also, with the next version, you will be able to backup the big site with Duplicator. I can make backup of a 1.6GO website without issue. It can be already tested - it's on the dev branch on Github.
-
-
I fixed the issue (thanks for reporting it) so you could access the process module again, but I don't have idea at this moment where is or what's the error. Could you try to make others AWS backups with different website and post the result ? Meanwhile I will re-read the code to see if I can catch something.
-
Hello, Just ideas, Have you tried to access the new deployed website in a incognito browser window, clearing cache and cookies ? If yes then did you compared the .htaccess on both host and the settings (webserver/php/cache settings) ?