Jump to content

zoeck

Members
  • Posts

    419
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by zoeck

  1. Was there a faulty update @Pete? Avatars no longer show up for me, Unicode emojis no longer work, and ProFields downloads don't work either. ? /edit: 24. Oct - Avatars are Working again, Profield Downloads not: <Error> <Code>InvalidObjectState</Code> <Message>The operation is not valid for the object's storage class</Message> But Some Attachments & Avatars are not working, Example: https://processwire.com/talk/topic/24189-pageviewstatistic-for-processwire/#comment-205221 /edit 25. Oct - Avatars, Attachments and Downloads are working again ? Thanks
  2. Just use $urls->httpRoot https://processwire.com/api/ref/paths/
  3. Do you even need it? Normally you can access the field directly: $page->name-of-the-field Or do you have an example where it is needed?
  4. Does anyone have an example of how to put calculations into a repeater (Subtotal, Received, Total due)? I need exactly such a function ?
  5. I hope not, the editor is used in Atlassian Jira and it is really bad there. And when the manufacturer already has problems with the editor... ?
  6. Eventually from the First Screenshot ? „Beri več“
  7. The template settings are important here, not the page ? Did you looked at the link?
  8. Unfortunately some info is missing here ? From the screenshot it is not possible to see exactly which fields you are using (and the names of the fields). But I think you use repeaters here, you can see here how to access the data: https://processwire.com/docs/fields/repeaters/
  9. When you look at the "_uikit.php" file at line 822, it's this code snippet: $categories = $page->get('categories')->each($categoryIcon . "<a class='uk-button uk-button-text' href='{url}'>{title}</a> " ); PW is looking for a "categories" field (page reference or something?) on your page (or template ? ), and apparently you don't have that or it's not filled in ("Call to a member function each() on null")
  10. I'm not sure... never used this profile ? But have a look at this line: https://github.com/processwire/site-regular/blob/c2660b076b7413493b0c44d3057968066bd9236d/templates/_uikit.php#L175 Just change it to the "normal nav item class"?
  11. I'm not sure, but i think you can add the "header" with: 'header' => true, // - `header` (string|Page|bool): Nav header string, Page object, or boolean true to use Parent for header (default=''). Just have a look at the _uikit.php file: https://github.com/processwire/site-regular/blob/c2660b076b7413493b0c44d3057968066bd9236d/templates/_uikit.php#L50
  12. inside a selector you have to use a timestamp ? Just use strtotime without date(), i think it should work ? <?php $today = strtotime('tomorrow'); $pages->find("template=page, sort=datetime, datetime<=$tomorrow");
  13. Hello, yes, it's called ImportPagesCSV: https://processwire.com/modules/import-pages-csv/
  14. There is a relatively new official solution ? https://processwire.com/blog/posts/language-field-export-import/
  15. There's also a paid pro module "FormBuilder": https://processwire.com/store/form-builder/
  16. When I have a good example ? But it is significantly less code You mean {var $site->color = 'blue'} ? I forgot the var yesterday and wondered why it does not work ? Thanks for the infos!
  17. I am currently reworking some old templates, and there's some PHP code in it ? I was just surprised that the php code is not executed... But I initially thought I did something wrong ?
  18. I want to use RockFrontend and Latte in my first "real" Project, but now I have a question about RockFrontend/Latte: If I use $rockfrontend->render() with a .latte file, is it no longer possible to use "normal" PHP inside of the .latte file?
  19. There's no "ready to use" export function in processwire, but you can easily create one like described in the posts of AndZyk. But I think you have not understood how Processwire works ? a simple introduction can be found here https://processwire.com/docs/tutorials/hello-worlds/ The important thing is that you understand that the export must be programmed by you via php. The module "BatchChildEditor" simplifies the whole thing only a little. In the module description there is also a simple example: https://processwire.com/modules/batch-child-editor/ But you need an understanding of how PW is structured (Everything is a page, every page has a template, every template has fields, every field has a certain type).
  20. I think the statusChanged hook is the right one for this ? (or statusChangeReady) Then check if the status is changed to hidden...
  21. Do the child pages also have the custom page class? So in your example the template "overview"? Because the child pages are pages of their own.
  22. Okay here we go ? "$grandparent" is NULL... checked it with a bd() And here's the Screenshot:
  23. Thanks @bernhard, the path Problem is fixed, but the repeater error message remains. I dont know how to debug this error, i only know that the error only appears when RockMigrations is installed.
×
×
  • Create New...