Editing Module settings in frontend with selected Template Style

Did you find a bug in Joomla! 3.x but aren't sure? This forum is the place to help figure out if the problem is a bug and how to report it. If you are an experienced Joomla! user and are certain that you have found a bug please use the Bug Tracker to submit your issue.
This forum is for discussion about bugs and to get help with reporting them to the Bug Tracker: https://issues.joomla.org

Moderator: ooffick

Forum rules
Please use the official Bug Tracker to report a bug: https://issues.joomla.org
Post Reply
rakeshy
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Fri Jun 27, 2008 12:25 am

Editing Module settings in frontend with selected Template Style

Post by rakeshy » Sun Sep 03, 2017 9:59 pm

When editing settings of a module in the frontend through: http://DOMAIN/component/config/?control ... dules&id=1

The default template is used. But when a menu item ''Site Configuration Options' is created with http://DOMAIN/index.php?option=com_conf ... lay.config
and has a Template Style selected in details settings.

The module in the frontend should use that template, not the default template.

:geek:


There doesn't seem to be way to specify a template style for frontend module settings editing.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 34718
Joined: Sat Apr 05, 2008 9:58 pm

Re: Editing Module settings in frontend with selected Template Style

Post by Webdongle » Sun Sep 03, 2017 11:15 pm

Menu items can be configured to display their target page in a Template of choice
but
Modules are displayed within Template positions they do NOT control what Template is dis displayed for a page.

rakeshy
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Fri Jun 27, 2008 12:25 am

Re: Editing Module settings in frontend with selected Template Style

Post by rakeshy » Mon Sep 04, 2017 1:34 am

I understand, but when editing a module in the frontend, it actually uses component-config (com_config) so it should be possible to target that with a menu item and a template of choice.
Simply by using the menu item Site Configuration Options.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 34718
Joined: Sat Apr 05, 2008 9:58 pm

Re: Editing Module settings in frontend with selected Template Style

Post by Webdongle » Mon Sep 04, 2017 1:55 am

Yes and No
When editing a module Yes you can set it to appear to any given menu item(s)
When editing a module No you can NOT specify a Template for the module.

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 11671
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Editing Module settings in frontend with selected Template Style

Post by brian » Mon Sep 04, 2017 7:28 am

@rakeshy you are correct - @webdongle has not understood your question

From my perspective this is a bug because there is no ItemID being set when you open the page for editing a module.

Can you please create a bug report at https://issues.joomla.org
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 11671
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Editing Module settings in frontend with selected Template Style

Post by brian » Mon Sep 04, 2017 8:30 am

actually just remembered why it doesnt work this way and it is the intended behaviour.

The menu item determines the template style, the component AND the modules displayed on the page. So if you try to edit a module that does not exist on the page for site configuration options it wont work
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 34718
Joined: Sat Apr 05, 2008 9:58 pm

Re: Editing Module settings in frontend with selected Template Style

Post by Webdongle » Mon Sep 04, 2017 6:09 pm

brian wrote:actually just remembered why it doesnt work this way and it is the intended behaviour.

The menu item determines the template style, the component AND the modules displayed on the page. So if you try to edit a module that does not exist on the page for site configuration options it wont work
Told you so

rakeshy
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Fri Jun 27, 2008 12:25 am

Re: Editing Module settings in frontend with selected Template Style

Post by rakeshy » Mon Sep 04, 2017 9:09 pm

The module I intend to change the settings for, is linked to a position with menu item that has Protostar as the selected Template Style.
When clicking the edit icon/button to change the settings of that module (located in the Protostar template), the module opens in the default template and not the one linked to that menu item. :eek:

Really do think frontend editing modules should use the itemID of the menu item it is linked to.
Or it should use the menu item (Template Style) from a menu item that uses 'Site Configuration Options'.

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 11671
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Editing Module settings in frontend with selected Template Style

Post by brian » Tue Sep 05, 2017 7:43 am

Please create an issue on the tracker then
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/


Post Reply

Return to “Joomla! 3.x Bug Reporting”