Jump to content

Pavel Radvan

Members
  • Posts

    50
  • Joined

  • Last visited

Everything posted by Pavel Radvan

  1. Hi. Thanks for answer. I have another project which is based on PHP 8.3 and I think there is no warning in vscode... Regarding version and updates I am little bit confused with this: Screenshot from PW module repository: Screenshot from github: Which is right ? github or pw in date of updated ? Is module on pw repository same with content or on github...?
  2. Hi. Your module is super and backups are working nice. I have there error from VSCODE which is showing this: ${} string interpolation' is deprecated since PHP 8.2 It is in this file: \site\modules\Duplicator\Classes\ClientAmazonS3.php Also there is date of update module on PW directory 2024/05/14 and I have version 1.5.2 which is latest but not from 14yh May this year... Is the date of development version or where I could get actual version? Is that error in new version solved ? Thank you
  3. Hi. Thank you. I hope this evening try it. If there will be some problem I will let you know...
  4. Hi. Thanks very much. I will test it and let you know
  5. Thanks very much for reply and I have to explain current situation more. I am sorry but mys system is in my language (Czech), but I think it is clearly visible in pictures how are fields and IDs. I have imported data from Access in form of CSV trable files. This import was done always from one table to one page to create lots of children pages. I could as ne example of data take table with one type contracts named "ks-hlavicka" which is table of contracts (chidren pages) and details (head of contract) and products table is named "ks-old-pol" (also children pages). Each of those tables have numeric field "id_hlavicka_ks" with label ID hlavičky KS or ID hl KS. Here are screenshots from admin (backend): Contract: Product item: As you could see there is same ID in both pages. This is actual current situation. There is not page reference field yet in those pages - I need to know how to prepare it to template for scripts or guides or by your advice... On Frontend I could use API of PW to show content by ID but I would like to have interconnected pages also visible in admin (backend). What I want is to achieve this - it is example of created contract on another page with products items linked in page reference field: Same functionality I would like to have same for product also with connected customers(also they have IDs) which are on contracts. But after I will have some script or guide to link products I think other connected data could be handled by same way. Here are screenshots of templates for contract (ks_hlavicka) and product item (ks_polozka_old): Does this helped to you to understand ? Let me know how you think is possible to make that interlinked connections. Thanks Pavel
  6. Yes. There is imported lots of pages of product items (products) with "contract head ID". Same "contract head ID" is also on pages which are contracts. I am using pages->find and pages->get and other function on frontend to show them by this ID - so it now all works on frontend. But when I click to edit product in backend it shows only current product without link to contract there. So reason for this is to have editable contracts in backend and with already selected products(multiple) in page reference field of specific contract. When I create now in PW new contract I could select by page reference field multiple products - but I do not want to do it manually for next several thousands of contracts... I hope this is understandable for you...
  7. I have more explored your script. I do not have array of products IDs. I have products as pages already in PW and each of this product has numeric field with its ID. Is it possible to link all those pages(they have main parent page("products") by this script with corresponding pages by same contract ID ?
  8. Thank you very much and I will try it. I will let you know how it worked.
  9. Hi. Thanks for help and you understand well. I can clarify that numeric field (ID) is saved on both contract and product page. I would appreciate to have some script to handle links.
  10. I have quite specific question. I am working on app in processwire which Is for contract and product management. I have already quite lots of pages with imported data. I need to establish link for page(contract) which should be connected with multiple pages (products). Imported data have same numeric field on contract template and also on product template. This field is not a name or title of page. Now is all achievable on fronted where is possible to prepare markup with selected data. But I need to have this connected in backend(admin) - is possible to connect fields between pages 1:n from already created data? Reason for this is to have option to edit connected data in backend ... I would appreciate any advice. Anybody know how to do this?
  11. I uninstalled and also updated my server. Now is module installed again and it seems it is ok. Thanks for support
  12. OK. I have found but do not have that TraceApiData.proceduralFunctions: Should I set some settings on or off?
  13. Hi. Where is possible to have this panel you sent screenshot ? I cannot find which panel it is ... Here is screen from my panel config of tracy: How to see that you posted? Thanks Pavel
  14. Thanks for reply. I installed php-tokenizer extension and now there is another error : ErrorException: Undefined array key "pwFunctions" in /usr/local/www/apache24/data/site/assets/cache/FileCompiler/site/modules/TracyDebugger/includes/PwApiData.php:25 Stack trace: #0 /usr/local/www/apache24/data/site/assets/cache/FileCompiler/site/modules/TracyDebugger/includes/PwApiData.php(25): Tracy\Bar->Tracy\{closure}(2, '...', '...', 25) #1 /usr/local/www/apache24/data/site/assets/cache/FileCompiler/site/modules/TracyDebugger/TracyDebugger.module.php(3082): TracyPwApiData->getApiData('...') #2 /usr/local/www/apache24/data/site/assets/cache/FileCompiler/site/modules/TracyDebugger/panels/ConsolePanel.php(154): TracyDebugger::getApiData('...') #3 /usr/local/www/apache24/data/site/assets/cache/FileCompiler/site/modules/TracyDebugger/tracy-2.10.x/src/Tracy/Bar/Bar.php(143): ConsolePanel->getPanel() #4 /usr/local/www/apache24/data/site/assets/cache/FileCompiler/site/modules/TracyDebugger/tracy-2.10.x/src/Tracy/Bar/Bar.php(115): Tracy\Bar->renderPanels('') #5 /usr/local/www/apache24/data/site/assets/cache/FileCompiler/site/modules/TracyDebugger/tracy-2.10.x/src/Tracy/Bar/Bar.php(89): Tracy\Bar->renderPartial('...') #6 /usr/local/www/apache24/data/site/modules/TracyDebugger/tracy-2.10.x/src/Tracy/Debugger/DevelopmentStrategy.php(123): Tracy\Bar->render(Object(Tracy\DeferredContent)) #7 /usr/local/www/apache24/data/site/assets/cache/FileCompiler/site/modules/TracyDebugger/tracy-2.10.x/src/Tracy/Debugger/Debugger.php(319): Tracy\DevelopmentStrategy->renderBar() #8 [internal function]: Tracy\Debugger::shutdownHandler() #9 {main} My server is on FreeBSD 14, PHP 8.3, MySQL81 pwFunctions should be defined somewhere?
  15. Hi. I have from Tracy some strange error : Error: Call to undefined function token_get_all() in /usr/local/www/apache24/data/site/assets/cache/FileCompiler/site/modules/TracyDebugger/includes/PwApiData.php:337 Stack trace: #0 /usr/local/www/apache24/data/site/assets/cache/FileCompiler/site/modules/TracyDebugger/includes/PwApiData.php(118): TracyPwApiData->getFunctionsInFile('...') #1 /usr/local/www/apache24/data/site/assets/cache/FileCompiler/site/modules/TracyDebugger/includes/PwApiData.php(25): TracyPwApiData->getProceduralFunctions('...') #2 /usr/local/www/apache24/data/site/assets/cache/FileCompiler/site/modules/TracyDebugger/TracyDebugger.module.php(3082): TracyPwApiData->getApiData('...') #3 /usr/local/www/apache24/data/site/assets/cache/FileCompiler/site/modules/TracyDebugger/panels/ConsolePanel.php(154): TracyDebugger::getApiData('...') #4 /usr/local/www/apache24/data/site/assets/cache/FileCompiler/site/modules/TracyDebugger/tracy-2.10.x/src/Tracy/Bar/Bar.php(143): ConsolePanel->getPanel() #5 /usr/local/www/apache24/data/site/assets/cache/FileCompiler/site/modules/TracyDebugger/tracy-2.10.x/src/Tracy/Bar/Bar.php(115): Tracy\Bar->renderPanels('') #6 /usr/local/www/apache24/data/site/assets/cache/FileCompiler/site/modules/TracyDebugger/tracy-2.10.x/src/Tracy/Bar/Bar.php(89): Tracy\Bar->renderPartial('...') #7 /usr/local/www/apache24/data/site/modules/TracyDebugger/tracy-2.10.x/src/Tracy/Debugger/DevelopmentStrategy.php(123): Tracy\Bar->render(Object(Tracy\DeferredContent)) #8 /usr/local/www/apache24/data/site/assets/cache/FileCompiler/site/modules/TracyDebugger/tracy-2.10.x/src/Tracy/Debugger/Debugger.php(319): Tracy\DevelopmentStrategy->renderBar() #9 [internal function]: Tracy\Debugger::shutdownHandler() #10 {main} How to solve this ? Thanks for answer. Pavel
  16. OK. Thanks for notice. I will try to find some logs. I wanted to just try your module. I will use Form Builder from Ryan, but your module also appears interesting.
  17. Hi. Thanks for you answer. I did not have any chance to do more, because whole system had problem immediately after installation. After I clicked on settings of your module, it was after few moments stuck in loading and loading...... So after circa 10 minutes I canceled all and restarted mysql and apache + php. Then after login to administration of PW it happened again... So finally I had to restart whole HW I had to check configuration of mysql and reinstall it because there was some strange damage to its install... In logs was only that MySQL shutted down and no extra info more... What do you think of it ? Pavel
  18. Hi. Today I installed your module on latest DEV PW HW is FreeBSD14, PHP 8.3.1(PHP-FPM), MySQL8.1, 32GB RAM, 8-core CPU After install of your module RAM of server was suddenly from 10% to 95% and whole system was unstable. Do you have any problems with your module like this ? Is PHP 8.3.1 supported ? Thanks for answer Pavel
  19. Hi. I really like this options in date ranges. I do not know if my question is right, but I will explain here, so it will be nice to have some info from your if what I want is possible. I have customer with restaurant and he has from me whole site and I used Form Builder Pro from Ryan for reservations. That customer has requirement to disable specific days which are visible in data picker. For example he wants to disable every Sundays and Mondays and some public holidays. On these days his restaurant is closed and thus not available for reservations. Is it possible with that new Date ranges ? What do you think ? Thanks for answer
  20. Thanks for your answer and explanation. I certainly will use PW and now I clearly know that your modules are also very usable in my project.
  21. Hi. Thanks very much for your answer. Tools your writing are interesting, but application I want is not only for searching in database. I do not have vast experience with PW, but I have several sites built with it and I have to say it is wonderfull system. For me it is decided selection.
  22. Thanks for quick answer. I would like to know what you could recommend for my current project. For right answer I have to explain situation: I am working on customer request to have some app for managing his business contracts and assets. His is doing business with antiquities - so he is receiving valuable items from customers and offers them for sale. Mainly these items are jewellery, art and other antiquities (lots of them). Now he is using very old Windows app based on very old MS Access db. This old app has db with all of his current and old contracts inf form of interconnected tables and also links to tons of images of items (antiquities). So for one contract there could be several connected images. To this day there are lots of images (around 50 000 jpeg/png..) and lots of data in app. This app is not good now for his needs. It takes very long to search anything and also working with images and data is not good.. I decided that I could use PW for his app. And now my questions: Is better to use PW with your modules for import data from that Windows app or is better to use some import module like ImportPagesCSV, link: https://processwire.com/modules/table-csv-import-export/ ? Which other modules would you recommend ? Thanks for your answer. Pavel Radvan
  23. Hi. Nice module. Is possible to use this module to import data to PW ? As it is named "Migrations" it could migrate data (from xml/csv...or other) to PW - could it be done with it?
  24. Hi. I am sorry I did not get to you earlier. Thank you very much for reply. Regarding your answers and questions : Customer is not doing cross selling, he just sell antiquities and lots of his clients just bring something (old ring for example) to sell to him for money or other commodities. So my customer buy this from his client and then usually he put it on eshop to sell. This is just explaining of business of my customer - it is not intended to be incorporated in eshop. It is very simple for him to create new product and make it available on eshop. Every product of his eshop is unique, because there are no new products, only used, returned, old and ancient pieces... Challenges which customer has to solve - problems with current state of PS - it is so modified it is not easy to upgrade and also use it as good platform in future. Sometimes happen that his clients cannot login to system or cannot use basket or mailing is not delivering messages. There is not much user friendly to adjust something from customer side - like some blog posts, integration of instagram, facebook and others...there are also marketing campaigns on facebook and there is not easy to use PS as eshop as should be working... It is very nice you have padloper already with paypal integrated... It could be very nice to have some more options from you to have that custom code for that product reservation system - it something like a booking system in hotel - just to have option to reserve product before buying and to decide later. But is is usually with some more options - like a possible discount or another details. So from my point of view it could be very valuable to discuss this further. What do you need to know about whole system to have some good understanding of this project? Pavel
  25. Hi. I would like to use padloper + PW for my customer to replace prestashop which is his current eshop platform. It is shop with antique objects(atrs, rings, jewellery, pcitures ....) and is selling lots of products. Since it is selling of antiquities there is usually also normal situation of purchasing products from customer's clients to resell them. Shop is now integrated with paypal platform for card payments and is offering to clients to buy even without registration, which is required in our country and also by EU laws. Prestashop as system is used by customer quite long time and I inherited it with a lots of adjustments and modifications from other developers and it is not in good state. Last two years I keep it working but it is not possible to upgrade it easy and without problems. Customer has virtual hosted server dedicated mainly to e-shop platform. About 2 months ago customer and his team tried to make some survey about what to do next with current system and there is no good solution for him to fulfill all needs. Big game changer and also challenge for competitive systems is reservation system which is offering to clients option to reserve certain product for specific period (days/weeks/months). This time is configurable in backend with also other parameters. Reservation system also maintains some queue of people with respective order. When first client who made reservation decide to cancel it, there is option for next client in queue to make reservation. Every client who want to reserve products has to register in system to have in his profile page details and information about reservations. Reservation system is also sending mails to customers with notify of ending of client reservation. I checked demo site https://demo.kongondo.com/ of padloper and it is quite interesting. Do you think is possible to have solution based on ProcessWire and Padloper?
×
×
  • Create New...