-
Posts
396 -
Joined
-
Last visited
-
Days Won
3
Everything posted by Pixrael
-
I'm in big trouble, I'm almost finished a big project (about whole year of work) and now when I'm preparing it for production, I find that if I create a lot of pages in bulk, the site hangs until the transactions are finished. This is a webservice that imports information in background from third parties. I had always done the tests with little information, but now in real use it's a big problem because every time the script runs the whole site halt. The problem is when I start the project I leave the database Engine in MyISAM default setting without predicting the problem and now I need to change it to InnoDB, I already converted all the tables using the mysql ALTER TABLE command and add $config->dbEngine = 'InnoDB'; In site/config.php .. Now the site loads perfectly and the administration also, but when I try to save a new page occur an error of type: SQLSTATE [42000]: Syntax error or access violation: 1064 syntax error, unexpected '@', expecting $end .. inside the function "execute" in WireDatabasePDO.php What can I do to solve this? I really need to use InnoDB to be able to write to the DB without blocking the users!
-
Hi @Mats thanks for your module!.. very useful for quick blog posting or a lading page / blocks builder.. and will be perfect if integrate something like this https://glide.thephpleague.com/ ?
-
https://modules.processwire.com/modules/process-wire-upgrade/
- 2 replies
-
- update site
- update automatically
-
(and 1 more)
Tagged with:
-
This could be a block builder option? https://grapesjs.com/ https://github.com/artf/grapesjs Newsletter demo: https://grapesjs.com/demo-newsletter-editor.html Webpage demo: https://grapesjs.com/demo.html Usage: <link rel="stylesheet" href="path/to/grapes.min.css"> <script src="path/to/grapes.min.js"></script> <div id="gjs"></div> <script type="text/javascript"> var editor = grapesjs.init({ container : '#gjs', components: '<div class="txt-red">Hello world!</div>', style: '.txt-red{color: red}', }); </script> That's it.. I try it before, but I don't know how to build a module ?
-
If you have access to ProFields, it should be easier to use the Table field: https://processwire.com/store/pro-fields/table/
-
In the Items template you can use a Repeater field (Ingredients) with two or three fields: Ingredient (Page reference) + Quantity (Float) + Unit (Dropdown) .. for ml, mg, oz, etc.
-
I suggest you check this website that Ryan created to show the potential of PW, you can see the Frontend, the Backend and the source code on Github: https://processwire.com/about/demo/
-
A piece a cake! ?
-
Check this: https://github.com/blynx/TextformatterFunkyFunctions
-
Oh! ... put it here: https://processwire-recipes.com/about/contribute/
-
RockMigrations1 - Easy migrations from dev/staging to live server
Pixrael replied to bernhard's topic in Modules/Plugins
The Github Sponsors program is still in beta. We need to put a link for donations in each profile of the Developer Directory. -
Yes!.. here: https://processwire-recipes.com/
- 5 replies
-
- autoload
- namespaces
-
(and 2 more)
Tagged with:
-
Markup Regions pw vs data-pw different behavior
Pixrael replied to asbjorn's topic in API & Templates
I always use the Markup Regions, until now I haven't needed more complicated system in my projects. Roughly this is my standard configuration: _main.php <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Title</title> <link rel="stylesheet" href="..3rd_party_styles_1.css"> <link rel="stylesheet" href="..3rd_party_styles_2.css"> <pw-region id="styles_area"></pw-region><!--#styles_area--> <link rel="stylesheet" href="..my_main_style.css"> <pw-region id="head_area"></pw-region><!--#head_area--> </head> <body> <header> Header Content Here (regularly a file included) </header> <div class="container"> <pw-region id="content_area"></pw-region><!--#content_area--> </div> <footer> Footer Content Here (regularly a file included) </footer> <pw-region id="append_area"></pw-region><!--#append_area--> <script src="..3rd_party_scripts_1.js"></script> <script src="..3rd_party_scripts_2.js"></script> <pw-region id="scripts_area"></pw-region><!--#scripts_area--> <script src="..my_main_scripts.js"></script> </body> </html> template_file.php <?php namespace ProcessWire; $vars_or_arrays = "fill_some_vars_or_arrays_here"; ?> <pw-region id="styles_area"> <link rel="stylesheet" href="..3rd_party_styles_3.css"> <style> body { background: #F2F2F2 !important; } h2 { text-transform: uppercase !important; } .classA { background: red; } .classB { font-size: 2rem; } </style> </pw-region> <pw-region id="head_area"> <link rel="dns-prefetch" href="//example.com"> <link rel="preconnect" href="//example.com"> <link rel="prefetch" href="image.png"> </pw-region> <pw-region id="content_area"> Here render your page content from $page or using $pages, $vars_or_arrays, etc. </pw-region> <pw-region id="append_area"> <div class="modal"> <a href="#">close</a> <div class="modal_body"> Content of modal window </div> </div> </pw-region> <pw-region id="scripts_area"> <script src="..3rd_party_scripts_3.js"></script> <script> window.onload = function(event) { alert('Hello World!'); }; </script> </pw-region> Use the regions from the main layout as needed on each page, to add a modal window, run a javascript, add styles, etc. I always use <pw-region> because this element is removed from the final markup if it's not used in the template file. -
In your Formbuilder check the tab Actions for the form, there are an option to save the data to a page
-
https://timkadlec.com/remembers/2020-04-21-the-cost-of-javascript-frameworks/
-
https://timkadlec.com/remembers/2020-04-21-the-cost-of-javascript-frameworks/
- 10 replies
-
- javascript
- jquery
-
(and 1 more)
Tagged with:
-
Is it possible to create an advance eCommerce website?
Pixrael replied to Samk80's topic in Getting Started
Single person you said? .. humm.. Haven't you realized yet that Processwire itself is a one-person project ?! There are risks everywhere, many times (too many, I would say) a large software company, which you trust, is bought by a bigger one and they discontinue their products, sometimes they incorporate functionalities to other products (and you must purchase/subscribe again with higher price) or simply kill the product because they change their field of business. Other companies changes its functionalities against your own/pesonal desire and you have to conform or start to find another alternative, ex. The Wordpress change from the Text editor to the Block editor did not like many, but it remains there and that's it. We are not safe from anything, anywhere Think about it ?- 29 replies
-
- 1
-
- product configuration
- product filter
-
(and 1 more)
Tagged with:
-
Is it possible to create an advance eCommerce website?
Pixrael replied to Samk80's topic in Getting Started
In the Processwire world Padloper will be the right option (for safety you'll have access to the source code), @kongondo is working hard, and he is building a great piece of software, reproducing almost all Shopify functionality, but if you are in a hurry you can use the ones we have shown here, simply chose the one that best suits your needs.- 29 replies
-
- 1
-
- product configuration
- product filter
-
(and 1 more)
Tagged with:
-
Is it possible to create an advance eCommerce website?
Pixrael replied to Samk80's topic in Getting Started
Shopify Basic: $29/mo + Payment Gateway: 2.9% + 30¢ each sale Shopify Standard: $79/mo + Payment Gateway: 2.6% + 30¢ each sale Shopify Advance: $299/mo + Payment Gateway: 2.4% + 30¢ each sale Snipcart: 2% each sale + Payment Gateway: 2.9% + 30¢ each sale- 29 replies
-
- 1
-
- product configuration
- product filter
-
(and 1 more)
Tagged with:
-
Yes! the place that belongs to PW ?
-
How to use a page object representing an external link within CKE?
Pixrael replied to HerTha's topic in General Support
https://modules.processwire.com/modules/process-hanna-code/ https://modules.processwire.com/modules/hanna-code-dialog/ -
http://www.openwebanalytics.com/ ?!
-
Yes, for me it has worked as follows: I'm not brave and complex enough to go with Laravel, but I'm also not cowardly and simple enough to go with SquareSpace ? so Processwire fits me like a shoe ?