Jump to content

zoeck

Members
  • Posts

    382
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by zoeck

  1. Unfortunately, without more information we can not help. Maybe you have included a php file that outputs this? Processwire does not automatically generate such information But there's a configuration if you want to append or prepend a file: config.php: $config->prependTemplateFile = '_init.php'; $config->appendTemplateFile = '_main.php'; There's also a config inside of each template ("files" tab πŸ˜‰)
  2. The individual user first needs the rights to edit, you can solve this via the Admin Restrict Branch module. Then FEEL should also work correctly
  3. Just have a look at this Module πŸ˜‰ https://processwire.com/modules/admin-restrict-branch/ I think this is the right approach for it πŸ˜‰
  4. What exactly are you planning to do with it? I have only assigned a role (with edit right) to the appropriate users. I do not understand the question about guests
  5. If a user has the permission to edit the page, the edit link is also displayed. You should check the permissions first πŸ˜‰ I use the module myself with users who do not have superuser rights.
  6. i think you can use $files->find() "Find all files in the given $path recursively, and return a flat array of all found filenames"
  7. Check if there is a "header" or "main" file in the site/templates directory. Normally there is normal HTML code inside, where the Google Fonts are included. But it also always depends on how the developer has programmed the page πŸ˜‰ (by the way, you can edit posts in the forum, you don't always have to reply to them).
  8. Then just have a look inside of the file "functions/f_orders.php" I Think there's the "WireDataDB" Part πŸ˜‰
  9. this is because require_once "loads" the content from the file and displays it πŸ˜‰ Of course, if you delete the part, it will no longer be displayed. But it can have negative effects, since you don't seem to know what the included file does.
  10. Looks more like the problem is in the "functions/f_orders.php" file The code you posted does not look wrong
  11. Thanks @bernhard πŸ™‚ then I would prefer to use a modal πŸ˜‰
  12. Hello, I have written a small admin module that displays a "tabulator" table. Within this table there are edit links for the listed pages. If you click on this edit link, a pw-panel opens and you can edit everything. But after saving the page, the pw-panel remains open. Is there a way to close the panel when the page has been successfully saved? Is there any way to react to the closing on the admin page? (for example: reload the tabulator table πŸ˜‰). Or does it make more sense to use a modal? This is my first own admin module, I would be very happy if someone could help me with it πŸ™‚
  13. Just use this selector πŸ˜‰ parent=/departments/department-name/
  14. 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
  15. Just use $urls->httpRoot https://processwire.com/api/ref/paths/
  16. 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?
  17. Does anyone have an example of how to put calculations into a repeater (Subtotal, Received, Total due)? I need exactly such a function πŸ˜‰
  18. 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... πŸ˜‰
  19. Eventually from the First Screenshot πŸ˜‰ β€žBeri veΔβ€œ
  20. The template settings are important here, not the page πŸ˜‰ Did you looked at the link?
  21. 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/
  22. 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")
  23. 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"?
  24. 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
Γ—
Γ—
  • Create New...