Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-12-15 13:43:21
- matthijs
- Member
- Registered: 2008-12-15
- Posts: 32
Subpages and sub-subpages in textpattern
I understand the general way of textpattern of having sections and pages within those sections
www.example.com/about
www.example.com/about/mike
I’d like to know if it’s possible to have a deeper hierachies? Two levels is a bit too limiting in some situations. For example, I’d like
www.example.com/about
www.example.com/about/employees
www.example.com/about/employees/mike
etc
Is that possible in some way? I’d prefer to use a native textpattern functionality before I’m going to hack my way with a htaccess file.
Thanks!
Offline
#2 2008-12-15 16:12:40
- jelle
- Member
- Registered: 2006-06-07
- Posts: 165
Re: Subpages and sub-subpages in textpattern
Hi Matthijs,
Take a look at the excellent gbp_permanent_links plugin. Or do a search on plugins….there are other plugins that offer this functionality.
Offline
#3 2008-12-15 16:25:51
- matthijs
- Member
- Registered: 2008-12-15
- Posts: 32
Re: Subpages and sub-subpages in textpattern
Hi Jelle, thanks for the reply. I’ll take a look at that plugin(s).
So you say this isn’t possible without a plugin? In general I prefer doing things without plugins. Relying on something which might break with a future update and relying on the continuation of the plugins’ development isn’t something I like.
Offline
Re: Subpages and sub-subpages in textpattern
Not doable without plugins.
Possible with gbp_permanent_links.
Re: relyiong on something which might break -> not usually the case with Txp nor Txp plugins.
Re: continuation of plugins’ development -> Graeme (gbp_permanent_link author) updated his plugin yesterday, and he is working on a totally new version (made from scratch) for this plugin that I hope it will blow our minds about what could be achievable regarding URLs on Txp.
Offline
#5 2008-12-15 16:50:51
- matthijs
- Member
- Registered: 2008-12-15
- Posts: 32
Re: Subpages and sub-subpages in textpattern
Ok thanks for the replies. I’ll take a better look at that plugin then or rethink if there’s a compromise in how I could build the pages I want.
About the breaking: I know it won’t happen often. But this is not my own site but a clients’. I really try to use as little plugins or extensions as possible. Maybe the chance of something going wrong is small, but if you have 30+ sites with different systems (textpattern, wordpress), and many different plugins in use, sooner or later something’s going to break with an update. And those bugs are most often very difficult to solve.
The limitations of the URL building in textpattern itself is too bad. Maybe this functionality can be build in a future version of textpattern.
Offline
#6 2008-12-16 10:52:45
- jelle
- Member
- Registered: 2006-06-07
- Posts: 165
Re: Subpages and sub-subpages in textpattern
matthijs wrote:
I really try to use as little plugins or extensions as possible.
I adopted that strategy aswell. Not because I have experienced any breaking plugins but just too keep my txp install clean and tidy. A lot can be accompliced with just txp with a bit of creative useage of it’s functions/tags. When I do need a plugin, I do thorough testing and walk through the code to see what it’s actually doing. And finally I keep an eye on the plugins thread on this board. Is it active?…does it get updated?….how is it maintained. In the case of permanent_links I can tell you that it’s put together very professionally and Greame does a great job maintaining it. Just look at the forum. He’s putting out fixes, tests and updates sometime’s minutes after someone reported a problem. permantent_links has been in my standard txp install for over 2 years now and I never had any problems.
matthijs wrote:
Maybe this functionality can be build in a future version of textpattern.
There are plans for subsections in 4.1……but thats far in the future.
Offline
#7 2008-12-16 12:03:18
- matthijs
- Member
- Registered: 2008-12-15
- Posts: 32
Re: Subpages and sub-subpages in textpattern
Indeed, 40+ pages of forum discussions about the plugin tells something about its’ development.
I do know my way around PHP so will take a close look at the plugin and see what it does and how exactly.
Offline
Re: Subpages and sub-subpages in textpattern
The whole point of Textpattern is extensibility via plugins.
It seems overly cautious – almost paranoid – to deny yourself of desirable functionality which is achievable with a plugin because of vague and unfounded concerns about the plugin’s longevity.
Besides – even if a plugin was “orphaned”, the version you’ve installed won’t suddenly stop working…
Keith
Blyth, Northumberland, England
Capture The Moment
Offline
Re: Subpages and sub-subpages in textpattern
matthijs wrote:
Indeed, 40+ pages of forum discussions about the plugin tells something about its’ development.
Indeed it does. I’m the first to admit there has been lots of large gaps in development and support (for various reasons). The good news is that I’m currently able to maintain the existing plugin and I’m working hard to develop a completely new version, rewritten from the ground up. Should make things reliable, easier to maintain and flexible through it’s own API. I’m planning on doing a subpage/subsection example plugin to show off this feature.
But of course the future is an unknown – all I can say is that I’m not (or ever have) planning on disappearing!
I do know my way around PHP so will take a close look at the plugin and see what it does and how exactly.
Feel free to take a look (there is a link to my github repo in my footer). Let me know if you have any thoughts and/or suggestions.
Offline
#10 2008-12-17 11:45:39
- matthijs
- Member
- Registered: 2008-12-15
- Posts: 32
Re: Subpages and sub-subpages in textpattern
It seems overly cautious – almost paranoid – to deny yourself of desirable functionality which is achievable with a plugin because of vague and unfounded concerns about the plugin’s longevity.
Besides – even if a plugin was “orphaned”, the version you’ve installed won’t suddenly stop working…
bq.
Well it’s just past experience with different blogging/cms tools. And again, if it was my own site I would not care that much, but a clients’ site is different. I’m responsible, if something breaks I am blamed. Explaining “an extension of the cms running your site started acting weird after I updated the cms” is no excuse to them.
So even if nothing is being done on a plugin, it can break by some future change in textpattern. So yes, I am cautious. If there is a solution not needing a plugin, even if it takes a bit more work, I’ll take the solution without the plugin. Sorry plugin developers ;)
Feel free to take a look (there is a link to my github repo in my footer). Let me know if you have any thoughts and/or suggestions.
bq.
Thanks for pointing out the link to that page, I’ll take a look.
Offline
Re: Subpages and sub-subpages in textpattern
matthijs wrote
Explaining “an extension of the cms running your site started acting weird after I updated the cms” is no excuse to them.
That’s why I test and make changes on a local development server first.
TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX
Offline
#12 2008-12-17 23:10:57
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: Subpages and sub-subpages in textpattern
graeme wrote:
…I’m planning on doing a subpage/subsection example plugin to show off this feature…
Great!
Offline