Jump to content

[SOLVED] How to show images in Top position of Theme Configurator in all pages?


Recommended Posts

Hello,

 

I have added images to Top position of Theme Configurator. They show up on my homepage, but I also want them to show up in all other pages of my shop. Is it possible? I can't find any option in modules configuration page and there are no exclusions in positions exclusions list.

Edited by DrunkBug (see edit history)
Link to comment
Share on other sites

I solved it myself. If anyone is interested, here's how I did it:

You need to edit a file /modules/themeconfigurator/themeconfigurator.php

In this file, find this at about line #280:

public function hookdisplayTop()
	{
		if (!isset($this->context->controller->php_self) || $this->context->controller->php_self != 'index')

And change it to this:

public function hookdisplayTop()
	{
		if (!isset($this->context->controller->php_self))

From now on, you will see images on all pages that you added in Top position through Theme Configurator module.

Link to comment
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...