Jump to content

rjgamer

Members
  • Posts

    68
  • Joined

  • Last visited

Everything posted by rjgamer

  1. I am getting errors when using cron.php Can you check/test it? I am on my phone and cannot access the error message properly. Thanks.
  2. I cannot see the default value settings for image fields on the latest PW versions. Did I miss something?
  3. I've a regular updated PW installation (3.0.191) which is more than a year old. I cannot find any AdminStyleRock module. Why? And how can I install it the best way?
  4. I like the backend theme. Good job. Any chance to get access to it?
  5. Hi, I am not happy with the limited features of the free comment module. Now I am thinking to buy the Form Builder Pro, but I am not sure if it can be use for custom comment system. Can anybody tell me more about the possibilities to create a custom comment system? Can I change the output of each input field for Bootstrap oriented stylings? And can I output the sent data in the frontend? Thanks.
  6. Thanks a lot. Is there any possibiliy to add a custom field to the comments?
  7. Hi, I want to replace the comment output classes with custom classes. Because I need the output formatted for Bootstrap, with a few other tweaks. I'm rendering the template with this code: <?= $page->comments->renderAll() ?> How can I replace the default classes CommentForm and CommentList with custom classes before the instance got created? Thanks.
  8. Strange. There are no default value settings anymore in PW 3.0.181. Does anybody have the same issue?
  9. Looks like the same issue I have with page repeater. It would be really cool to get this supported.
  10. Since the last update of the Upgrades module, there are two packages of duplicator: One can be upgraded, the other not. And when I install duplicator, only the module "Duplicator" got installed. I've had to install "ProcessDuplicator" manually. Thanks to this info here. It's look like something smaller is messed up since the last few PW updates. Or not?
  11. Was a problem with the AutoTemplateSubs module. After I uninstalled the module, the error did not occur anymore.
  12. This solution does not work. Same error occurs.
  13. Thanks. My module development skills are to low for any professional pull request. I would be really happy if you could implement support specific page repeater rules. Yeah, thats the current and only way to get it done. But who wants 3-5 similar fields with different names? 😞
  14. Hi, I got the following message when I update oder delete an text field: The update works. But deleting the field does not work. All other fields doesn't have any problem. How can I hard-delete the field in the db? Or is there any other solution? Thanks.
  15. Doesn't seem to make any problems yet. But you are right, I will rename it for "safety first" reasons. No, it doesn't work if I select "Repeaters" as parent page and it does not work if I explicit select the template or page. Doesn't work, because both times the same page and field got matched. The module can currently not set rules for page repeater and different handle the fields with similar names (connected over page repeater).
  16. Additional information: I've a image field called "image" and a page fieldset called "meta". The image is mapped on the template and also mapped on meta, which mapped to the template too. So the image field "image" is two times mapped. $page->image $page->meta->image For $page->image I want to rename the image to "{$page->title}" and for $page->meta->image I want to rename the image to "preview". How do I configure the rules to match both cases? Thanks.
  17. Hi, this rule does not work. Or is this even possible as rule?
  18. Thank you. It looks like that to cache the HTML output is the only solution. Strange is, that the cache offers a renderFile method. But I dont get it to work to render a partial (site/templates/partials/foo/bar.php). Does anybody have a working example?
  19. Hi, how can I boost up this code in my template? <?php $selector = 'template=game, genre.name=strategy'; ?> <?php foreach ($topics as $topic): ?> <!-- ~50 topics --> <?php $count = pages()->count($selector . ', topics.name=' . $topic->name) ?><!-- more than 1000 games --> <!-- My awesome super stuff with $count --> <?php endforeach ?> I've three similar queries of the code above in a template and it slows down the page load ~2secs. How can I boost up the count query? Thanks
  20. I think I found it: Page::loaded https://processwire.com/api/ref/page/loaded/ Edit: How do I check in a custom page class, if it is the current class? Maybe something like this: namespace ProcessWire; class DefaultPage extends Page { public function loaded(): { parent::loaded(); if ($this->isCurrent) { // to my special custom super feature stuff } } }
  21. Sorry, I'm mean after a page load when the current page get fetched from the database. Page::added get called when I create a new page. I've a use case where I want a run a method of my custom page class. But if I run the method in the constructor, not all properties of page are loaded (e.g. httpUrl).
  22. Hi, is there a hook after the current (active) page got created? Or which method got called in the Page class after the Constructor of the current page got initialized? Thanks.
  23. Correct this works. But what is if I dont want a wrapper around tabcontents in the forms?
×
×
  • Create New...