-
Posts
1,366 -
Joined
-
Last visited
-
Days Won
49
Everything posted by flydev
-
That's a good question! When I developed this module I didn't had FormBuilder in hand. Now that I have a copy of this module, I will try to see if it works out of the box tomorrow. Stay tuned !
-
Hi and sorry guys for the late answer, I will take a look tomorrow and will try to answer you both!
-
Look like there is still a problem with your .htaccess or as @kongondo said, a language issue. Is your website a multi-language one ? What happen if you activate the .htaccess directive RewriteBase / ? # ----------------------------------------------------------------------------------------------- # 11. OPTIONAL: Set a rewrite base if rewrites aren't working properly on your server. # And if your site directory starts with a "~" you will most likely have to use this. # ----------------------------------------------------------------------------------------------- RewriteBase / # RewriteBase /pw/ # RewriteBase /~user/
-
I would go with a custom module to give ability to your administrators to insert/remove/update the potentials users which ares stored in the pages tree. If the people pages list is very large, it is not a problem, you will end up with a paginated pages tree, and you will have the ability to find easily those users (pages) from the search case or even the Pages > Find menu. You can also write a small Process module to manage those pages with a datatable, rockgrid or whatever you would like to use. - Reading @kongondo's answer after writing I see that he already explained the idea. Check this thread. Simply build a template for "people" and import them as a pages. This make things a lot easier. Just build your Process module to manage those pages. You can have a working prototype at the end of the day with all the information found on this forum.
-
You need to enable php short tag in the php.ini file or add php to any tag < ? then clear the cache.
-
Hola, si quieres ayuda, tienes que saber que en este foro se habla ingles ? Intenta lo que sigue. ----------------------------- First install the module TracyDebugger. Then in the root folder of the website, create a file trash.php and write the following code inside this file : <?php namespace ProcessWire; include_once('./index.php'); set_error_handler(function($severity, $message, $file, $line) { if (error_reporting() & $severity) { throw new \ErrorException($message, 0, $severity, $file, $line); } }); wire('pages')->emptyTrash(); then navigate to http://yourwebsite.com/trash.php and check the logs.
-
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