Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2008-07-17 01:58:47

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Re: Section Within Section

I wouldn’t call my post a rant! In fact the only ranting was one line, about 15 words to be exact, compared to your entire paragraph which is clearly a direct rant at me :S and to be fair bloody well rude!

My point was merely that sub-sections seem like the most obvious feature you would expect in a CMS, I can’t believe the dev’s added sections and never made it so you could choose parent sections. Almost feels like adding headers but not allowing sub-headers. And I don’t see how it would require me to donate thousands to implement such a feature? Isn’t this meant to be an Open-Source community based project? You make it sound like some grumpy sods who are pissed that they are having to even work on Textpattern core!

And as for the X! Is that such a big deal? Here in England, it’s common to end messages with some sort of remark, I guess in your country people don’t end messages politely? x

Last edited by driz (2008-07-17 02:02:01)


~ Cameron

Offline

#14 2008-07-17 02:40:45

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Section Within Section

driz wrote:

Isn’t this meant to be an Open-Source community based project?

Community driven SVN branch, xPattern

Offline

#15 2008-07-17 03:15:01

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Section Within Section

driz wrote:

I wouldn’t call my post a rant! In fact the only ranting was one line, about 15 words to be exact, compared to your entire paragraph which is clearly a direct rant at me :S and to be fair bloody well rude!

Yes, and sorry, both my english and the fact that text communication strips out many layers about the mood, the intonation, etc, make it sound rude. In fact, it was rude, and it was a rant on you, so sorry again.

My point was merely that sub-sections seem like the most obvious feature you would expect in a CMS, I can’t believe the dev’s added sections and never made it so you could choose parent sections. Almost feels like adding headers but not allowing sub-headers.

As you already know, TxP doesn’t have built-in support for subsections, but on this thread you have been suggested some solutions (based on plugins) which, you said, smells like hacks.
Usually, plugins solutions aren’t hacks. Plugins add functionality. Yes, some functionality added by plugins should be in the core, many said. But they aren’t in the core yet, so then, you have the plugin, which adds the functionality you want.
I’ve successfully set a site to simulate subsections in the URL (using categories as subsections), using gbp_permanent_links plug-in.

Do you need more depth? Like 3 or 4 or infinite levels of nested subsections? Then:
  • there is a chance that your site’s architecture is getting out of your hands. Are you sure you need /section/subsection/subsection/subsection/…?
  • TxP is not the tool for the site you are aiming to build. TxP is meant to aim to small/medium sites, and I would bet at least 2-level of nesting sections are enough.

“If there isn’t a solution, why you complain? If there is a solution, why you complain?”.

And I don’t see how it would require me to donate thousands to implement such a feature? Isn’t this meant to be an Open-Source community based project? You make it sound like some grumpy sods who are pissed that they are having to even work on Textpattern core!

I’m guilty here. Ashamed too. Have never donated not even a dollar to TxP development, nor to a plug-in author. Here I am, trying to help (and some times, ranting) at forums.
Of course, helping and posting at forum don’t equal what money could do for devs and plugin developers, and open source software development in general.
But, again, there may be a chance that if you offer some money, someone (a core dev? a plugin dev? a dev who knows the in and outs of TxP?) will be willing to code the feature, and maybe it makes into the core and we all benefit from your action.

I think TxP devs are happy coders, coding what makes them happy, making improvements on each new version.
Maybe, subsections aren’t technically possible at all on TxP 4.0.x series.

And as for the X! Is that such a big deal? Here in England, it’s common to end messages with some sort of remark, I guess in your country people don’t end messages politely? x

I was just curious about that “x” at the end of each post. I asked the question in a similar way you asked your questions.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#16 2008-07-17 03:16:28

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Section Within Section

jm wrote:

Community driven SVN branch, xPattern

I would be almost guilty of that one too. (But, no, I’m not that important)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#17 2008-07-17 03:28:42

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Re: Section Within Section

maniqui wrote:

driz wrote:

I wouldn’t call my post a rant! In fact the only ranting was one line, about 15 words to be exact, compared to your entire paragraph which is clearly a direct rant at me :S and to be fair bloody well rude!

Yes, and sorry, both my english and the fact that text communication strips out many layers about the mood, the intonation, etc, make it sound rude. In fact, it was rude, and it was a rant on you, so sorry again.

My point was merely that sub-sections seem like the most obvious feature you would expect in a CMS, I can’t believe the dev’s added sections and never made it so you could choose parent sections. Almost feels like adding headers but not allowing sub-headers.

As you already know, TxP doesn’t have built-in support for subsections, but on this thread you have been suggested some solutions (based on plugins) which, you said, smells like hacks.
Usually, plugins solutions aren’t hacks. Plugins add functionality. Yes, some functionality added by plugins should be in the core, many said. But they aren’t in the core yet, so then, you have the plugin, which adds the functionality you want.
I’ve successfully set a site to simulate subsections in the URL (using categories as subsections), using gbp_permanent_links plug-in.

Do you need more depth? Like 3 or 4 or infinite levels of nested subsections? Then:
  • there is a chance that your site’s architecture is getting out of your hands. Are you sure you need /section/subsection/subsection/subsection/…?
  • TxP is not the tool for the site you are aiming to build. TxP is meant to aim to small/medium sites, and I would bet at least 2-level of nesting sections are enough.

“If there isn’t a solution, why you complain? If there is a solution, why you complain?”.

