J3 Issue
avatar saraheagle
saraheagle
10 Sep 2018

Steps to reproduce the issue

On a menu item >> Template Style >> click drop-down >> choose a template style

Expected result

Works as expected

Actual result

See below

System information (as much as possible)

Joomla! 3.8.12

Additional comments

It would be great if here the drop-down showed template styles (same php file, different parameters) AND the files set up in the template as say "index_layout-name.php" (different php file, same parameters).

That way it would be possible to easily create multiple layouts with sets of predefined modules in predefined positions, using the default parameters, without having to set up different styles.

Thanks
S :)

avatar saraheagle saraheagle - open - 10 Sep 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Mar 2019
Status New Information Required
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 4 Mar 2019

@HLeithner can you please comment?

avatar HLeithner
HLeithner - comment - 4 Mar 2019

I'm not sure if I understand it correctly but style have parameter so if you want a different style you have to create a different style and use the style parameter from the template in your index.php.

Moving this to file names makes less sense for me. You can reopen this issue and may provide a PR so we could discuss the solution.

avatar HLeithner HLeithner - change - 4 Mar 2019
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2019-03-04 18:59:07
Closed_By HLeithner
avatar HLeithner HLeithner - close - 4 Mar 2019
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 4 Mar 2019

thanks @HLeithner

Add a Comment

Login with GitHub to post a comment