adding a new page to a template

Got a neat new template? Share it here!
Post Reply
exussum
Jr. Member
Jr. Member
Posts: 79
Joined: November 18th, 2010, 2:51 am

adding a new page to a template

Post by exussum »

Hi guys,

How can i add a new page to a template ?

Ive added the file to the templates folder but when i navigate there it shows a 404.

Is there anything else i need to do ?

Thanks

User avatar
shypike
Administrator
Administrator
Posts: 21043
Joined: January 18th, 2008, 12:49 pm

Re: adding a new page to a template

Post by shypike »

Not much use, since the page needs to be addressed by the SABnzbd code.
There's no one-to-one correspondence between the URL and the template files.
What would your page do if the SABnzbd core knows nothing about it?

exussum
Jr. Member
Jr. Member
Posts: 79
Joined: November 18th, 2010, 2:51 am

Re: adding a new page to a template

Post by exussum »

Ahh, I should have grepped the source first, I see how they are declared.

Thanks for the reply

Post Reply