• Resolved torndownunits

    (@torndownunits)


    I have setup a template that shows taxonomy selections. EG “Specialties: {@specialty.name}”. This shows the specialty types selected . It works fine as far as showing the terms, but it has an issue where if there are multiple terms it shows on the front end as “term and term and term”. Is there anyway to have those split by commas “term, term, term”? I am a bit new to setting up these templates, so I have no idea where to even start to look. Thanks for any help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @torndownunits

    You can modify the value separation from within the field advanced options.
    Let me know if this helps!

    Cheers, Jory

    Thread Starter torndownunits

    (@torndownunits)

    When you sat field advanced options, could you give me a bit more detail or a link to a help doc? My auto template just has lines for each taxonomy EG @specialty.name . So where is any setting related to value separation? In my template, taxomony settings, ctp settings? Thanks!

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @torndownunits

    If you edit your Pod fields you’ll see a tab “fieldtype Options”. You can change the default output behavior on that tab.

    Alternatively you can create your own each loop in your Pods templates. Example:

    [each field_name]
    {@title}<br>
    [/each]

    Cheers, Jory

    Plugin Author Jory Hogeveen

    (@keraweb)

    Btw, related to this topic.

    I’ve added some format options as a patch for Pods. See:?https://github.com/pods-framework/pods/pull/7045

    Cheers, Jory

    Thread Starter torndownunits

    (@torndownunits)

    HI again, thanks for the quick replies. You will have to be patient with me as a newb. My terminology may be off.

    *Erased the content*

    An update! I see the way to do this adding fields to the CPT rather than the auto template setup I did. And using this method, of course I can see how to setup the value separation. Thanks!

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @torndownunits

    Good to hear you’ve found it!

    Cheers, Jory

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Issues with template formatting (commas vs “and”))’ is closed to new replies.