Jump to content

Entil`zha

Members
  • Posts

    27
  • Joined

  • Last visited

Everything posted by Entil`zha

  1. Thank you @bernhard for the quick reply, and solving the problem. I was so into reading those instructions that I forgot to use my own brains for thinking :D Maybe you can add requirements-section in case there's another like me :)
  2. Hi, I've now tried couple times to do fresh installation and I'm having problems to get RockPageBuilder working. I'm using PHP 8.1 and running test enviroment in Ubuntu 22 under WSL. I'm using .local website address. I've tried to follow the instructions from https://www.baumrock.com/en/processwire/modules/rockpagebuilder/docs/setup/ but after the installations, rockpagebuilder profile install and uikit download I got following: This wouldn't be a problem but when click the +-button it doesn't open modal, instead it open admin page: So it's pretty hard to use. Also I noticed that after installing profile rockpagebuilder it didn't replace home.php and basic-page.php so I added manually <?= $rockpagebuilder->render(true) ?>. But what differences from the instructions I didn't have to add those required fields to template because they were already in there. Any ideas how to get modal working?
  3. You can probably find the executable file from /home/<username>/.config/composer/vendor/bin -folder so running /home/<username>/.config/composer/vendor/bin/wirecli should work. If you want to use it without the path you should add that path to your shell $PATH-variable.
  4. I've managed to resolve this with $session->removeAllFor('message') but I think that this should be done already with 'clear'.
  5. Hi, For some reason when I try to read and clear messages or errors in template I'll get the messages but they won't clear and will show after next page load. I following code in my head.inc which is included in every template. $messages = $wire->messages('clear all'); foreach ($messages as $m) { echo '<div class="alert alert-success alert-dismissible" role="alert">'; echo '<p class="badge badge-pill badge-success">OK</p> ' . $m->text; echo '<button type="button" class="close" data-dismiss="alert" aria-label="Close">'; echo '<span aria-hidden="true">&times;</span>'; echo '</button>'; echo '</div>'; } I'll get all the messages but they don't get cleared. Only way to clear messages is to load page from admin area.
  6. Hi, A bit delayed answer and maybe you have already solved this but for others. There's always Azure AD behind Office 365 tenant and if you have global administrator privilege you can log in to https://portal.azure.com. I'm only tested integration to Azure with custom PHP code but I don't remember did I have to create app or did I manage to use MS REST API without that. I was just playing around Exchange Online then.
  7. Hi @kongondo, When are you planning to launch this to public? We have a small web shop project coming so I would like to think this as one option but it must be done in July.
  8. Hi Jennifer, If you're are referring to Redirects-module(from apeisa) you should post to this thread. That way the maintainer can see your request and comment it.
  9. Hi, Could someone help me InputfieldPage. I'm creating a custom admin module and I want to create form that has one Page reference field. I've managed to create the field but when loading the page it gives me error that this field hasn't been configured. Basically it's a ghost field that doesn't exist but I also tested to create and configure field with same name but no help. So if someone could help me how to specify necessary information for field and also how to show selected pages. Here's code: $form = $this->modules->get('InputfieldForm'); $form->action = "{$this->page->url}savegroup?id={$g->id}"; $form->method = "post"; $field = $this->modules->get("InputfieldText"); $field->name = "groupname"; $field->label = __("Ryhmän nimi"); if ($g->groupname) { $field->value = $g->groupname; } $form->add($field); $field = $this->modules->get("InputfieldPage"); $field->name = "members"; $field->label = __("Members"); $form->add($field);
  10. Hi HMCB, Lates pre-release is from 4/2017. i think this thread is quit because all the talking regarding to this module is done inside module support group where you can get access after purchasing the module. Ofc apeisa could put some updates here also for advertising purposes. As for my own experience the module works fine, we have use it for our shop and it offers everything we need.
  11. Actually both methods will run automatically, there's already another module for executing cron via webvisitors (Lazycron or something like that). So both methods will run automatically depending how task is defined at crontab (etc. /etc/crontab), the lazy option is targeted for users who just need to run some basic tasks and the pro option is targeted for users who want to do more. I'm gonna write a better instructions but it's still on todo
  12. Yes, we just forget to put tap in place.
  13. Hi, We made a little help tool for implementing cron to processwire. Basically the module has two options to run module methods under cron: Lazy method: Just add simple config line to configuration field where you specify module, method and time delay Pro method: Just hook to our method and do everything you want Getting started should be relative easy, just install module and add line to configuration field (MyModule;MyMethdo;+10 minute). Delay accepts strtotime formats. http://modules.processwire.com/modules/pwcron/
  14. Can someone point me to the right direction with taxes. I've created tax classes but I can't find a way to print prices with taxes? Should I just count them by myself or is there allready a way to do that?
  15. Ok, good to know. It would be nice to have feature to submit new site there, and also somekind of finnish documentation could be useful.
  16. Hi, Does anyone know what has happened processwire.fi domain? It's owned by Avoine Oy so apeisa might know? It would be create to see it up and running for showcase to finnish customers, and maybe others too. If there's a hosting problem with that our company can sponsor platform. I can also help develop the site, just let me know.
  17. Hi, I've just started to test my dev site with php 5.6. When trying to download new modules via modules manager I got error: PHP message: PHP Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /usr/local/www/wwwroot/mysite/site/modules/ModulesManager/ModulesManager.module on line 736 PHP message: PHP Warning: file_get_contents(): Failed to enable crypto in /usr/local/www/wwwroot/mysite/site/modules/ModulesManager/ModulesManager.module on line 736 PHP message: PHP Warning: file_get_contents(https://github.com/apeisa/Thumbnails/zipball/master): failed to open stream: operation failed in /usr/local/www/wwwroot/mysite/site/modules/ModulesManager/ModulesManager.module on line 736 So I changed: $context = stream_context_create(array('http' => $options)); to $context = stream_context_create(array( 'http' => $options, "ssl" => array( "verify_peer"=>false, "verify_peer_name"=>false, ), )); and now it works. I didn't have time to see is openssl changed in php 5.6.
  18. Maybe you could check if there's something in MySQL logs. Also if you don't have slow query log enabled it could help you identify problem. I use Zend Server's Z-ray for debuging and development because there's a great feature that tracks every query made on page, in dev server ofc. So that might also help you to identify the problem.
  19. Hi Alan, What does that URL do? MySQL has join limit set to 61 tables, at least from version 4, so sounds like you page is trying to do some greater join.
  20. I've just tested these with 2.5 and everything is running nice and smooth.
  21. Hi, I'm doing admin module where I use ajax and I have big problems rendering messages.. I've tried $this->message('message') but it only return me json. So is there a way to manually render error/notice messages?
  22. Hi Steve, I'm currently working that part so at this point it's not working yet but probably after this weekend I'll add functionally to add/delete pages.
  23. Hi, I've started to build module for managing pages like mindmap style. The idea come from project that had lots of static pages and after the first 50 I was frustrated . At this point module is on pre-pre-pre-alpha state but because it's my first admin module I though it would be wise to let you all see the progress so you can correct me if I'm starting to going the wrong way. Features in todo: Mindmap style presentation of pages Ajax driven page adding so that maps is synced with pages Somekind of toolbar for changing page properties trough ajax, what it holds inside I don't know yet Any recommendations you give me EDIT: thx kongondo -> link https://github.com/jkolkka/PagesMapManager
  24. Hi, Just tried this module with pw 2.5.3. I'm also using bootstrap-framework as a base for my theme and I found out that bootstrap has modal-class defined which make a pretty mess with adminbar. I changed: adminbar.module line 181: $modalClass = 'modal'; --> $modalClass = 'ab-modal'; adminbar.js line 10: var $modalLinks = $adminbar.find('a.modal'); --> var $modalLinks = $adminbar.find('a.ab-modal'); That fixed the mess. I don't know is it a good idea but maybe it would be wise to change that class to ab-modal so it won't interference with common css/js frameworks.
×
×
  • Create New...