Jump to content

Pavel Radvan

Members
  • Posts

    68
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Pavel Radvan's Achievements

Sr. Member

Sr. Member (5/6)

13

Reputation

  1. Thanks Bernhard. I will try it and let you know. It looks interesting, because I need exactly to specify on page I do not want header and footer - so that class "noheader" would be suitable.
  2. 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..
  3. 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
  4. 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...???
  5. Hi. So I could test it again ?
  6. 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...
  7. 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
  8. 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
  9. 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...
  10. 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
  11. Hi. Thanks..I thought that it is in this condition.... Sorry for posting here. I will create thread if I will need more help, but now I know more...
  12. 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?
  13. 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 ?
  14. 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...?
  15. 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.
×
×
  • Create New...