Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-12-09 11:28:28

Gallex
Member
Registered: 2006-10-08
Posts: 1,308

sections names

can they start with capital letter? somewhere i remember that can’t, but like i can see, that nothing happens if they do

Offline

#2 2007-12-09 11:48:10

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: sections names

I used to have capitals for the section “names” but I remember having problems with linking as sometimes the capitals worked and other times small letters worked (in the links) so I think it best that you don’t use them. If this is for displaying section names in the page then change the section “title” to what you want including capitals if you like and call that with <txp:section title="1" /> or you can use CSS to modify them with text-transform: capitalize; or text-transform: uppercase; or whatever.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#3 2007-12-09 11:55:37

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: sections names

^^ exactly. Avoid using anything but lowercase for section names. For section titles you can safely use uppercase.

Offline

Board footer

Powered by FluxBB