Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2165

Extensions for Joomla! 4.x • Re: Error 500 after Joomla update with CWattachments

$
0
0
Hello @mmcculli - thank you for this info. I need to understand, what the code is, what will be loaded ...

This exactly is the code from line 110 in the view.html.php

>>>>>>>
/**
* Method to set up the document properties
*
* @return void
*/
protected function setDocument()
{
$document = JFactory::getDocument();
$document->setTitle(JText::_('COM_CWATTACHMENTS_ADMINISTRATION'));
}
<<<<<<

Any ideas, where to get the code ... to fill it in here in this file?
Thank you!
Hi...
Try to rename setDocument to setupDocument
I've tried it in my component, then it works :)

Ref: https://docs.joomla.org/J3.x:Developing ... etDocument

Statistics: Posted by samuelagus — Thu Feb 29, 2024 7:00 pm



Viewing all articles
Browse latest Browse all 2165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>