Replies: 51 comments 79 replies
-
Great idea. |
Beta Was this translation helpful? Give feedback.
-
I agree with the general idea and how it might be exposed to the user in the UI. Actually I am thinking about it since JoomlArt came up with their "content and menuItem" extends. They also integrated a modified "New Xxx content" button, which extended the regular new-button. Also the SeblodCCK exposes an extended "New" button and dialog. Indeed, something like this is missing in the core. Since you mentioned the term "content type", I think there are two different approaches to integrate this idea and workflow. Technically there are different content "types" in Joomla, but I am not sure if this is comparable or even usable for this idea. J! types seem to represent really different things... to my knowledge it's more based on each component. Your screenshot and most applications would need "Article variations", so everything could stick with core articles. Since Joomla supplies the new custom-fields and everything works on category-assignment, it could also make sense to use this as a technical basis. Some sort of an improved/extended UI that visualizes the different "types" creation. The new-article-process is easy if you know Joomla for a while... but for newbies it might look strange to create a generic article... then choose a category... and then, all of a sudden, they realize that there are different fields/tabs available. Easy to overlook, IMHO. Maybe a message/note could inform the user. I am just thinking loud... Currently there is only "Alt-MenuItems" and Overrides. No doubts, this is a great feature for frontend-submission, but more targeted to developers. I always missed an Alt-Submission form in Backend. BTW, it seems we can access an alt-form layout through the new custom admin menus... if I could add custom URLs to pre-filter the articles-manager... I could solve the initial question and type setup with core... (Wow, have to try that ASAP! ;) Haha, here is a related issue to improve the current Admin menus even further #17407 ) Maybe we can achieve a smarter and flexible article creation workflow. |
Beta Was this translation helpful? Give feedback.
-
I think that should be one of the priorities for J4. It is one of biggest disadvantages against Wordpress and Drupal. It is hard to explain to a regular user the concept of articles. And not without reason. In the end, what does article have to do with eg. car manufacturer, car model, car version etc. That makes no sense for the end user (and those websites are build for them). Joomla! code looks great, but it is time to worry about user experience and the general concept of content management system (cause now it looks more like a "articles management system". |
Beta Was this translation helpful? Give feedback.
-
There's already the API and data model for this in core, UCM. But to be blunt, I don't see it being adapted because it comes with a major data migration (in addition to API and data model B/C issues), not to mention that there are critical pieces of the API that aren't well suited to work with this model (we lack a relational table schema,
(For this one a question was posed regarding whether those issues with the migration complexity were a reason not to do it)
|
Beta Was this translation helpful? Give feedback.
-
on the reverse its hard to explain to a user that they have to create their content-type from scratch every time. Drupal is not wordpress. wordpress is not joomla etc. every cms has its place and none of us should try to pretend to be the other |
Beta Was this translation helpful? Give feedback.
-
WordPress and Drupal both have a data model where they expand on some form of "type" system (Drupal is more CCK like whereas WordPress focuses on the "post" data structure as its types). Joomla's type system is standalone components whose data modeling and structure are defined by whomever is developing those tools, there isn't a UI to create these "custom" types in the same way you can with other CMS' without use of a CCK based component. So it's not necessarily that Joomla doesn't have a type system available. It's just that the core data model was not designed to be one in the same sense as the other CMS', and there are pros and cons to that decision. And it's not that core couldn't be upgraded to have a native type system in the same sense as the other CMS', but is the pain of a complex migration going to be worth it over the long run (and I would suggest the answer is no, historically the project has not managed major upgrades/migrations very well and that mismanagement has influenced users into moving to other platforms since they have in essence had to start from scratch anyway, we may be getting better at managing our patch and minor releases but I'd suggest the project still has a long way to go to earn the trust of being able to do a complex major upgrade, and in some ways 4.0 is that test (without re-engineering the data model)). |
Beta Was this translation helpful? Give feedback.
-
@brianteeman Its not pretending, its filling the gaps and that one is a big one. You ain't gonna explain to any of the users why their cars, books, computers or cartoons are articles. And no one is saying that Joomla! should not have a default "article" content type. @mbabker I'm not after changing the component concept. I think its a great one and works better then what is build in Wordpress. If you're trying to build something bigger based on Joomla! for that its essential for many reasons. BUT you ain't gonna tell me the current "articles" component makes sense. Its placed in "Content" menu item that basically holds a single content type (why not change the item name to Articles if you can't reliably hold anything more then that in com_content, don't pretend its something bigger if those are just articles). I'm after fixing something that holds back the base of the Joomla! from version 1. Ask any one that builds websites for the clients if they are happy with Articles concept and if they would not like a content type base component. As for how to bring it into the system. Why not start it as another component. Bringing it to Joomla! on 4.1 - 4.2 and then replace the com_content in 5.0? Give people the time to migrate and till then chose for their own if they prefer the articles concept or a content type concept. No need for rushing up things to 4.0 if there are risks like you mentioned. |
Beta Was this translation helpful? Give feedback.
-
It doesn't matter when it's introduced, there is still a B/C breaking data migration involved (if built on the existing UCM model then you have to move data from This is one of the times I'm annoyed that people flat out deleted our GitHub repos, there was work on this (and a bunch of other concepts actually) done in the old https://github.com/joomla-projects/joomla-cms repository that is now lost that could've been used to at least review, but now we're starting from scratch without any of the experience or ideas from anyone that played with the idea of such a migration. Articles are an overly generic term. Until you start trying to slap things like custom fields in place or make adjustments to the edit page that really makes it feel like a specific content type (book, computer, etc.), at a high level it's a very generic catch-all type of thing. Content types, as I see them in WordPress (I don't work with Drupal enough to understand that system), cover a level of "filling the gap" in explaining to users they put their computer data posts as one content type, cartoons as another content type, etc. (which inherently makes doing some other customizations, like theming or options specific to a type a bit easier; WordPress posts and pages are in essence the same thing aside from the options in the sidebar) but in reality it's all the same thing but with UI friendly terms to make the backend navigational flow feel a little easier. |
Beta Was this translation helpful? Give feedback.
-
@artur-stepien that is your opinion. i dont share it. |
Beta Was this translation helpful? Give feedback.
-
@mbabker I do understand the issue with extensions/models/tables naming. The way how this should be implemented is something to discuss. Didn't saw the concepts in old repos you are saying about so I can't judge if they where the right direction, but they definitely show that there is a need in the community. And I can safely assume that this problem is one of the reasons that Joomla! doesn't keep up with Wordpress market share. It's hard to show end user the advantages of Joomla! if the main thing they see are difficulties in content management. @brianteeman It isn't an argument. It's exactly a lack of one. You can always create a survey at joomla.com and ask people what would they like. Both developers and end users. If that is something people are expecting, or if they are just fine with current situation. That will show you the big picture. |
Beta Was this translation helpful? Give feedback.
-
Surveys are biased toward what the survey writers want to glean and are only going to get responses from people either following the comms channel or interested enough to go out of their way to find it. I can think of a few polls/surveys run informally by people or formally by project teams in the last few months that were very biased toward pushing their agenda, and only one or two where they really were unbiased information gathering attempts. And to be honest, I think you're going to get a lot of end users who respond with things like "merge K2, JCE, and Akeeba to core" (which is exactly what the old ideas pool became before abandonment, I can still screenshot/datadump that if anyone wants proof) and IF you get developer responses it's either going to be at such a high technical level that end users aren't going to grasp it (which is why I've given up on a lot of architectural related changes in core and let the people who want to play with the UI do so because that's where user interest lies), a "don't touch the stinkin' API you fools!" message, or they're going to shrug it off because they've abstracted themselves so far away from core with their various RAD layers or internal frameworks that what core does doesn't matter to them. |
Beta Was this translation helpful? Give feedback.
-
the fact that they never progressed beyond the basics shows what the interest was |
Beta Was this translation helpful? Give feedback.
-
@mbabker per the last part of your comment, don't you think if things continue like this, Joomla will reach a point where it will have to be developed from scratch? Ignoring important things for the fear of breaking the system will just make it more difficult if the new features become inevitable. A stitch in time they say, saves nine. Why postpone the inevitable? I believe the most important question we need to answer now is whether adding content types feature will make Joomla better in any way? If the consensus is YES, then the next question is CAN IT BE DONE? If that is also a YES, then we come to the HOW. It is at this point that one would expect the architecture arguments after which the leaders can set a road map. @artur-stepien suggested
If we try to highlight the many possible challenges with a new feature request, Joomla will take many years to gain market share it deserves. For, this is feature that is inevitable. A time will come when every CMS will need content types because The internet is not just made up of Text and links anymore. my humble opinion on this. |
Beta Was this translation helpful? Give feedback.
-
Its an open source project so start coding and when you are ready submit it as a pull request |
Beta Was this translation helpful? Give feedback.
-
I'm going to play the FUD angle since I've already started on this path. Given Joomla has historically not treated upgrades/migrations with a proper priority (and the currently in development 4.0 is the first true test of whether this has changed), do you honestly trust the project today to release a new major version that contains major architectural AND data compatibility breaks that does not result in a mass exodus similar to what happened with the 1.0 to 1.5 followed by 1.5 to 2.5 upgrades? What if Joomla follows the Drupal 8 path where it releases without migration tools in place (D8 has been stable for over 2 years and the migration module will be "stable" in their release later this year, almost 3 years after 8.0; that says a lot)? @adankupapa Answering your questions, yes having some form of UCM or content type structure makes Joomla better for users who use workflows that suit that kind of data model. Yes, it can be done. Is the amount of API breakage to make it be done worth it though? I honestly don't believe so. I honestly believe, in 2018, that if you want to use a CCK in Joomla, you install an extension which was designed as a CCK first. The Joomla core data model, and inherently core components (which are realistically just different content types; "articles", "banners", "contacts", etc.) are not built as a CCK or a type based system and to make it work you essentially have to build a brand new data model in parallel to the existing model, a brand new set of components in parallel to the existing ones, and have a system in place that either duplicates the data across both of those sources or migrate everything in a very transparent and efficient manner. Even with a new set of extensions and data model, you break every integration expecting to work with com_contact or com_content as they're written today (and the structure they've had for 10 years, give or take). It's at this point that you're going to cause chaos, even if the core system upgrades cleanly you are literally going to break so many extensions that end users who don't know or care what content types are or why they might be beneficial to them are just going to see that Joomla screwed up another migration, they're going to have to build their new site from scratch, and they might as well check out the other options on the market instead of sticking with their existing vendor. |
Beta Was this translation helpful? Give feedback.
-
My opinion is that we don't have to make Joomla to be able to create different content types. It already does. |
Beta Was this translation helpful? Give feedback.
-
Hi |
Beta Was this translation helpful? Give feedback.
-
New year, same trend in marketshare. https://w3techs.com/technologies/history_overview/content_management/ms/y. Even Wordpress screwing up with Gutenberg didn't gave a chance for Joomla. |
Beta Was this translation helpful? Give feedback.
-
Same old story, same old answer. If no one does the work then nothing will happen |
Beta Was this translation helpful? Give feedback.
-
Why you want it in core, instead of using an extension? |
Beta Was this translation helpful? Give feedback.
-
This is an old discussion but having separate extensions that don't share a common model is a real issue when you developp rich websites. Our solutions (Pulsar) for years has been to use a CCK (seblod) but even so we end up with a sub CMS inside a CMS. But I gave up expecting it to happen since we lack the task force and even of consideration to make it real. This is why we are forced to move to WP even if WP is a real piece of junk codewise and modelwise. |
Beta Was this translation helpful? Give feedback.
-
Hi But there is one WP shining feature that makes a big difference : almost all extensions share the same model and can communicate with each other. I can understand the commun Joomla position that stands for providing a common architecture for each component. If we are not happy with com_content let's use another component (CCK or anything else), that's fine... at first glance only. The big issue is that each component editor has to provide ALL the ecosystem around his solution: the googlemap, forms, searchs, various lists templates, seo optimization ... Soon or later the editor can't face the tremendous demand from any kind of users. The interest of an open source solution is to allow different developpers to bring new bricks to a larger project. Each sub community can't have the task force to cope with the increasing demand and all the efforts are wasted soon or later. This didn't happen with WP because of the shared model. History repeats itself. VHS wasn't better than betamax or V2000, Windows wasn't better than OS/2 and so on. WP won and is still a pile of mess. cyril |
Beta Was this translation helpful? Give feedback.
-
the issue is not if all the plugins store their contents in the same table but if there is a common model that allow third party editor to developp new content types or lists or anything that can exploit the datas of the first extension. |
Beta Was this translation helpful? Give feedback.
-
About the RFC argument. There is already an RFC for CCK created in January. Can you guess the response? I do joomla/rfc#26 |
Beta Was this translation helpful? Give feedback.
-
Actually, unless an existing CCK editor decides to "offer" its developpement to propose a new com_content, we won't have time nor the strength to wait for any viable solution to come. CCK editors have very dark future with Joomla and may consider switching their business model and invest otherwise |
Beta Was this translation helpful? Give feedback.
-
"When it comes to Custom fields I don't think you know what they are and how they work." Actually I do know how custom fields work, and that they are a concept that can be applied to many different parts of Joomla - such as they were in com_users. We use this heavily. " Binding them to Types is as bad as binding it to com_content" Custom fields are implemented in the category part of com_content are they not?. I simply suggest to extend com_content to include a foundational 'types' system and move (or add) custom fields to the 'type' rather than use Categories to allow that feature. Categories is the wrong place but because of the limited architecture available, I understand why it was included there. My menu structure in the first post explained this in a way that I had hoped would be obvious, but everybody seems to be overlaying levels of confusion about what is being proposed that I had not intended or anticipated. Either I had not explained it well, or people are not capable of reading well. Either way, the general enthusiasm for this seems highest amongst non-coding website developers, and lowest amongst Joomla coders. |
Beta Was this translation helpful? Give feedback.
-
@leoalv and @helpwise : do you want to allow non coders users to filter a native 'list of articles from a category' upon the custom fields ? The requirement some of us repeat and repeat here and there is to have the same thing we have with tags : filters on custom fields : I know it would require some 'matching criteria' to be defined (such as equal, %like%, In ....) but this could be a good start, I can live with category = content type , this is not our main concern acording to me, but this missing filters are a real obstacle. |
Beta Was this translation helpful? Give feedback.
-
Hello I'm looking at the full description of the XML file that is used here. For instance I need to know how I can add filters with Joomla custom fields on the category blog menu item. There should be somewhere the syntax to use but I can't find it. Currently we have : I whish I could have the same thing for a custom field thanks for your help |
Beta Was this translation helpful? Give feedback.
-
While Joomla is still struggling to get its core content system to reflect user needs after 10 years, developers are dropping like flies or and/or diversifying to Wordpress to stay in business. JoomDev is Closing Its Joomla Products On a brighter note. My dev says the J4 code is much cleaner and much closer to PSR4. So a big well done Joomla. |
Beta Was this translation helpful? Give feedback.
-
Well some of these developers can’t compete in Joomla world and try to stick with one leg in Wordpress camp long time and then also losing more momentum for their Joomla dev and losing business to other better skilled Joomla extensions and templates developers instead. They will not be successful in the Wordpress camp either long time bcs even there is more average joes to sell to there its more competition and lower prices & commissions. As a Joomla developer you have to take care of your own marketing and pr against the Joomla market + existing/new markets opportunities and many Joomla extension developers doesn’t understand how to do. Wordpress is much better to help template and extensions developers with marketing and that’s something Joomla suffers from and doesn’t understand how important it is. Just take the fact that there still not a JED TEMPLATED section in Joomla extension directory. A very bad strategic decision, still today! |
Beta Was this translation helpful? Give feedback.
-
I think a very powerful new feature could be added to Joomla very quickly, namely a Content 'Type' system.
As it stands, we currently have "Content" and Components. If we want a Content type of 'Event', it needs setting up as a category within Articles, or as a custom Component.
Developers/Web Admins then have to setup custom fields based on Category, at which point we have tried to setup a 'Types' based content system that is limited in terms of ordering articles across multiple Categories and so on.
I propose that there be a Content "Type" structure, (possibly with custom fields attached), that then allows the creation of Categories, Tags and Articles under each Type.
The "Articles" type comes pre-installed as per usual, but others can be generated at will.
The Admin Menu could then be changed to something like
"Content"
This is obviously something similar to Wordpress / Cobalt / K2 and so on, but its almost just a rejigging of whats already there and could be fully compatible ongoing with previous versions of Joomla.
Components could automatically use and create these Content Types instead of introducing their own custom page / layouts, and then all the templating can be done around Joomla Content, not custom developers ideas of what Content should look like.
This will save us a lot of time at development and I think organise content better.
It will also make template overriding easier, and I think in many ways simplify Joomla in an area where many customers often get very confused (in multiple Components)
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions