Jump to content

Changing category layout setting


Recommended Posts

Hello,

I would like to ask for help. Is there a way to change category layout settings from module controller?

F.E: I have set layout category (Design > Theme & Logo > Choose Layouts) as 'Two Columns, small left column - Two columns with a small left column' => layout-left-column, and i would like to change it to 'Two Columns, small right column - Two columns with a small right column' => layout-right-column. It's no problem to change it via Design > Theme & Logo > Choose Layouts, but i would like to make it via module controller.

So, what i need is to make custom module, that will override / force the category layout setting.

I will be appreciate for suggestions.

Edited by bazik (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More