Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • thelordofweb Friend
    #948403

    There is a problem when I use JLayoutFile on my website.
    I use T3 Framework and Blank Twitter Bootstrap 3 template over Joomla 3.

    T3 Framework loads its JLayoutFile (plugins/system/t3/includes/joomla25/layout/file.php) but it is missing many methods included since Joomla 3.5
    I cannot use the newest JLayoutFile methods because they are missing.

    T3 Framework must load JLayoutFile from joomla25 folder only if it is installed on Joomla! 2.5.

    You must update the layout files in your framework.

    Thank you in advance!

    Ninja Lead Moderator
    #948717

    Hi,

    Please have a look at this file plugins/system/t3/includes/core/t3.php and you will see the code load on Joomla2.5 and Joomla3.x

    I checked it on both Joomla 2.x and 3.x versions but I could not see it loads joomla25 folder on Joomla3.x.

    You can try to check it again

    Regards


    1. Screen-Shot-2016-07-11-at-15.05.17
    thelordofweb Friend
    #948801

    Thank you very much for you answer!

    Check line 149. It points to folder joomla25. However, it mast load Joomla 3 file.

    Cheers!


    1. JLayoutFile
    Ninja Lead Moderator
    #949069

    This way will help you to fix this bug

    • Create plugins/system/t3/includes/joomla30/layout/ folder
    • Copy libraries/cms/layout/file.php file and paste to plugins/system/t3/includes/joomla30/layout/ folder
    • Open plugins/system/t3/includes/core/t3.php file

    find and change

    T3::register('JLayoutFile',   T3_ADMIN_PATH . '/includes/joomla25/layout/file.php');

    to

    T3::register('JLayoutFile',   T3_ADMIN_PATH . '/includes/joomla30/layout/file.php');
Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 3 replies, has 2 voices, and was last updated by  Ninja Lead 8 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum