-
Posts
382 -
Joined
-
Last visited
-
Days Won
2
Everything posted by zoeck
-
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 π)
-
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
-
Just have a look at this Module π https://processwire.com/modules/admin-restrict-branch/ I think this is the right approach for it π
-
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
-
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.
-
i think you can use $files->find() "Find all files in the given $path recursively, and return a flat array of all found filenames"
-
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).
-
Then just have a look inside of the file "functions/f_orders.php" I Think there's the "WireDataDB" Part π
-
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.
-
Looks more like the problem is in the "functions/f_orders.php" file The code you posted does not look wrong
-
Thanks @bernhard π then I would prefer to use a modal π
-
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 π
-
Just use this selector π parent=/departments/department-name/
-
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
-
Just use $urls->httpRoot https://processwire.com/api/ref/paths/
-
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?
-
Weekly update βΒ 30 September 2022 β Invoice app profile
zoeck replied to ryan's topic in News & Announcements
Does anyone have an example of how to put calculations into a repeater (Subtotal, Received, Total due)? I need exactly such a function π -
New post β Reconsidering the CKEditor 4 to 5 upgrade
zoeck replied to ryan's topic in News & Announcements
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... π -
Group posts by day of the week? "Datetime" field (mon, tue, ...)
zoeck replied to Roych's topic in API & Templates
Eventually from the First Screenshot π βBeri veΔβ -
The template settings are important here, not the page π Did you looked at the link?
-
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/
-
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")
-
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"?
-
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