Elements 1.4.1 (23894)

Hello again,

Yes, we’re doing a release on a Friday night… what could possibly go wrong?

In this build we’ve added some CMS related additions. Watch the video below to learn how to use the new Related Items CMS Component and log manager.

We also have some Docs on the log manager here.

What’s New in Elements 1.4.1?

  • New Related Items CMS Component
  • New CMS Log Manager added

Purchase a License

You can visit the elementsapp.io website to purchase a license.

Get the Update

Elements should prompt you while it’s running to let you know there’s an update. If it doesn’t, you can select the “Check for Updates…” menu option from the “Elements” app menu.

Alternatively, you can always download the latest build of Elements here.

Give Feedback

If you are running a licensed copy of Elements, please post all feedback in the Feedback Forum. You can use the Elements > Send Feedback… menu item to automatically pre-fill the build number into a new topic.

2 Likes

ITS FRIDAY :thinking: :see_no_evil_monkey: :tada: :confetti_ball:

1 Like

It’s Friday! :clinking_beer_mugs:

nice little tool! … and now playing with the new related items CMS component

1 Like

That’s really unfortunate. It seems that the “related items” feature doesn’t work with the way I’ve set up my “blog.”

Am I correct in assuming that the related items only work if the overview page uses the item template within the collection item?

Since there’s still the canonical tag issue — and I still want the pages to be indexed — I’ve been creating them directly in the page manager instead.

However, when I do that and try to use the related items feature, it doesn’t seem to find any proper connections.

It’s a bit hard to understand what you’re trying to do, but… The related item component is ideally for use on a post page within the item component.

Hmm, if all your pages are hard coded in the page manger it’s not going to work.

Each individual blog page (URL) was created directly in Elements, but the content itself is pulled from the CMS via the corresponding Markdown files.

I’ve sent you and Ben an email with a link to the project file.

If you find some time after the weekend to take a look at it, I’d really appreciate it.

1 Like

I got it! I watched Ben’s video again and realized that I hadn’t placed the related items component inside the corresponding CMS item that provides the data for processing.

Now everything is working. BUT I noticed one thing: when I set the limit to 3 in the related items settings, only 2 are displayed. If I set the limit to 4, only 3 show up, and so on…

Not a big deal overall — just a small cosmetic issue.


Glad you got it working :slight_smile:

Sounds like that’s a minor “off by one” issue, I’ll get @ben to take a look and get it fixed up :+1:

I’ve managed to get this issue fixed, so it now returns 3 results when you ask for 3 results :smiley:

This fix will go out at some point next week. No changes needed in your project, it’ll just start working as expected :slight_smile:

I updated to 1.4.2 - now my blog displays the following error (when shown in Safari - I haven’t published it).

Am I doing something daft again ?

Parse error: syntax error, unexpected identifier “version” in /Users/Jol/Library/Containers/com.realmacsoftware.rapidweaverelements/Data/tmp/RapidWeaver/925/RWDocumentPagePreview/document-D38F6C6A-0E0E-4AEA-9D02-2A5A733EE1C0/blog/index.php on line 216

Linky here - elementsapp://downloadDocument/1V4UG4TY3K5s

Can you try quitting Elements, and restarting your Mac.

Sorry Dan - restarted the Mac and the issue remains.

error line has however changed from 216 to 183 … if that means anything

file available as above if you get the time to take a look

Many thanks, Jol

Parse error: syntax error, unexpected identifier “version” in /Users/Jol/Library/Containers/com.realmacsoftware.rapidweaverelements/Data/tmp/RapidWeaver/1243/RWDocumentPagePreview/document-2AC70D3E-BF73-4C15-8971-857CCAA5F49E/blog/blog/post/index.php on line 183

This isn’t an Elements bug. The issue comes from an error introduced when you edited the Template HTML. The closing </body> tag has been moved before the opening <body> tag, which will completely break the page structure (I’m surprised it’s even loading!).

Click Revert to Default at the bottom of the window to restore the template, then re-add your custom scripts in the correct section of the file.

1 Like

Oops - glad you’re here : )

I have ‘related items’ working great … but what if I want to add an image ? - I can’t seem to get an image to show for each related item, even though the settings are as per the post image.