-
Posts
404 -
Joined
-
Last visited
-
Days Won
2
Everything posted by zoeck
-
Or just have a look here: https://processwire.com/talk/clients/purchases/ Maybe you can renew it directly for 39$.
-
Just have a Look in the Formbuilder Support Board:
-
The form is blocked by my adblocker (uBlock origin) ? Maybe the same thing happens to you...
-
Syntax error on Installing Processwire 3.0.225
zoeck replied to jameswillams's topic in General Support
You should make sure that you are using a new PHP version. PHP 5.5 has been end of life for a very long time (Ended 7 years ago - 21 Jul 2016)! Processwire should currently be used with PHP 8.1, if not otherwise possible 7.x would also be ok. These are the current requirements, apparently it was not updated at the installation site ? -
Template: how to include files OF YOUR CHOICE?
zoeck replied to franciccio-ITALIANO's topic in Getting Started
Use something like this: <?php wireIncludeFile($page->type_menu); ?> What exactly do you have in the "type_menu" field? You have to make sure that only your desired files can be accessed/included! Perhaps it is also better to map this via a switch/case - perhaps an if is enough: <?php if($page->type_menu == "menu-A") { wireIncludeFile('styles/menu-A.php'); } else { wireIncludeFile('styles/menu-B.php'); } ?> -
I think this is (still) an internal module from @bernhard. And It's not a free module ?
-
Something like RuntimeMarkup? Or do you want to show it when editing the template, not when editing page?
-
Of Just use the newest PW DEV Version ?
-
Did you possibly use the v1 of the skyscraper profile? This is the more current (2016) one here: https://github.com/ryancramerdesign/skyscrapers2
-
RockFinder3 - Combine the power of ProcessWire selectors and SQL
zoeck replied to bernhard's topic in Modules/Plugins
You have to use getRows() $items = $rockfinder->find("parent=/foo/")->addColumns(['title','text','date',]); //d($items); foreach ($items->getRows() as $item) { echo $item->title.$item->text.$item->date; } and the result will be objects, you have to use "->" instead of the square brackets -
I have one more small suggestion to improve the function a bit ? Just replace the complete if inside the execute-endpoints.php file: if ($action === 'action-get-openapi') { [...] } With this: if ($action === 'action-get-openapi') { header('Content-Type: application/json; charset=utf-8'); echo json_encode($openApiOutput, JSON_PRETTY_PRINT + JSON_UNESCAPED_SLASHES + JSON_UNESCAPED_UNICODE + JSON_UNESCAPED_LINE_TERMINATORS); die(); } So Tracy is disabled on output and via the browser you can save the file directly as json. And Thanks for this nice update ? @Sebi
-
@ceberlin "Updated 2023/03/09" -> The module has just received an update ? Or is this related to the problems with the current dev version?
-
Currently, I barely use Processwire for the frontend, since I am implementing a larger project with vue.js when i have some time, i will have a look at the problem with the tracy panel.
-
Found 1 module(s) missing file: .Modules.wire/modules/ => /site/modules/.Modules.wire/modules//.Modules.wire/modules/.module And I can already see my problem, I downgraded to 3.0.217 due to another bug. After that, the problem occurred, just as you wrote, because .217 does not need this entry. In the meantime, I have updated to .219, where the entry was created again. Without error message.
-
I had the same problem with 3.0.218. I had to delete the module ".Modules" in the modules table in the database. After that, the error was gone. Thought this was only a local problem ?
-
I have the same problem, freshly downloaded 3.0.218 DEV version @ryan is there a problem here with the current version? /edit: reverted to 3.0.217 DEV and it's working...
-
I think you have to pass the variable to your included latte file: {include '../blocks/' . $block->type . '.latte', block: $block}
-
I am currently switching from HTMX to Vuejs with Processwire as the backend. But this will also be more a SPA ? I am positively surprised by Vue….
-
@Jan Romero i don't think so ?
-
You can renew the ProFields for $39 -> Manage Purchases If there is no "Renew Now" button there, you will need to contact Ryan first. (this is what Ryan wrote here) It's not a subscription at all, it just extends the updates by 1 year ?
-
API, how do I dynamically add a segment url to a template?
zoeck replied to Alexey's topic in Getting Started
if($input->urlSegment1 == 'photos') { // display photo gallery } else if($input->urlSegment1 == 'map') { // display map } else { // display main content } You mean like this? Or what exactly do you mean by whitelist ("Without manually adding"?!) -
API, how do I dynamically add a segment url to a template?
zoeck replied to Alexey's topic in Getting Started
Have you looked at the instructions for URL Segments? https://processwire.com/docs/front-end/how-to-use-url-segments/ -
Possibly the same problem as here: If Tracy is installed, you should deactivate it in the template (you can do this in the Tracy settings): No debug bar in selected frontend templates Disable the debug bar on pages with the selected templates.
-
Do you already know the lister function of the Processwire? Simply go to Pages -> Find, then you can display a table with pages (with adjustable columns). There is also an extended (paid) variant: ListerPro