I have this link right here which I got on the restore button from versions in article manager. I was wondering on what specific task was loadhistory, since I cannot find it on com_content/controllers/article.php :


Sorry if this seems noobish, I just want to know the flow in the article versioning of Article Manager wherein I am able to select a previous version of the article and then restore it to make it the current article in the edit form, as well as update the com_content table for the current restored article.

2 Answers 2


For content versioning there is a separate component in joomla named as com_contenthistory.

In this component, you will find this mentioned task (loadhistory) in history model.

  • __construct canEdit delete getListQuery getSha1Hash getTable keep populateState these are the functions in the history model, there's no loadhistory Jan 22, 2015 at 6:29
  • @LawrenceBatuhan Check the files on the administrator side. administrator/components/com_contenthistory/views/history is probably one you want. Jan 22, 2015 at 6:45

I have found the function loadhistory and it is a function of the JModelLegacy class. which was extended by the model article. Here is the hierarchy of inheritance:

article -> JModelAdmin -> JModelForm -> JModelLegacy.

But how was this called in the URL


  • Typically an answer doesn't ask a question. May 27, 2019 at 13:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.