jDownloads Support Forum

jDownloads for Joomla 4.x and 5.x => jDownloads 4.0 => Bugs! => Topic started by: ColinM on 05.12.2022 10:55:39

Title: Both Copy and Export of Layout fail - [Fixed in 4.0.6]
Post by: ColinM on 05.12.2022 10:55:39
Using 4.0.5
1.  In Layouts I cannot make a copy of an existing layout - it does not allow me to change the title.

2.  If I try to Export it gives error
"An error has occurred.

    0 Call to a member function load() on bool "
Have set Joomla Error reporting to Maximum but no extra messages.

Title: Re: Both Copy and Export of Layout fail
Post by: Arno on 05.12.2022 13:39:46
Hi Colin,
to 1) I could succesful copy and also rename the copied layout. See pic. Using 4.0.5

to 2) Attached a fixed version from the controller. Please copy it to the backends controller folder and try the export again.
Title: Re: Both Copy and Export of Layout fail
Post by: ColinM on 05.12.2022 17:48:10
Arno
Yes the new TemplatesController.php in \administrator\components\com_jdownloads\src\Controller now allows Exports :)

To create a copy of a layout I did not appreciate needing to use either Save & Copy or Save & New!!!   :(

Colin