Post by qahar » Mon Feb 01, 2016 5:08 pm

nurselotsaluv wrote:Notice: Undefined variable: position_content_btm_a in /customers/2/d/c/theluvoffice.com/httpd.www/upload/catalog/view/theme/default2/template/common/content_bottom.tpl on line 10
This issue mean default2 fail to add position_content_btm_a to controller/common/content_bottom.php
Check vqmod\vqcache\vq2-catalog_controller_common_content_bottom.php

it should have code below

Code: Select all

if ($this->config->get('config_template') == 'default2') {
    $this->load->model('extension/default2');

    $blockToLoad = array('content_btm_a', 'content_btm_b');
    $data += $this->model_extension_default2->getAllPosition($blockToLoad);
}

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by nurselotsaluv » Tue Feb 02, 2016 1:21 am

qahar wrote: This issue mean default2 fail to add position_content_btm_a to controller/common/content_bottom.php
Check vqmod\vqcache\vq2-catalog_controller_common_content_bottom.php

it should have code below

Code: Select all

if ($this->config->get('config_template') == 'default2') {
    $this->load->model('extension/default2');

    $blockToLoad = array('content_btm_a', 'content_btm_b');
    $data += $this->model_extension_default2->getAllPosition($blockToLoad);
}

I can't seem to locate vqcache\vq2-catalog_controller_common_content_bottom.php. In my vqmod folder I have xml which houses default2_theme.xml and gearbox.xml. But there is no directory for vqcache. Could this be my issue?

New member

Posts

Joined
Tue Jan 12, 2016 6:16 am
Location - United States

Post by qahar » Tue Feb 02, 2016 4:05 am

Posibly yes, may be there is permission issue for creating the vqcache folder. Create manually folder with name "vqcache" inside vqmod folder.

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by nurselotsaluv » Tue Feb 02, 2016 6:22 am

qahar wrote:Posibly yes, may be there is permission issue for creating the vqcache folder. Create manually folder with name "vqcache" inside vqmod folder.
Well I created a directory/folder named vqcache inside the vqmod directory. I also did a re-install of Default2 using the extension installer. Checked all of the files using my FTP and they all match up... but there is nothing in the vqcache directory. You said to check a .php file in the vqcache, how do I locate these files or create these files?

Maybe I should be asking elsewhere due to a larger issue I might be having?

I am just stumped because it was all working and then it wasn't in the fresh install of Open Cart.

New member

Posts

Joined
Tue Jan 12, 2016 6:16 am
Location - United States

Post by qahar » Tue Feb 02, 2016 8:56 am

vqcache should generate file automaticly. Could it be possible that your vqmod is not installed yet?
I can help you with quick check. PM me your ftp and site acces.

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by nurselotsaluv » Tue Feb 02, 2016 1:37 pm

qahar wrote:vqcache should generate file automaticly. Could it be possible that your vqmod is not installed yet?
I can help you with quick check. PM me your ftp and site acces.
I am not sure if my messages sent or not, but I was able to get vqmod installed and it is all working now!

I really appreciate the help!

New member

Posts

Joined
Tue Jan 12, 2016 6:16 am
Location - United States

Post by qahar » Tue Feb 02, 2016 2:47 pm

no problem, good to know it works :)

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by nurselotsaluv » Wed Feb 03, 2016 10:13 am

Sorry to keep bugging you, but I have 2 more things.

