ShareFile

Create Section Headers & Navigation Links with Podio Calc Fields

You can organize content in Podio items with:

  1. Section headers for better readability.
  2. Colored headers for visual emphasis.
  3. Navigation links for easy access to different sections within the item.

Markdown formatting and JavaScript logic in Podio calculation fields can be utilised to create dynamic headers and navigation links.

Examples

Main Section Headers

var a = @Address

"# SECTION HEADER TEXT"

+ "\n"

+ "---"

+ "\n"

+ "The **Section Header** section is where you can add basic information about the client."
<!--NeedCopy-->

Sub Section Headers

//@Unique ID

"# Section Header Text Goes Here " + "\n ---"
<!--NeedCopy-->

Colored Section Headers

var x = @Unique ID;

var lrg = "800";
var hgt = "40";
var bg = "366299";
var ft = "FFFFFF";
var txt = "HEADER NAME HERE".replace(/ /g, "%20"); // Replace spaces with %20

"![](http://dummyimage.com/" + lrg + "x" + hgt + "/" + bg + "/" + ft + ".png&text=" + txt.toUpperCase() + ")"
<!--NeedCopy-->

MULTIPLE:

@Unique ID

var sec1 = '**[LINK NAME 1](#field)**'

var sec2 = '**[LINK NAME 2](#field-2)**'

var sec3 = '**[LINK NAME 3](#field-3)**'

sec1 + " | " + sec2 + " | " + sec3
<!--NeedCopy-->

SINGLE:

@Unique ID

var sec10 = '**[HOME](#navigation-links)**'

sec10 + " "
<!--NeedCopy-->
Create Section Headers & Navigation Links with Podio Calc Fields