Custom Fields on Pages - Backlog?

I’m wondering how many partners would find useful the ability to add custom fields on pages in the Treepl admin. For example (and against my every recommendation) I have a client that wants to use images for page titles instead of dynamically populating the title via Liquid in the page template. They want to use a font for the page title that isn’t a web font and they can’t find anything close. Again, I know why this is wrong for so many reasons, but it brings up a common issue that I think could be circumvented by adding custom fields on the pages - just like Custom Modules. I think this was a big missing feature with Adobe BC as well. While this is a bad example of how it could/should be used, does anyone agree that the ability to add custom fields to the pages would be very useful? It would be great, in this instance, to just have an image field that the client could use to select the image for each page rather than having to hard code it in the Content Template or WYSIWYG editor at the page level. Just thought I’d check here to see if this should/could be added to the backlog? I’m open to any suggestions if there is a good workaround. I know we could create all of the pages as Custom Modules, but I’d like to be able to just have regular pages on the site and not have everything set as a Custom Module, but maybe that’s the only way.

Thank you,

  • Ryan
1 Like

Custom fields for pages would be very useful indeed. That would give them the same power as custom modules. Use cases e.g. are sites which have different banner pictures and individuel collections of content in the sidebar of pages (e.g. this site: https://www.angiologie-giessen.de/).
We solved that by setting up a custom module. Each item holds additional content for the connected page. This would be obsolete if we could set up custom proberties for pages.

1 Like

Totally makes sense to open this up for Pages just like all other modules.
Hopefully there’s no technical reason why this can’t be done.

1 Like

@StudioRTP - I think it is a great idea, I can see several cases where it would be very useful :slight_smile:

@vlad.z @Eugene - Do you want this in the public backlog or is this “easy”, so it would be easy to include in one of the upcoming sprints?

Ryan: I know that you are not looking for a solution to your clients font/image problem, but just wanted to mention that you can make a webfont of any font. You would need to check the license etc. for the specific font, but it can be done :slight_smile:

More info: https://www.pagecloud.com/blog/how-to-add-custom-fonts-to-any-website

@Peter-Schmidt - Thank you for the information here! I meant to add to this post that I found a way to convert the font to a webfont. I’m afraid to ask how long that has been ‘a thing’? Lol! I had no idea, but was doing some Googling and came across a converter. It seems to get the job done (here’s an example page: https://sgnaturespace.treepl.co/team you can see the script font used for the page title). There is an unfortunate delay when the page loads to load up the font as you’ll see the ‘default’ font pop up and then it quickly converts to the font that is set. I tried a few different ways of moving the font style around in the stylesheet to see if it would help, but I’m not having any luck. The good news is that the client is happy, so I’ll take it as a win. I’ll take any victory in 2020 as a win! Lol

Thank you all for contributing here - I think this would be a really nice feature at the page level if it’s not a huge change to the platform. I know @vlad.z and @Eugene (and all of the others at Treepl) have their hands full right now!

Thank you again,

  • Ryan
1 Like

It would be better if this request will be converted to a public backlog request so we could prioritize it among all requested features and improvements.

Great - Added here:
https://treepl.co/public-backlog-state/request/custom-fields-on-pages

@StudioRTP, @TimL , @Adam.Wilson - Please let me know if you have anything you want to add :slight_smile:

1 Like

Thank you @Peter-Schmidt! Looks great, I appreciate the add!

1 Like

This would be a great feature. My only concern is that we need to have the option of being able to include or exclude these fields in the indexed content for site search.

@hopestew - Can you clarify that a bit?
I see them work just as fields in custom modules and we can work with that just like any other info from fields in custom modules?

Just not entirely sure what you mean, maybe you can give a couple of example on which fields you would like to index or exclude? :slight_smile:

Site Search indexes content in the Name, Description, and Search Keywords field in Pages and Custom Modules but not any custom fields. You may not want some custom fields to be indexed, eg the field may be used to create a css class. Other custom fields you do want indexed so that its content can be found when a visitor to the website uses the Site Search function.

Saw this come up in another post. Here is a thought.
Use “Site Information” As the Data Modules for Content Templates/Pages.

Here’s how it would work.
Site Information Module

  • Use Site information as it is today however instead of adding a value you leave it blank. Or maybe adding a value a default value. (Some Data Types need to be added like List, dropdown, etc.)

  • In the Site Information Group settings there would be an option to assign the group to a Content Template.

  • At the item Property level you could also deselect the Content Template that is displays on. This way if you have multiple Content Templates but maybe you don’t want a property on one you can deselect it so it doesn’t display on that template.

Content Template

  • While we don’t need the data fields to display on the template. We could have them display to set any default values for that template and to show the Liquid output code of the Site Information property to add to our template by simply copy/paste.

Pages

  • The magic happens when you assign the template to the page. Once assigned the Site Information properties assigned to that template will populate the custom data fields on the page editor just like in a Custom Module.

  • It could even populate when entering Custom Module items and any other system module that the template is assigned to.

That’s the Idea.

Now that the Site information module has turned into a data setup module. I would reliable it as Site Data. I know the output code is “si” for site information and changing to Site Data would not make that work but I think we will be okay.

The reason for the change is we then create a new Site Information section and assign the basic site questions created in the Site Data Module like “Name”, “Address”, etc.
The New site module would be simple for our clients to use. They just fill in the blanks like any other form.

1 Like

@StudioRTP This is a great idea. I would find this useful. One very common example would be for hero images on pages. This ends up being a thing on most of my sites, for which I create a module. It’s just a bit convoluted to have a module for this. It would be much easier if it could just be a custom field.

2 Likes

Yes, same here - I use custom modules as well. While custom modules work, and they work well, it just causes some confusion from a client content management perspective. The other reason this would be handy is that it’s difficult for clients to have multiple-column layouts for their content if you’re using bootstrap (or another framework) and the client doesn’t have any coding experience. It would be great to be able to add custom fields for a grid, for example ‘Left Column’, ‘Middle Column’, ‘Right Column’. Again, I know this can all be done with Custom Modules, I just think it would be handy to have at the page level as well. There are so many layout drag-and-drop themes for platforms such as Wordpress that it would be great to compete with the ease-of-content-management by offering the ability to drag and drop columns based on a framework or drag and drop specific design elements that you can include with a theme such as columns, horizontal rules, video, image sliders, etc. I’m sure adding the ability to add components like that is an undertaking - just some food for thought to help Treepl compete with some of the popular platforms.

1 Like

I’m using a custom module to fully replace pages and page folders exactly for that purpose at the moment. I post a video about my experience as soon as the site is finished.

1 Like

Thanks Tim! Yeah, that will continue to be my plan. And honestly, it’s fine if it remains my plan. Just thought it might be nice and make training/understanding content management a bit easier if some of those capabilities were built in at the page level. On the sites that I manage, it’s no big deal and super easy, but it seems I have to train and retrain clients on where to go to edit certain things. We’ve all been there though - that’s not the fault of the CMS. Operator error is operator error after all. However - that’s not the worst thing. If it gets too easy we’ll all be unemployed! Lol!

@StudioRTP I totally get you. My biggest problem in training my clients is mostly to make it clear, that some content on a site can be stored in extra modules (e.g. portfolio). Whereas other content sits in the Content property of an item in Pages. And some like phone numbers or address is hold in Site Settings. My biggest hope was that Treepl will quickly develop nICE in a way, that my clients can edit, add and delete ANY content with it - without ever having to know in which modules the content is kept.

1 Like

That’s right - I know it’s a big ask and I don’t expect this to be done this year, but it would be great if there was a front-end content management editor that would allow clients to add in elements that we can create the styles for and they can just drop in place like tables, columns, sliders, etc. I’m not brave enough to approach the Treepl CMS team with this request right now while they are working on the huge infrastructure update, but I think adding this type of content management, along with the existing great features on the platform, would really help Treepl CMS lead the pack on content management systems. Don’t get me wrong, I use Treepl CMS for 99% of my projects right now and have no plans of changing that - I’m just thinking what might help to make the platform blow alternate platforms like Duda, Wordpress, Webflow, etc. out of the water.

1 Like

@StudioRTP I think @alex has concepts like this on his mind, too. I like that he deciced to focus on the new stack of technology first, though. Maybe the team has resources for that next year :-).