Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-05-03 10:15:59

shotoshi
Member
Registered: 2005-10-08
Posts: 48
Website

section_list tag

Just been trying to use the section_list tag to output the section ‘title’, not section name
but there doesn’t appear to be any provision for this attribute.

Is there a work around?

Offline

#2 2007-05-03 11:11:49

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: section_list tag

section_list does output the title.

Offline

#3 2007-05-03 12:10:31

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: section_list tag

I guess you saw the textbook entry

Last edited by colak (2007-05-03 12:11:01)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#4 2007-05-03 12:50:20

shotoshi
Member
Registered: 2005-10-08
Posts: 48
Website

Re: section_list tag

Oops, sorry Robert, I meant the section ‘name’.

I have section names as plural e.g. schools, events etc and section title as singular, as in school, event etc

The reason being is that I want to output the section title ‘School’ when I post an article to that section.

But, I want ‘schools’ as the section name in the URL e.g. mysite.com/schools

So, when I use section_list it outputs the title in my nav as School (title), when I actually want the section name to appear
in the main nav, not the title.

Offline

Board footer

Powered by FluxBB