# Standalone page from a DevPack Component

**URL:** <https://forums.realmacsoftware.com/t/standalone-page-from-a-devpack-component/55835>\
**Category:** Elements API\
**Created:** [April 22, 2026, 2:44pm UTC](https://forums.realmacsoftware.com/t/standalone-page-from-a-devpack-component/55835 "2026-04-22T14:44:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![logrunner](https://avatars.discourse-cdn.com/v4/letter/l/59ef9b/32.png) [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Post date:** [April 22, 2026, 2:44pm UTC](https://forums.realmacsoftware.com/t/standalone-page-from-a-devpack-component/55835/1 "2026-04-22T14:44:35Z")

</div>

I have a folder on my website as follows:

```auto
pdf_folder
    pdf_export.php

```

In my Elements DevPack, I have a component that contains the code for the page pdf\_export.php (in Component \> templates\> pdf\_export.php.

At the moment I am manually copying the php file into the published location. Is there a way to be able to set that webpage automatically? Normally you include a component in an Elements container in an Elements webpage, I just want the contents of the component file to be the webpage with nothing else added.

I have done a partial mitigation by making that page a stub (which is unlikely to change) which invokes the main pdf\_export logic from the assets folder, which may change.

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [April 22, 2026, 3:25pm UTC](https://forums.realmacsoftware.com/t/standalone-page-from-a-devpack-component/55835/2 "2026-04-22T15:25:55Z")

</div>

If I’m understanding you correctly, you want a file that is deployed to the server but not included on the page. Correct?

If so, I think you could use the [Backend template directory](https://docs.realmacsoftware.com/elements-docs/elements-language/component/templates/backend) for this. Hope that helps 🙂
