Wappler 7.9.7: Adding partial to content page bug

Hi gang, what is the proper procedure for setting up a partial with the new php routing system?

Do I add it to a page and then convert to partial or do I create it as a stand alone partial.

In this case it's a login form I want to add to different pages.

Thanks :beers:

Ok, I think I figured out how to create a basic partial. But I can't for the life of me figure out how to add it to a content page. This shouldn't be this hard. I love the new PHP routing set up but can't seem to add partials.

Changing this to a bug for PHP routing. Can't add partials. The documentation shows you should have a select drop down to pick your partial.

But I don't get that drop down:

Partial step is for NodeJS as seen in the generated code:

<%- await include('', Object.assign({}, locals)) %>

Use Server Side Include step for PHP.

Well, that is what I tried at first before going to the documentation. It inserts the code:

<?php include '/partials/login.php'; ?>

But it doesn't show up on the page. AND with debug on and previewing in browser I get

{"code":0,"file":"\/Users\/bradlawryk\/Documents\/2026_ALIGN_assessment\/www\/assessment.php","line":25,"message":"include(\/partials\/login.php): Failed to open stream: No such file or directory","trace":"#0 \/Users\/bradlawryk\/Documents\/2026_ALIGN_assessment\/www\/assessment.php(25): exception_error_handler(2, 'include(\/partia...', '\/Users\/bradlawr...', 25)\n#1 \/Users\/bradlawryk\/Documents\/2026_ALIGN_assessment\/www\/assessment.php(25): include()\n#2 \/Users\/bradlawryk\/Documents\/2026_ALIGN_assessment\/www\/dmxConnectLib\/templateFunctions.php(415): include('\/Users\/bradlawr...')\n#3 \/Users\/bradlawryk\/Documents\/2026_ALIGN_assessment\/www\/layouts\/assessment.php(30): dmxRouteContent()\n#4 \/Users\/bradlawryk\/Documents\/2026_ALIGN_assessment\/www\/dmxConnectLib\/loader.php(45): include('\/Users\/bradlawr...')\n#5 \/Applications\/Wappler.app\/Contents\/Resources\/app\/Shared\/DMXzone\/dmxAppCreator\/UI\/lib\/htaccess_router.php(205): require_once('\/Users\/bradlawr...')\n#6 {main}"}

Try making it relative:
<?php include '../partials/login.php'; ?>

PS: The Partial step should be hidden on PHP projects to avoid the confusion.

Thank @Quy . Changing the path fixed it. It now shows up in browser but does not show up in the design view for some reason.