And I don’t see how it would require me to donate thousands to implement such a feature? Isn’t this meant to be an Open-Source community based project? You make it sound like some grumpy sods who are pissed that they are having to even work on Textpattern core!

I’m guilty here. Ashamed too. Have never donated not even a dollar to TxP development, nor to a plug-in author. Here I am, trying to help (and some times, ranting) at forums.
Of course, helping and posting at forum don’t equal what money could do for devs and plugin developers, and open source software development in general.
But, again, there may be a chance that if you offer some money, someone (a core dev? a plugin dev? a dev who knows the in and outs of TxP?) will be willing to code the feature, and maybe it makes into the core and we all benefit from your action.

I think TxP devs are happy coders, coding what makes them happy, making improvements on each new version.
Maybe, subsections aren’t technically possible at all on TxP 4.0.x series.

And as for the X! Is that such a big deal? Here in England, it’s common to end messages with some sort of remark, I guess in your country people don’t end messages politely? x

I was just curious about that “x” at the end of each post. I asked the question in a similar way you asked your questions.

Just to let you know I accept your apology mate, I think you make some valid points, but my site is medium sized, so like for instance I might have domain.com/work/websites/ now while that could be an article/category, I feel websites should be a section, with categories of types of sites with articles as the sites. That seems simple to me and very reasonable way of dealing with content, hence why I think Txp should defo have sub-sections. x


~ Cameron

Offline

#18 2008-07-17 07:39:34

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,729
Website

Re: Section Within Section

but my site is medium sized, so like for instance I might have domain.com/work/websites/ now while that could be an article/category, I feel websites should be a section, with categories of types of sites with articles as the sites. That seems simple to me and very reasonable way of dealing with content

Yes, that sounds like a typical portfolio setup. You can achieve this with the standard setup of sections and categories without any problems – it may be ‘semantically’ slightly different to your envisaged approach, but the difference is minimal. For example:

  • each piece of work is an article as you suggest
  • each type of work is a category, e.g. website, print, video, logo…
  • each type of website – e.g. client sector, you don’t say what you mean here – is also a category

This way you could also display via sector, e.g. music, art, non-profit, commercial or whatever and it is quite conceivable that you have done several types of work, e.g. website and print work for that sector. If you include client as a custom_field you can also relate the work from different categories for a single client together.
I acknowledge, it is not exactly the setup you envisaged but certainly no great leap from it, and a potentially sensible portfolio setup that is doable out of the box. If you absolutely have to/want to chain two categories in the url, see my realisation of this over in the smd_query thread (be sure to check the later posts too).

Well meant tip: It’s always a good idea to begin the post with the question rather than the missing solution.

@maniqui: don’t worry too much – long-time forum visitors know you as a funny, sensitive and thoughtful contributor. In German there’s a phrase “Wie man in den Wald hineinruft, so schallt es heraus” (literally translated as “if you holler into the forest, it will holler back”. In English one would say you reap what you sow but I think the German is a better fit here).


TXP Builders – finely-crafted code, design and txp

Offline

#19 2008-07-17 13:53:36

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: Section Within Section

Wow. I leave for a day, and a simple post about plugins for sub-sections get’s really interesting.

)

OK. Deep breath.

This can be boiled down to these simple points.
  • There are a lot of things not in the core that should be – This is one of them.
  • Plugins are not hacks – they extend the functionality of the core – embrace them.
  • You will not see 4.1 anytime soon.
  • If you need subsections – use the plugins and move on.

Maniqui and Driz,
As the late crocodile hunter Steve Irwin once said.
“Crikey! That was a close one! See the jaw SNAP down! WAMMO! Whoooo!”

:)

Offline

#20 2008-07-17 14:26:43

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Re: Section Within Section

Hmm well is their any chance of seeing this added to 4.0.8 or 4.0.7?


~ Cameron

Offline

#21 2008-07-17 14:37:19

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Section Within Section

renobird wrote:

Plugins are not hacks – they extend the functionality of the core – embrace them.

Textpattern is plugin based software, ie. everything can be choosen, plus the core is very very small as it should be. We don’t want to be joomla or drupal with all functions in build, instead a little core that can be tuned to user’s tastes.

driz wrote:

Hmm well is their any chance of seeing this added to 4.0.8 or 4.0.7?

Again, plugins.

Last edited by Gocom (2008-07-17 14:38:34)

Offline

#22 2008-07-17 14:41:13

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: Section Within Section

Yes, there is a chanche though not for 4.0.7

Offline

#23 2008-07-17 14:46:39

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: Section Within Section

Gocom wrote

instead a little core that can be tuned to user’s tastes.

Well said. Took me a little while to realize that myself.

driz wrote

Hmm well is their any chance of seeing this added to 4.0.8 or 4.0.7?

Need I bash my head against my desk?
OK…Let’s put this to rest.
Is there is a chance it will be added to 4.0.x?
Yes.
Is it likely?
No.

Do you really want to wait for that?
I would suggest you take advantage of all the amazing features/plugins TXP already has to offer and move with your project.

‘nuff said? I sure hope so.

Offline

#24 2008-07-17 15:12:03

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Re: Section Within Section

Well is their a plugin that will do EXACTLY what crockery has implemented, in that in the sections pane you can select parent section for that section! Thanks. x


~ Cameron

Offline

Board footer

Powered by FluxBB