First, I am trying to add the Main Menu Color Setting. I have gone through the steps in the documents, and the field to change the color is available in the Extension, however I am unable to get it to show on the front end. I have added the variables to the appropriate files:
- admin/controller/extension/default2.php
'main-menu-bg' => $post['main_menu_bg'], under $less->setVariables(array(
- catalog/view/theme/default2/stylesheet/less/admin-preset.less
#nav-main .navbar {
background: @main-menu-bg;
}

right under
// Elements Skin
// ====================================


I had this working previously, so I know it works... and I am 99.9% certain I did the same thing this time around...

Second,
I was trying to preview the Gearbox (Main Menu Demo), but when I add it to my layout I get this error on my front page:
Notice: Array to string conversion in /customers/2/d/c/theluvoffice.com/httpd.www/upload/catalog/controller/module/gearbox.php on line 15 Fatal error: Uncaught Error: Function name must be a string in /customers/2/d/c/theluvoffice.com/httpd.www/upload/catalog/controller/module/gearbox.php:15 Stack trace: #0 /customers/2/d/c/theluvoffice.com/httpd.www/upload/vqmod/vqcache/vq2-system_engine_loader.php(42): ControllerModuleGearbox->index(Array) #1 /customers/2/d/c/theluvoffice.com/httpd.www/upload/vqmod/vqcache/vq2-catalog_controller_common_content_top.php(59): Loader->controller('module/gearbox', Array) #2 /customers/2/d/c/theluvoffice.com/httpd.www/upload/vqmod/vqcache/vq2-system_engine_loader.php(42): ControllerCommonContentTop->index(Array) #3 /customers/2/d/c/theluvoffice.com/httpd.www/upload/vqmod/vqcache/vq2-catalog_controller_common_home.php(14): Loader->controller('common/content_...') #4 /customers/2/d/c/theluvoffice.com/httpd.www/upload/vqmod/vqcache/vq2-system_engine_action.php(46): ControllerCommonHome->index(Array) #5 /customers/2/d/c/theluvoffice.com/httpd.www/upload/system/engine/front.php(34): Action->execute(Object(Registry)) #6 /customers/2/ in /customers/2/d/c/theluvoffice.com/httpd.www/upload/catalog/controller/module/gearbox.php on line 15

I don't even know where to begin to decipher those errors. I can find the files, but from there I am lost.

I am so sorry again to keep bugging you. But I really want to understand this and get it to work for me.

I was REALLY happy with it before I had to do the fresh install FYI. So all these issues I am sure has to do with me and not the extension itself.

New member

Posts

Joined
Tue Jan 12, 2016 6:16 am
Location - United States

Post by qahar » Fri Feb 05, 2016 2:59 pm

No need to worry :)
nurselotsaluv wrote:however I am unable to get it to show on the front end. I have added the variables to the appropriate files
I'm assume you use default2 1.3.0
1. Check the stylesheet output at catalog\view\theme\default2\stylesheet\build
2. Remove the preset, and save again at admin to reflect your change.
3. If you not have "build" folder, mean there is permission issue.
4. Create folder "build" and set permission to 755. If not generate preset style when you save, use permission 775. If keep fail, use 777.

nurselotsaluv wrote:I was trying to preview the Gearbox (Main Menu Demo), but when I add it to my layout I get this error on my front page
I'm not sure what cause this. But you can try this troubleshoot step.
1. Open Admin > Extension > Modification and refresh
2. Clear all vqmod/vqcache file
3. Remove vqmod/checked.cache and vqmod/mods.cache
4. Visit your webpage and see if Gearbox issue is still there

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by nurselotsaluv » Thu Feb 11, 2016 5:53 am

Ok, so I have given that all a try. I think the reason the Main menu Background Color isn't showing is because I am missing the file that I needed to update. In the documentation it refers to 'admin-preset.less' but all I have in the 'less' directory is 'bootstrap.less' and 'default2-preset.less'. Do I edit the latter of the two or am I really missing a file?

And I refreshed the Modifications, cleared the vqmod cache files, removed the checked and mods cache files, but the error is still there...

I'm sorry again for all the questions. It really feels like I am having a much harder time than I should.

New member

Posts

Joined
Tue Jan 12, 2016 6:16 am
Location - United States

Post by qahar » Thu Feb 11, 2016 3:06 pm

On latest version the file is default2-preset.less, I will update the docs.
The generated stylesheet is at stylesheet/build/ folder.

I'm not understand why it's not working.
May be I can help you quick check why your custom input is not working. PM me with admin and ftp.

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by jerdna » Fri Feb 12, 2016 4:01 pm

Hi i am testing and using your theme for a new project for a while now. I've updated default theme 2 from version 1.2 .0 to 1.3.0 yesterday. Nice new feature gearbox module...
I am using OC 2.1.0.2.
First one minor problem... in templates product settings template changing does not work for me... description always full width (through both blocks). It was like this in 1.2.0 version also. But it doesn't matter i hardcoded it.
Bigger problem is with gearbox module... the test menu already inside worked at beginning. I was trying to replicate it with real data-categories but did not succeed. The pull down window is always empty no metter what i put inside or change the structure of it's elements or it shows all the top categories i already have in my OC.
Like i said the test menu worked but when i saved it again stopped to work...?

I would like to achieve that just top categories would be in one top nav pull down menu... when clicking on top category it would show in left side position with their sub categories and sub/sub categories. Is it even possible to do it this way? I hop you understand...

I tried to reed more about gearbox but your link is leading to a privat cloud storage, i can not enter.
Please help, i would really like to use this feature because of specific demand of my menu structure.

Maybe im doing it wrong...
Link to see... akvonij.ga

Thanx

Newbie

Posts

Joined
Fri Nov 12, 2010 8:18 pm

Post by qahar » Sat Feb 13, 2016 2:24 am

jerdna wrote:First one minor problem... in templates product settings template changing does not work for me... description always full width (through both blocks). It was like this in 1.2.0 version also. But it doesn't matter i hardcoded it.
Had you check vQmod cache for controller product/product and ensure there is similiar code as on default2 vQmod file. May be refresh OcMod and clear vQmod cache will help to generate the new vqmod cache to check
jerdna wrote:Bigger problem is with gearbox module... the test menu already inside worked at beginning. I was trying to replicate it with real data-categories but did not succeed. The pull down window is always empty no metter what i put inside or change the structure of it's elements or it shows all the top categories i already have in my OC.
Like i said the test menu worked but when i saved it again stopped to work...?
Can you pm me your admin access, I'm interesting to check this issue.
jerdna wrote:I would like to achieve that just top categories would be in one top nav pull down menu... when clicking on top category it would show in left side position with their sub categories and sub/sub categories. Is it even possible to do it this way? I hop you understand...
Currently there is no Dropside megamenu template for Gearbox Navigation. I plan to add this in future.
jerdna wrote:I tried to reed more about gearbox but your link is leading to a privat cloud storage, i can not enter.
Thank you to notice me, I'm not aware the restriction is still active. You can visit now.
I'm not sure if the documentation is helping, because I just put some screenshoot there.
Furthermore writing good docs is harder than writing the code :D

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by robang » Sat Feb 13, 2016 11:45 pm

Hiya,

I've been experimenting with default2, being new to using anything other then out of box themes. At the moment I've run into a problem with the layout of default2 when used with phone sized devices, the top image is not resizing properly and the three images below are disappearing altogether; however it works spot on on larger devices.

Could anyone give some pointers as to what might be wrong please? As far as I can see I've got my setup as with that on the demo version, but something obviously is'nt quite right.

Thanks in advance!

http://www.kirtongames.com/test

Newbie

Posts

Joined
Mon Feb 01, 2016 5:07 pm

Post by qahar » Fri Feb 19, 2016 8:11 pm

@robang:
Sorry for the late reply.
I think there is bugs, I will check and release the fix soon.

For now, use Content Top position for your slideshow.

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by qahar » Sat Feb 20, 2016 11:47 pm

default2 v1.3.1 released!

Updates:
  • Fix block position container on small device

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by jerdna » Thu Mar 03, 2016 7:13 am

Hi again just one short question... how could i set the default2 to show products in categori, like list sort by default... now its greed when you first visit the page with fresh browser.

Thank you

Newbie

Posts

Joined
Fri Nov 12, 2010 8:18 pm

Post by qahar » Thu Mar 03, 2016 6:32 pm

Show product in category is not theme related features, but OpenCart features.

I suggest you to read OpenCart product documentation.
It's not just cover product to category, but also manufacturer.

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by labeshops » Fri Mar 04, 2016 9:53 pm

Really love this theme - when will you have it updated for 2.2?

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by qahar » Sat Mar 05, 2016 4:53 am

I use OC 2.2 release as opportunity to do massive refactor.
All works is done, but need to recheck everything before release.

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia
Who is online

Users browsing this forum: No registered users and 1 guest