Jump to content

Editing the Display of a Record


Recommended Posts

So I set up a database where people can submit records and it acts as an application process, but my issue is the way its displaying the record. I'm pretty sure its in the database templates but does anyone have a template or could tell me how to make one that would display this in a better way for example something like this: https://gyazo.com/036360ab32e299f892d6058b96cf94ba 
Any help is greatly appreciated, thank you!

46cb92c3626689054b816c4da447ff0a.thumb.png.5105317985a3e279d4ca3210f9e709e2.png

Link to comment
Share on other sites

Yeah, that’s what I meant. If you want more styling, add line breaks and so on, you would need to switch to “custom” instead of “no formatting”, but that needs some understanding of HTML. You could put something like that in the custom field:

<p>[Your field title]: {$value}</p>

This would show each entry on a single line and you can manually add the title name as well. But you don’t have to touch the templates. That would even be more complicated. 

Link to comment
Share on other sites

3 minutes ago, opentype said:

Yeah, that’s what I meant. If you want more styling, add line breaks and so on, you would need to switch to “custom” instead of “no formatting”, but that needs some understanding of HTML. You could put something like that in the custom field:


<p>[Your field title]: {$value}</p>

This would show each entry on a single line and you can manually add the title name as well. But you don’t have to touch the templates. That would even be more complicated. 

Thank you this is what I needed, also I was messing with it and you can use this for a more simple version.
 

<p>{$label}: {$value}</p>

It auto inputs the field title for you 😄

Link to comment
Share on other sites

13 minutes ago, opentype said:

Yeah, that’s what I meant. If you want more styling, add line breaks and so on, you would need to switch to “custom” instead of “no formatting”, but that needs some understanding of HTML. You could put something like that in the custom field:


<p>[Your field title]: {$value}</p>

This would show each entry on a single line and you can manually add the title name as well. But you don’t have to touch the templates. That would even be more complicated. 

I ended up using this in the end thanks for the help.

<b>{$label}</b>
<p>{$value></p>

But one more thing, sorry for all the trouble, how can I have the title and content display as a custom field because currently as you can see here it displays the value "Yes" at the very top for content and the title is only displayed as the title.

Link to comment
Share on other sites

The “Yes” is your “content” field. You can only make it a custom field, if you assign the “content” field type to another field. In theory, you can …

  • create another text field
  • make it the content field
  • make it “not required”
  • and then remove all permissions from that field so it won’t show up anywhere on the front end
Link to comment
Share on other sites

2 minutes ago, opentype said:

The “Yes” is your “content” field. You can only make it a custom field, if you assign the “content” field type to another field. In theory, you can …

  • create another text field
  • make it the content field
  • make it “not required”
  • and then remove all permissions from that field so it won’t show up anywhere on the front end

Perfect thank you!

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...