# Elements API

**URL:** https://forums.realmacsoftware.com/c/elements-api/56.md?page=3

[Latest](https://forums.realmacsoftware.com/latest.md) · [Categories](https://forums.realmacsoftware.com/categories.md) · [Tags](https://forums.realmacsoftware.com/tags.md)

**Page:** 4

---

## [Color Component Control Sets](https://forums.realmacsoftware.com/t/color-component-control-sets/44851)

<div class="topic-metadata">

**Author:** [@Bill](https://forums.realmacsoftware.com/u/Bill)\
**Replies:** 7\
**Last updated:** [June 4, 2025, 5:19pm UTC](https://forums.realmacsoftware.com/t/color-component-control-sets/44851 "2025-06-04T17:19:31Z")

</div>

After looking at the color control further, I’ve noticing a few things: Would like a default color set that includes both pure white & pure black, maybe repurpose Black & White for this, as are unused placeholders N…

---

## [\[SOLVED\] How disable the dot that manages the property values breakpoints based](https://forums.realmacsoftware.com/t/solved-how-disable-the-dot-that-manages-the-property-values-breakpoints-based/47892)

<div class="topic-metadata">

**Author:** [@Massimo](https://forums.realmacsoftware.com/u/Massimo)\
**Replies:** 2\
**Last updated:** [June 3, 2025, 4:00pm UTC](https://forums.realmacsoftware.com/t/solved-how-disable-the-dot-that-manages-the-property-values-breakpoints-based/47892 "2025-06-03T16:00:54Z")

</div>

For a Custom Component, in the Properties (JSON) is there a way to disable (and hide) the dot that manages property values ​​based on breakpoints? Like it happens for the “Color” property that does not have that dot. \[…

---

## [Group Visibility on Properties](https://forums.realmacsoftware.com/t/group-visibility-on-properties/47772)

<div class="topic-metadata">

**Author:** [@Massimo](https://forums.realmacsoftware.com/u/Massimo)\
**Replies:** 3\
**Last updated:** [May 29, 2025, 11:51am UTC](https://forums.realmacsoftware.com/t/group-visibility-on-properties/47772 "2025-05-29T11:51:22Z")

</div>

In the Properties JSON is it possible to make an entire group visible (or hidden) based on the value of a property? Making individual properties visible is no problem, but I couldn’t get it to work on an entire group.

---

## [Marketplace Updates](https://forums.realmacsoftware.com/t/marketplace-updates/47738)

<div class="topic-metadata">

**Author:** [@Bill](https://forums.realmacsoftware.com/u/Bill)\
**Replies:** 3\
**Last updated:** [May 27, 2025, 12:35pm UTC](https://forums.realmacsoftware.com/t/marketplace-updates/47738 "2025-05-27T12:35:25Z")

</div>

@dan Hi Dan, I was trying to update some things in my developer account, but when I uploaded a 556x556 logo, it kept refusing it and it was definitely less than 2Mb.

---

## [Portal code insertion ordering?](https://forums.realmacsoftware.com/t/portal-code-insertion-ordering/45691)

<div class="topic-metadata">

**Author:** [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Replies:** 14\
**Last updated:** [May 27, 2025, 6:53am UTC](https://forums.realmacsoftware.com/t/portal-code-insertion-ordering/45691 "2025-05-27T06:53:46Z")

</div>

I have a number of related Devpack components that both use portal to add PHP code at the pageStart. They are dependant on their associated initialisation component. It seems that the portal insertion code always adds a…

---

## [GET/POST Component](https://forums.realmacsoftware.com/t/get-post-component/47456)

<div class="topic-metadata">

**Author:** [@RussOggi255](https://forums.realmacsoftware.com/u/RussOggi255)\
**Replies:** 4\
**Last updated:** [May 26, 2025, 5:01pm UTC](https://forums.realmacsoftware.com/t/get-post-component/47456 "2025-05-26T17:01:00Z")

</div>

One thing I was looking for was a component that allowed me to GET/POST arbitrary data to a URL and get the result. I ended up writing one myself and found it relatively easy. It works for me and my use case and if I ca…

---

## [Fun with flex snippets](https://forums.realmacsoftware.com/t/fun-with-flex-snippets/47683)

<div class="topic-metadata">

**Author:** [@upssjw](https://forums.realmacsoftware.com/u/upssjw)\
**Replies:** 2\
**Last updated:** [May 21, 2025, 3:46pm UTC](https://forums.realmacsoftware.com/t/fun-with-flex-snippets/47683 "2025-05-21T15:46:39Z")

</div>

I have been putting together lots of quick snippets for myself, not sure if anyone is interested, if so will provide free once we have ElementsPacks, even though not finished I can push bits together quite quickly. I ha…

---

## [Html component javascript path](https://forums.realmacsoftware.com/t/html-component-javascript-path/47594)

<div class="topic-metadata">

**Author:** [@jamorin](https://forums.realmacsoftware.com/u/jamorin)\
**Replies:** 1\
**Last updated:** [May 16, 2025, 4:04pm UTC](https://forums.realmacsoftware.com/t/html-component-javascript-path/47594 "2025-05-16T16:04:27Z")

</div>

I’m a little confused on something. I was fiddling around with trying to create a little html component that references javascript. On a regular hand-coded site, I’d be putting a link to the javascript file at the end o…

---

## [Query DevPack Identifier?](https://forums.realmacsoftware.com/t/query-devpack-identifier/47558)

<div class="topic-metadata">

**Author:** [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Replies:** 2\
**Last updated:** [May 15, 2025, 12:14pm UTC](https://forums.realmacsoftware.com/t/query-devpack-identifier/47558 "2025-05-15T12:14:46Z")

</div>

Can I retrieve a DevPack’s ‘identifier’ (e.g. “com.logrunner.xyz”) as a “{{variable}}” in a Component contained in the DevPack?

---

## [Work in Progress: CMS Replacement for Foundry 3 Alloy](https://forums.realmacsoftware.com/t/work-in-progress-cms-replacement-for-foundry-3-alloy/46684)

<div class="topic-metadata">

**Author:** [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Replies:** 18\
**Last updated:** [May 15, 2025, 10:09am UTC](https://forums.realmacsoftware.com/t/work-in-progress-cms-replacement-for-foundry-3-alloy/46684 "2025-05-15T10:09:56Z")

</div>

I have seen various posts referencing a CMS for Elements, so I thought I would share that over the last month or so I have been working with ChatGPT (OpenAI) and Le Chat (Mistral AI) to create a Foundry 3 Alloy replaceme…

---

## [Create grid with static item placement](https://forums.realmacsoftware.com/t/create-grid-with-static-item-placement/47400)

<div class="topic-metadata">

**Author:** [@mmohdher](https://forums.realmacsoftware.com/u/mmohdher)\
**Replies:** 2\
**Last updated:** [May 14, 2025, 8:58am UTC](https://forums.realmacsoftware.com/t/create-grid-with-static-item-placement/47400 "2025-05-14T08:58:54Z")

</div>

Hello, I am trying to create a grid that containes items comparison. i.e. Service package headers A, A, B, and C in the first raw and service items in the first column. Then having a check mark to include a specific s…

---

## [Checking across Components?](https://forums.realmacsoftware.com/t/checking-across-components/47441)

<div class="topic-metadata">

**Author:** [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Replies:** 2\
**Last updated:** [May 7, 2025, 6:58pm UTC](https://forums.realmacsoftware.com/t/checking-across-components/47441 "2025-05-07T18:58:23Z")

</div>

How can I check in a Component whether another related Component exists on the page? My Blog components need to have the ConfigureBlog Component on the page. If it isn’t added I would like flag that up in the Editor as …

---

## [Resource Path Problem](https://forums.realmacsoftware.com/t/resource-path-problem/47311)

<div class="topic-metadata">

**Author:** [@Bill](https://forums.realmacsoftware.com/u/Bill)\
**Replies:** 1\
**Last updated:** [April 26, 2025, 10:37am UTC](https://forums.realmacsoftware.com/t/resource-path-problem/47311 "2025-04-26T10:37:59Z")

</div>

@tpbradley @ben I was using a src="{{page.resourcesPath}}/… for a script call in the Body End section. I then tried moving the script into the Template area: @portal(bodyEnd, includeOnce: true) \<script type="text/java…

---

## [Works in Elements Grid](https://forums.realmacsoftware.com/t/works-in-elements-grid/47141)

<div class="topic-metadata">

**Author:** [@upssjw](https://forums.realmacsoftware.com/u/upssjw)\
**Replies:** 11\
**Last updated:** [April 15, 2025, 10:17am UTC](https://forums.realmacsoftware.com/t/works-in-elements-grid/47141 "2025-04-15T10:17:22Z")

</div>

@dan really cool my grid component works in Elements Grid, just need to tweak a bit

---

## [Odd issue with portal headEnd](https://forums.realmacsoftware.com/t/odd-issue-with-portal-headend/47085)

<div class="topic-metadata">

**Author:** [@vibralogix](https://forums.realmacsoftware.com/u/vibralogix)\
**Replies:** 5\
**Last updated:** [April 10, 2025, 6:59am UTC](https://forums.realmacsoftware.com/t/odd-issue-with-portal-headend/47085 "2025-04-10T06:59:38Z")

</div>

I am trying to add some code to the edn of the HEAD section. This normally works fine but when I do this its adding it to the BODY instead when published. @portal(headEnd, includeOnce: true) \<?php if (function\_exists('s…

---

## [Custom Font with Assets](https://forums.realmacsoftware.com/t/custom-font-with-assets/47066)

<div class="topic-metadata">

**Author:** [@Beblebroks](https://forums.realmacsoftware.com/u/Beblebroks)\
**Replies:** 6\
**Last updated:** [April 9, 2025, 10:07am UTC](https://forums.realmacsoftware.com/t/custom-font-with-assets/47066 "2025-04-09T10:07:03Z")

</div>

Hi, we are looking into to use a purchased non google font with a custom theme. How would we define that font as a resource. since it is not a google font and the font should be part of the theme.

---

## [Property Defaults?](https://forums.realmacsoftware.com/t/property-defaults/47077)

<div class="topic-metadata">

**Author:** [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Replies:** 4\
**Last updated:** [April 8, 2025, 8:56pm UTC](https://forums.realmacsoftware.com/t/property-defaults/47077 "2025-04-08T20:56:06Z")

</div>

I have added a few new properties to one of my DevPack Components. When I save the properties in the Nova Editor, Elements updates the Component in the property inspector in the Editor. As I haven’t yet set the propert…

---

## [Properties "visible" Bug](https://forums.realmacsoftware.com/t/properties-visible-bug/47048)

<div class="topic-metadata">

**Author:** [@Doobox](https://forums.realmacsoftware.com/u/Doobox)\
**Replies:** 1\
**Last updated:** [April 4, 2025, 4:40pm UTC](https://forums.realmacsoftware.com/t/properties-visible-bug/47048 "2025-04-04T16:40:41Z")

</div>

My mistake. Always right after you post!

---

## [DevPack Collection / Publishing Issues](https://forums.realmacsoftware.com/t/devpack-collection-publishing-issues/46980)

<div class="topic-metadata">

**Author:** [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Replies:** 12\
**Last updated:** [April 2, 2025, 6:43pm UTC](https://forums.realmacsoftware.com/t/devpack-collection-publishing-issues/46980 "2025-04-02T18:43:32Z")

</div>

Over the last day, I have been going round in circles trying to get Collections working in my DevPack. I couldn’t get the Collection setup to work and so I loaded the RealMac acme.table DevPack from Github and installed …

---

## [ServBay & Debugging PHP](https://forums.realmacsoftware.com/t/servbay-debugging-php/47018)

<div class="topic-metadata">

**Author:** [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Replies:** 0\
**Last updated:** [April 1, 2025, 9:49am UTC](https://forums.realmacsoftware.com/t/servbay-debugging-php/47018 "2025-04-01T09:49:49Z")

</div>

At the recommendation from @ben I am giving ServBay a try; I normally use Mamp Pro. I wanted to see if I could use debugging in PHPStorm to be able to single step through PHP code in a published Elements website, while…

---

## [Icons in properties: is there a list?](https://forums.realmacsoftware.com/t/icons-in-properties-is-there-a-list/46968)

<div class="topic-metadata">

**Author:** [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Replies:** 3\
**Last updated:** [March 28, 2025, 10:06am UTC](https://forums.realmacsoftware.com/t/icons-in-properties-is-there-a-list/46968 "2025-03-28T10:06:23Z")

</div>

Is there a list somewhere of icon names that can be used in Elements properties? For example: { "title": "Rows", "icon": "tablecells", "properties": \[ { "title": "Links", …

---

## [DevPack Presets?](https://forums.realmacsoftware.com/t/devpack-presets/46964)

<div class="topic-metadata">

**Author:** [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Replies:** 2\
**Last updated:** [March 27, 2025, 4:39pm UTC](https://forums.realmacsoftware.com/t/devpack-presets/46964 "2025-03-27T16:39:12Z")

</div>

For the blog DevPack I am working on, I have pre-defined page layouts (basically copying Alloy) and will be enabling the user of the DevPack to specify the format of each post shown in the layout. There can be up-to thre…

---

## [PHP HTML Substitution?](https://forums.realmacsoftware.com/t/php-html-substitution/46920)

<div class="topic-metadata">

**Author:** [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Replies:** 1\
**Last updated:** [March 26, 2025, 6:49pm UTC](https://forums.realmacsoftware.com/t/php-html-substitution/46920 "2025-03-26T18:49:38Z")

</div>

In my blog DevPack, I am using substitution codes that can be inserted into Text or Typography components and the Devpack will substitute those codes with the metadata values from a displayed post. The codes (at the mom…

---

## [Elements transcribing PHP code?](https://forums.realmacsoftware.com/t/elements-transcribing-php-code/46790)

<div class="topic-metadata">

**Author:** [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Replies:** 14\
**Last updated:** [March 26, 2025, 6:32pm UTC](https://forums.realmacsoftware.com/t/elements-transcribing-php-code/46790 "2025-03-26T18:32:21Z")

</div>

I am continuing the process of trying to migrate my working stand-alone blog to Elements. Still waiting on a response on how to handle included PHP files. For the moment, I am just moving the files into a folder in the …

---

## [Custom Component: PHP includes](https://forums.realmacsoftware.com/t/custom-component-php-includes/46746)

<div class="topic-metadata">

**Author:** [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Replies:** 11\
**Last updated:** [March 25, 2025, 9:07pm UTC](https://forums.realmacsoftware.com/t/custom-component-php-includes/46746 "2025-03-25T21:07:18Z")

</div>

I am starting to work on turning my CMS blog into components. :slightly\_smiling\_face: What is the best way to handle custom components in a php pages that include separate php code stored in a folder. For example in my…

---

## [PHP Code Dynamic Tailwind Classes Heads-Up!](https://forums.realmacsoftware.com/t/php-code-dynamic-tailwind-classes-heads-up/46302)

<div class="topic-metadata">

**Author:** [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Replies:** 12\
**Last updated:** [March 25, 2025, 8:44am UTC](https://forums.realmacsoftware.com/t/php-code-dynamic-tailwind-classes-heads-up/46302 "2025-03-25T08:44:14Z")

</div>

I had been trying to figure out why my PHP code that creates a dynamic HTML table wasn’t styling the table correctly. What was even more confusing was that if I viewed the source in the browser and then copied the table …

---

## [@include & disappearing PHP code?](https://forums.realmacsoftware.com/t/include-disappearing-php-code/46839)

<div class="topic-metadata">

**Author:** [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Replies:** 4\
**Last updated:** [March 24, 2025, 5:20pm UTC](https://forums.realmacsoftware.com/t/include-disappearing-php-code/46839 "2025-03-24T17:20:42Z")

</div>

I am trying to use the @include function in my DevPack index.php file. :thinking: In the documentation, it says @include(“hello”) which looks in the include folder for hello.html. I was trying to include layouts.php an…

---

## [Session\_start(): Session cannot be started](https://forums.realmacsoftware.com/t/session-start-session-cannot-be-started/46804)

<div class="topic-metadata">

**Author:** [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Replies:** 6\
**Last updated:** [March 24, 2025, 4:59pm UTC](https://forums.realmacsoftware.com/t/session-start-session-cannot-be-started/46804 "2025-03-24T16:59:27Z")

</div>

While using Elements Preview my Elements page with a DevPack component that has PHP code at the start like this: @portal(pageStart, id: "com.logrunner.listblogposts", includeOnce: true) \<?php // Version: 1.4.0 Logrunner…

---

## [How to collapse content in edit mode?](https://forums.realmacsoftware.com/t/how-to-collapse-content-in-edit-mode/45984)

<div class="topic-metadata">

**Author:** [@Bartje](https://forums.realmacsoftware.com/u/Bartje)\
**Replies:** 3\
**Last updated:** [March 21, 2025, 5:30am UTC](https://forums.realmacsoftware.com/t/how-to-collapse-content-in-edit-mode/45984 "2025-03-21T05:30:01Z")

</div>

I’ve created a custom component whose content can take up a lot of space. Is there a possibility to collapse the content in edit mode (via a property), so there’s more space for page development?

---

## [Theme Font Control](https://forums.realmacsoftware.com/t/theme-font-control/46747)

<div class="topic-metadata">

**Author:** [@Doobox](https://forums.realmacsoftware.com/u/Doobox)\
**Replies:** 3\
**Last updated:** [March 15, 2025, 4:54pm UTC](https://forums.realmacsoftware.com/t/theme-font-control/46747 "2025-03-15T16:54:53Z")

</div>

Can’t quite get my head round the default values of controls that tie into the theme studio. So do I need my default to be something that exists in the theme studio? If so, I don’t understand how I can guarantee what I…

[Previous page](https://forums.realmacsoftware.com/c/elements-api/56.md?page=2)

[Next page](https://forums.realmacsoftware.com/c/elements-api/56.md?page=4)
