Pavel Radvan
Members-
Posts
71 -
Joined
-
Last visited
Everything posted by Pavel Radvan
-
Hi. I have latest version of PW and I have your module installed few days ago. That was version 1.1.0. Now when I check updates I see version 1.1.2. After download from PW and update it still shows 1.1.0 and that there is new version 1.1.2. I tried to download and install module manually, but it is always the same. Why is not PW recognizing update for your module?
-
RockIcons Backend Error after Upgrade of RockFrontend and Less modules
Pavel Radvan replied to gebeer's topic in RockFrontend
Thanks very much @bernhard I downloaded dev version, replaced in module folder and now all is ok 👍 -
RockIcons Backend Error after Upgrade of RockFrontend and Less modules
Pavel Radvan replied to gebeer's topic in RockFrontend
Hi. I have same issue. Will be there any update? -
Hi. I am using RockPDF module from Bernhard. I have request for creation of PDF document (several pages) which should have header and footer on every page but on one page it should be without them. So global need is to have header and footer and on specific page there should be some option to disable them in concept of single document. I found some info about htmlpageheader and htmlpagefooter in docs of mpdf but I think I will need to help with it... Another option is to have multiple PDF files created for one template page. One file with headers and footers and another file without... This I tried and I could not change hooks for it in ready.php right way... Could somebody help me with this ? Thanks for any advice..
-
Hi. I am sorry I am now quite busy with some project. I did not even updated your module ...I will try it on weekend. Thinks to check - there were no errors, template is named lpk-api. I am using SSL with certificate (wildcard) for my domain. When I tried login again I was asked for saving passkey from my password app which is Dashlane, when I did not accepted, Windows Hello popup appeared and then when I confirmed auth it created record in passkeys.. But again when I logged off and tried to login again and clicked on Login with passkey - nothing happened.. I will try on weekend more and let you know
-
Latest version is not showing any errors. I just need to explore settings more..I just enabled in backend and filled in what was required. Then I saw popout from my password manager to save passkey. I confirmed .. But when I wanted to login back I tried to use passkey, but nothing happened. So I think I will need some more configuration ? When I look in passkeys I do not see anything... How I could add passkey to my user - it is superuser admin of PW...???
-
Hi. So I could test it again ?
-
Not at all. So you could make some repair of it ? And yes..."pw" is name of db so table should be probably loginpasskey as you noticed For me it is quite good module, because in current days lots of systems recommends use of passkeys...
-
After checking of tablets - there is no table "loginpasskey" in my database which is named pw. So this could be that problem... After install of module is this error: After enabling passkey for admin: DOException #42S02 SQLSTATE[42S02]: Base table or view not found: 1146 Table 'pw.loginpasskey' doesn't exist search► File: .../dev.webantique.cz/wire/core/WireDatabasePDOStatement.php:168 Let me know what do you think.. Pavel
-
Since it is new install I do not have yet. I will install Tracy and also look in tables - I have webmin on machine so I could use its direct interface to admin MySQL. I will let you know
-
Hi. Thanks very much for your reply. I tried to donwload module and then upload it with changed file from you. Module is installed without errors, but there are still errors when I enable module and passkey for admin (my only user...): Deprecated: Passing E_USER_ERROR to trigger_error() is deprecated since 8.4, throw an exception or call exit with a string message instead in /usr/local/www/apache24/dev.webantique.cz/index.php on line 64 Hey now… Error: Exception: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'pw.loginpasskey' doesn't exist (in wire/core/WireDatabasePDOStatement.php line 168) #0 wire/core/WireDatabasePDOStatement.php (168): PDOStatement->execute() #1 wire/core/WireDatabasePDOStatement.php (148): WireDatabasePDOStatement->executeDebug() #2 site/modules/LoginPassKey/LoginPassKey.module (602): WireDatabasePDOStatement->execute() #3 site/modules/LoginPassKey/LoginPassKey.module (676): LoginPassKey->_getCredentialsFromDB() #4 site/modules/LoginPassKey/LoginPassKey.module (399): LoginPassKey->preRegisterUser() #5 wire/core/WireHooks.php (1099): LoginPassKey->registerAdmin() #6 wire/core/Wire.php (484): WireHooks->runHooks() #7 wire/modules/Process/ProcessPageView.module (193): Wire->__call() #8 wire/modules/Process/ProcessPageView.module (114): ProcessPageView->renderPage() #9 wire/core/Wire.php (416): ProcessPageView->___execute() #10 wire/core/WireHooks.php (998): Wire->_callMethod() #11 wire/core/Wire.php (484): WireHooks->runHooks() #12 index.php (55): Wire->__call() #13 {main} This error message was shown because: you are logged in as a Superuser. Error has been logged. Other error from admin menu is still showing about missing table.... I had to delete module and then remove from db ...that error was blocking me from access to admin...
-
Hi. I have fresh install of PW 3.0.248 (dev) and installed your module and after installing it showed this error: Fatal Error: Uncaught Error: Call to undefined function _() in site/modules/LoginPassKey/LoginPassKey.module:48 #0 wire/core/ModulesConfigs.php (588): LoginPassKey->getModuleConfigInputfields() #1 wire/core/Modules.php (1744): ModulesConfigs->getModuleConfigInputfields() #2 wire/core/Wire.php (419): Modules->___getModuleConfigInputfields() #3 wire/core/WireHooks.php (998): Wire->_callMethod() #4 wire/core/Wire.php (484): WireHooks->runHooks() #5 wire/modules/Process/ProcessModule/ProcessModule.module (1705): Wire->__call() #6 wire/modules/Process/ProcessModule/ProcessModule.module (1435): ProcessModule->renderEdit() #7 wire/core/Wire.php (413): ProcessModule->___executeEdit() #8 wire/core/WireHooks.php (998): Wire->_callMethod() #9 wire/core/Wire.php (484): WireHooks->runHooks() #10 wire/core/ProcessController.php (361): Wire->__call() #11 wire/core/Wire.php (413): ProcessController->___execute() #12 wire/core/WireHooks.php (998): Wire->_callMethod() #13 wire/core/Wire.php (484): WireHooks->runHooks() #14 wire/core/admin.php (174): Wire->__call() #15 site/templates/admin.php (18): require('...') #16 wire/core/TemplateFile.php (328): require('...') #17 wire/core/Wire.php (413): TemplateFile->___render() #18 wire/core/WireHooks.php (998): Wire->_callMethod() #19 wire/core/Wire.php (484): WireHooks->runHooks() #20 wire/modules/PageRender.module (581): Wire->__call() #21 wire/core/Wire.php (416): PageRender->___renderPage() #22 wire/core/WireHooks.php (998): Wire->_callMethod() #23 wire/core/Wire.php (484): WireHooks->runHooks() #24 wire/core/WireHooks.php (1099): Wire->__call() #25 wire/core/Wire.php (484): WireHooks->runHooks() #26 wire/modules/Process/ProcessPageView.module (193): Wire->__call() #27 wire/modules/Process/ProcessPageView.module (114): ProcessPageView->renderPage() #28 wire/core/Wire.php (416): ProcessPageView->___execute() #29 wire/core/WireHooks.php (998): Wire->_callMethod() #30 wire/core/Wire.php (484): WireHooks->runHooks() #31 index.php (55): Wire->__call() #32 {main} thrown (line 48 of site/modules/LoginPassKey/LoginPassKey.module) And when I click on menu in admin - access - passkeys I see this: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'pw.loginpasskey' doesn't exist Do you know where could be problem ? Installation is on machine dedicated with OS FreeBSD 14.2, Apache24, PHP 8.4.5, MySQL 8.4.3 Are there any requirements specific for this module ? What do you think ? Pavel
-
I tested it and for some strange reason this hook changed settings of form for every edit of PW page. It does not matter if i put int template == 'name of my template' or 'id'. All edit forms changed. Another thing is that i need to remove several fields and have required several fields - i had to put that form->remove several times and also that part for "required" several times - for each of field. Then it worked and removed fields and thos I wanted to be required were required... But there is still problem that this hook do not recognize my template id or name... I think I have to use another approach or is there some error in your code?
-
Thanks very much Bernhard. This looks very interesting. Just I hope I understand right - when I call editing of page by editUrl this hook will start. Remove field - is this intended to remove from backend form ? I hope yes and not to remove from template permanently.... Regarding required - that means it will put on required for field which in backend is not set as required....? Regarding formbuilder, rockforms and others I understand - I know that modules for forms re intended to go out of my scope of use... I will try this anyway...it is of course better to have backend forms ..I already prepared some form on frontend, but if this will work it is better... Is there possible to more customize backend forms to have for example another text on button for save ? One more question : How could I edit same page without that hook ? How I could I distinguish when it is with hook or without ?
-
Thanks for your answer. I know about FrontendForms also. FormBuilder specificaly is not intended for updating PW pages, and I think same is FrontendForms. In your docs for RockForms (I have whole suite subscription) is not specified that i could prepare forms for updating PW pages directly from templates. What I need it is this: There is PW page with fields and I need logged user (which has also access to backend) to update only specific fields from that page. In default those fields are not required and by using that form I need users to enter to them values. What do you think of this ? Is that possible by some simple form in template or I need RockForms, FormBuilder or FrontendForms for this...?
-
HI. Is possible to use RockForms for updating existing PW pages from Frontend? For example to create form which will change only specific fields on selected page ($pages->find), that are normaly not required (by field setting in backend), but using this form user will need to enter them, because it will be required before submision of the form. Or is this better to use some custom way or FormBuilder? FormBuilder is quite big for this specific form... Thanks for any hint.
-
Hi. I just upgraded my installation of dedicated server to PHP 8.4 and latest PW and Search Engine is showing this errors: It seems that it is some problems with selector with null ? I found some fix for this: https://dev.to/gromnan/fix-php-84-deprecation-implicitly-marking-parameter-as-nullable-is-deprecated-the-explicit-nullable-type-must-be-used-instead-5gp3 So I have to set some default value or is needed to be in code of module? Your module is working right anyway and is amazing for searching - so I just need to know if I could just ignore this for now... Thanks for any help.
-
OK. That is good. I am preparing another field for contract page which should contain some crucial and personal data for contracted customer - i.e personal identification number, address and other details. So I could use PageTable for this...also i could try to switch...need to know more details...
- 11 replies
-
- page reference field
- field
-
(and 1 more)
Tagged with:
-
It is very nice from you. I think it is good to know that there is option to create new pages then use same already in system. At least for my project is better to have every time new page, because every new page is unique for my customer even if it has same name. He has business with Antiquities and every item from 1 contract is unique - so every time is new contract there are also new unique items on it. For example item "Vase with decoration pictures" from one contract is not same as same named vase from another contract. For this reason every item (child page) is new and unique.
- 11 replies
-
- page reference field
- field
-
(and 1 more)
Tagged with:
-
Hi. I tested all and I now know that inputfieldPage after save is creating new children pages in referenced page. It is working nice also with your numbering. I have condition in page template when showing on frontend, that if item has already older field with text name of item position it will use it. Otherwise will display new auto number with wireLen adjusted formatting (1 -> 01). It works nice and I will just make changes to code for handling only new pages, but it is not needed. For new chilren pages it nicely fill auto numbers. There will be testing from customer so I will see after their editing how it goes... Regarding PageTable - it is very nice - I am very considering it to integrate. Is needed to pay for whole ProFields from Ryan or is it working anyway ? Also I am not so sure if I have data to integrate it with this (lots of imported already)...
- 11 replies
-
- page reference field
- field
-
(and 1 more)
Tagged with:
-
I have tried hook from you and it works - so thanks very much... I have it in ready.php and it appears that it is doing what I needed. What it does more is that it puts value 1 to current existing data, but it is OK, because this numbering is only for new data. I will test it more and let you know
- 11 replies
-
- page reference field
- field
-
(and 1 more)
Tagged with: