×
This forum has been locked. Please submit new Feature Requests on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Content History
Ioannis
New Member
Posts: 10
pred 10 rokmi 6 mesiacmi #33
od Ioannis
Content History bolo vytvorené Ioannis
Hello,
I wonder if you have any plans to include the content history (introduced in J3.2) feature and if yes, can you define a date?
Thanks in advance
I wonder if you have any plans to include the content history (introduced in J3.2) feature and if yes, can you define a date?
Thanks in advance
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
Ioannis
New Member
Posts: 10
pred 10 rokmi 6 mesiacmi - pred 10 rokmi 6 mesiacmi #38
od Ioannis
Odpoveď od Ioannis na tému Content History
Hi Andres,
I don't think it's that hard.
Take a look at this: docs.joomla.org/Using_Content_History_in_your_Component
You have to "loop" through the tables and create the sql statement so as to insert new record(s) to #__content_types table. That's it. The rest are taking care by Joomla.
The best example of content history usage is of course "com_content". K2 or easyblog or other well known components cannot adapt so quick to new changes (I can understand that) so they cannot be taken as "best practice".
Also, I know that is hard for you to incorporate every new Joomla feature, so consider my thoughts only as suggestion for future work. Component Creator is already #1.
Keep up the good work.
Best
--Ioannis
I don't think it's that hard.
Take a look at this: docs.joomla.org/Using_Content_History_in_your_Component
You have to "loop" through the tables and create the sql statement so as to insert new record(s) to #__content_types table. That's it. The rest are taking care by Joomla.
The best example of content history usage is of course "com_content". K2 or easyblog or other well known components cannot adapt so quick to new changes (I can understand that) so they cannot be taken as "best practice".
Also, I know that is hard for you to incorporate every new Joomla feature, so consider my thoughts only as suggestion for future work. Component Creator is already #1.
Keep up the good work.
Best
--Ioannis
Posledný krát upravené:pred 10 rokmi 6 mesiacmi Ioannis
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
Ioannis
New Member
Posts: 10
pred 10 rokmi 6 mesiacmi #39
od Ioannis
Odpoveď od Ioannis na tému Content History
To conclude my thoughts...
I wouldn't expect for example to support (at this stage) the new MVC (like e.g. com_config does)
I wouldn't expect for example to support (at this stage) the new MVC (like e.g. com_config does)
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
Randy Carey
Junior Member
Posts: 23
pred 9 rokmi 11 mesiacmi #532
od Randy Carey
Odpoveď od Randy Carey na tému Content History
I want to cast my vote for content history. I think most clients have some expectation that they can revert back to previous settings/content, and I want to meet those reasonable expectations.
Using the same documentation that was referenced, I have integrated this feature into a component generated here. I think it took me less than an hour my first time around (to test and get it right), so when I feel content history is important for the client, I will add it. But there are several little repetitive details for one to do this manually - most which I wish I could have automated. The main thing that I would want to declare is which fields should be maintained as history and how many versions to keep. To be realistic, I do see that adding more complexity to the interface for Component Creator, so perhaps those details are hidden unless we toggle on that we want content history.
I do realize that this is not a simple feature to add. But I also feel it is an important capability that Joomla has recently offered.
Using the same documentation that was referenced, I have integrated this feature into a component generated here. I think it took me less than an hour my first time around (to test and get it right), so when I feel content history is important for the client, I will add it. But there are several little repetitive details for one to do this manually - most which I wish I could have automated. The main thing that I would want to declare is which fields should be maintained as history and how many versions to keep. To be realistic, I do see that adding more complexity to the interface for Component Creator, so perhaps those details are hidden unless we toggle on that we want content history.
I do realize that this is not a simple feature to add. But I also feel it is an important capability that Joomla has recently offered.
Prosím Prihlásiť alebo Registrácia pre zdieľanie konverzácie.
Čas vytvorenia stránky: 0.056 sekúnd