[SOLVED] Custom layout unavailable in module translation

More
8 years 11 months ago #54027 by pipedream
When translating the Universal Content Module for FLEXIcontent with Falang, all custom layouts are unavailable (in the Falang form).

As a quick workaround I removed the code if ($view=='module') in the file administrator/components/com_flexicontent/elements/fclayout.php.

Please write a definitive solution, thanks!

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago #54028 by ggppdk
Hello

thanks for feedback, done

proper fix is this (or get latest fclayout from GitHub repository):
Code:
if ( $option == 'com_modules' || $option == 'com_advancedmodules' || ($option == 'com_falang' && JRequest::getVar('catid')=='modules') ) $view = 'module';


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago #54031 by ggppdk
Hello

the above will allow selecting a custom layout
-- but it will not allow to save custom layout parameters,
because the FALANG does not call the Joomla event onExtensionBeforeSave

you report this to Falang authors


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago #54032 by pipedream
Yes, I now remember that I also noticed it. :(

Will you report it or were you asking me to do it?

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.276 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline