vQmod Breaking Layouts in Shoppica

ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart ThemevQmod Breaking Layouts in Shoppica

This topic has been marked as not resolved.

Hey Guys,

Love the theme.

Here’s my dilemma. I installed Shoppica first, then I needed vQmod so that I could install some Url fixes and get rid of the crufting in the url.

Once I did, the system stopped reading the config object correctly, or more likely, vQmod is not adding all the proper elements to the object.

checkRightColumnEmpty() always returns true even when I have modules set to the right column in the layouts. Running an echo statement returns only one module in:

$modules = $this->config->get($extension['code'] . ‘_module’);

which is not EITHER of the modules that are set to column_right in layouts.

This causes the container to be too wide and forces the Affiliate and Account menus to wrap down and to the left.

Any idea how to go about fixing this?

Thank you.

V

December 3, 2011 at 3:17 am #4109

Hi Vendetta!

Firstly, I assume you have the latest OpenCart version.
I can’t guess what exactly you have changed with vqmod, but the following statement:

        $extensions = $this->model_setting_extension->getExtensions('module');
        foreach ($extensions as $extension) {
            $modules = $this->config->get($extension['code'] . '_module');

which returns only one module for you, is a standart opencart snippet that has nothing to do with Shoppica. You can find it in:

ControllerCommonColumnLeft
ControllerCommonColumnRight
ControllerCommonContentBottom
ControllerCommonContentTop

The first row:

$extensions = $this->model_setting_extension->getExtensions('module');

returns all of the installed extensions of type module. Then we iterate over every extension and fetch the instances that are added among the layouts.

If this row:

$modules = $this->config->get($extension['code'] . '_module');

returns only one module, this means you have only one module added, regardless of which position and layout.

I can’t really understand what you mean with “the system stopped reading the config object correctly, or more likely, vQmod is not adding all the proper elements to the object” from a technical point of view.

Could you provide more information on what exactly you have modified ?

December 6, 2011 at 11:11 am #4221
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.