Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-01-30 02:00:07

Josefin
Member
Registered: 2008-01-30
Posts: 18

Can not make new page templates work!

When I try to make a new page template in the Presentation > Pages section, I get a 404 error message and cant view any new templates.

I did as in the “Textpattern Soulutions” -book, and named a new template homepage_test and copied my html-code in there, but somehow it wont be found.

If I type: “www.mysite.com/index.php?s=default”

it all works fine, but if I type:

“www.mysite.com/index.php?s=homepage_test” I get the 404 error.

What is wrong??

Offline

#2 2008-01-30 02:30:46

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: Can not make new page templates work!

looks like you didn’t actually create a section? (presentation -> section)

Offline

#3 2008-01-30 02:39:54

Josefin
Member
Registered: 2008-01-30
Posts: 18

Re: Can not make new page templates work!

Aha!
I did create a section called “start” that used the new template, but i typed the path to the template instead of the section:
“www.mysite.com/index.php?s=homepage_test”
instead of the path to the section
http://www.mysite.com/index.php?s=start

So now it works! Thanks for pointing that out. (If i would have read the book instructions 8 times instead of 2 I should have seen that :-))

Thanks again!
/Josefin

Offline

Board footer

Powered by FluxBB