Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
set up deeper sections (e.g. /resources/news/)?
I need to set up a few deeper sections on my site, while still allowing for the root to have the default homepage. I can think of a few hacks for my particular situation, but was wondering if there’s a good way to do this?
Thanks in advance!
Offline
#2 2006-02-15 23:14:51
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: set up deeper sections (e.g. /resources/news/)?
Not till 4.1.
Alex
Offline
#3 2006-02-15 23:21:32
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: set up deeper sections (e.g. /resources/news/)?
I don’t think there’s a definitive solution – at least until nested sections make it into the txp core
having said that, there are some workarounds using tags (see chh_keywords) or plugins like sgb_url_handler … and some people have built their own solutions by modifying the core (I think datafirm’s company does this for UW Admissions site, and there’s probably other examples)
report back if you have any ideas/solutions, I’m all ears : )
Offline
#4 2006-02-15 23:23:12
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: set up deeper sections (e.g. /resources/news/)?
yowsa, how good’s that!
Offline
Re: set up deeper sections (e.g. /resources/news/)?
Zem, it’s not my personal site (nathanlogan.com), it’s another site where I just installed the newest version of TxP (4.0.3). Does that change things at all?
And nardo, thanks for the info. I took a look at sgb_url_handler, and it looks fairly promising.
My ideas were to either do some sort of Apache rewriting rules or to create a PHP solution that would pull the page content from where TxP nests it to the directory where I want it nested. That is, I would include() the TxP page though a PHP file in the /resources/news/ directory. I hope that explanation was clear – it felt a little punchy.
Thanks a lot for the help, guys.
Offline