Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-07-17 17:01:34

davidarthurs
Member
Registered: 2006-06-06
Posts: 30

sections show up via ftp?

Are sections and individual template pages created ONLY in the database or should they show up on the server when I look via FTP? I’m trying to create an archive page but can see nothing created on the server.
Is it a case of putting in a url and the server generated the page or section ?

Last edited by davidarthurs (2006-07-17 17:02:04)

Offline

#2 2006-07-17 17:16:50

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: sections show up via ftp?

No real folders are created. You create a section in Presentation > sections, e.g. ‘articles’, assign it a page template, e.g. ‘archive’, put an article tag on the page, write one or more articles and assign section ‘articles’ to them, and you should be able to view them on yoursite.com/articles/ (or yoursite.com/?s=articles if you use messy url’s).

Textbook is a good place to visit, Textpattern Semantic Model a good article to start with.

Offline

#3 2006-07-17 17:45:17

davidarthurs
Member
Registered: 2006-06-06
Posts: 30

Re: sections show up via ftp?

So if you are trying to create an archive page that is in the root folder – and you create a section called “archives” should your admin permanent link setting be /title – what would the url be?
www.website.com/archives.php ?
or do you have to use /section/title and it would be www.website.com/archives/index.php ?

Offline

#4 2006-07-17 17:51:24

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: sections show up via ftp?

Permanent link mode /title won’t show the section in the url, it will be site.com/article-title.
Permanent link mode /section/title: site.com/section-name/article-title.
So no .php (or other) extensions.

Offline

#5 2006-07-17 18:00:52

davidarthurs
Member
Registered: 2006-06-06
Posts: 30

Re: sections show up via ftp?

Sorry, I’m confused. I’m trying to create a basic archive listing all entries. based on a new template called “archives”.
Do I also need to create an article entry with nothing in it to generate my full list of past articles?
Sorry – I’m more familiar to MT. TXP seems a bit more confusing.

Offline

#6 2006-07-17 18:08:21

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Offline

#7 2006-07-17 18:18:35

davidarthurs
Member
Registered: 2006-06-06
Posts: 30

Re: sections show up via ftp?

but what if you wanted your archives page to be www.website.com/archives.php rather than www.website.com/archives/ how do you make a static page, that is not a directory?

Last edited by davidarthurs (2006-07-17 18:18:45)

Offline

#8 2006-07-17 18:55:41

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Offline

Board footer

Powered by FluxBB