-
Posts
1,360 -
Joined
-
Last visited
-
Days Won
49
Everything posted by flydev
-
Importing pages and empting trash incredibly slow...
flydev replied to NorbertH's topic in General Support
Not helping here but just saying, I imported recently more than 800k pages, it took about 16 hours ✌️ I can't remember how much pages I deleted from the trash, but it took the night.. -
@pout check this answer :
-
@Krlos You can echo a link to the external file like that (I might not understood all the issue...) : echo $user->profile_contract->first()->filename; To offer a download to your client, check this tutorial and adapt it for your needs (credit: @jmartsch) : https://jensmartsch.de/blog/simple-file-downloads-with-processwire/
-
You could add the link with jQuery. select your DOM (input: some_link) element append the link to the previous selected element: $('#some_link').append('<a href="#" id="view-link">view</a>') use the click event to open the url : $('#view-link').on('click', function(e) { window.open($('#some_link').val(), '_blank'); }); something like that...
-
You should add this module to the modules directory , it rocks ?
-
Concretely, what is the downside to have a lot of fields ? In a setup I have 12 templates and 56 fields (not optimized) and reading the link given by @bernhard I fear your answer now ?
-
LoginRegister Module - Hook for admin notifications
flydev replied to JayGee's topic in Modules/Plugins
Hi, replace the $notificationMsg->send(...) call by $notificationMsg->mail(...) if you use WireMailSmtp module. or read how to send an email there: https://github.com/processwire/processwire/blob/dev/wire/core/WireMail.php#L13-L46 -
Just a suggestion, as @wbmnfktr said, you should limit the size for the video on client editing. Then give them a note that they have to use **a video converter from a web service** prior to upload the video to the backend. With https://clipchamp.com/en/products/utilities your video can be reduced from 72MB to 15MB with a really decent quality. Settings are : Preset: Web Resolution: 720p Format: mp4 Quality: Medium You should give a try ✌️ ps: I am not affiliated with them but there are a free plan. Mods, feel free to remove the link..
-
-
Repeater field images not showing on production server
flydev replied to Xonox's topic in General Support
You could try that... "ça ne mange pas de pain" -
Repeater field images not showing on production server
flydev replied to Xonox's topic in General Support
Which page as example won't get the image on the production site ? Checking kal**s**l.com on a incognito mode I can't see one issue ? -
Repeater field images not showing on production server
flydev replied to Xonox's topic in General Support
And what tell the server logs ? does it show something ? (apache/nginx/php logs) On the browser dev console, can you see which server response you are getting ? 200, 404, 500 ? Edit/PS: I suggest you to install TracyDebugger asap -
@cjx2240 download and install the plugin in the site/modules/InputfieldCKEditor/plugins directory in the field settings, on the Input tab, section plugins, check pastefromword in the CKEditor settings > CKEditor Toolbar, add PasteFromWord save your field
-
Make that optional in module config, I personally prefer to click ?
- 79 replies
-
- 3
-
- breadcrumbs
- admin
-
(and 2 more)
Tagged with:
-
- 79 replies
-
- 2
-
- breadcrumbs
- admin
-
(and 2 more)
Tagged with:
-
I think I am not wrong saying that actually its not the same request. On the first time you are calling find() on a PageArray and in the second time, find() on a Page object. $allPlayers is now a PageArray and contain only pages with the ~history~ template. When you call find() on a PageArray, you are searching for pages matching your selector that are actually in the PageArray (their children are not in this array!) and that why you get a result of 0 page found. Try to call $allPlayers->children("template=event") on the PageArray to get an imploded IDs string of all the children of the pages that are in the PageArray. Here you are calling find() on a Page object. When you call find() on a Page object, you are searching Pages anywhere below this page object (children, grandchildren, etc.) that are matching the selector.
-
Are you sure that all Padloper's modules come from the PW3 Github branch and are namespaced as you say ?? You should double check your modules's files and templates using those modules.. It has nothing to do with ProcessWire's core. The robustness of ProcessWire can be broken by third-party module! or I want to say, the developer itself! thats all ✌️ Edit: Also, AIOM+ look not officially supported for PW3, and it look like issues can happen depending the PHP version you are using. Consider using @ryan new version of ProCache. More infos there:
-
Shared host has updated PHP? and broken PW site
flydev replied to antknight's topic in General Support
Ok then go to Software/Services section of the cPanel home screen, click Select PHP Version and select the version you want (you should use the last stable release). For the extension (you need to enable pdo_mysql extension here), it should be located in PHP Settings or something like that. Please refer to your host's online documentation. -
Shared host has updated PHP? and broken PW site
flydev replied to antknight's topic in General Support
Hi, looking at the phpinfo, there is not a PDO extension loaded. Ensure that the required extension are loaded - locate and check the php.ini for the following extension and uncomment it if needed : ;extension=pdo_mysql.so Updating this file or enabling an extension can be done in different way, please give us more info about the host (server managed by a Panel ? lamp on vps/ssh, etc). Also, as the hosting provider updated their configuration, you could check if everything required by ProcessWire is installed/loaded by running the first step of this file : Download https://github.com/flydev-fr/Duplicator/blob/master/Deploy/installer.php Upload the file on the root directory Navigate to http://yourwebsite.foo/installer.php Click on "Get Started" and check the "Step #1 - Compatibility Check" result -
Nice job @Noel Boss ! Already adopted, modified & installed ! I just tweaked it to get a Google look (controls), removed the transparency on dropdown and reversed the fonts and notes.
-
How to optimize the admin panel which has large number of pages
flydev replied to Mirza's topic in General Support
@Mirza Did you setup the PHP-FPM status page to grab more informations ? It can return a lot of info using the full report- 8 replies
-
- 2
-
- optimize admin panel
- performance issue
-
(and 1 more)
Tagged with:
-
Work in progress modules Subscribers / WireMailChimp
flydev replied to benbyf's topic in Module/Plugin Development
@alexmercenary did you saw this module made by @daniels and this thread ?- 18 replies
-
- users
- subscribers
-
(and 1 more)
Tagged with:
-
bump, tried a better explanation, I hope its more clear now..
-
Sublime PW - a Styleshout template based site profile
flydev replied to wbmnfktr's topic in Themes and Profiles
ok then check if your new template is in the allowed page (template) in the sections field options (go to Setup > Fields > sections then Input tab)