NSP GK4 with Virtuemart

Free responsive Joomla 2.5 and 3.x module to present your content with easy and intuitive way.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Mon Feb 28, 2011 9:44 am
I'm trying to use GK4 with virtuemart.

Issues:

If I select virtuemart products and try and input product ID's I get Error: Any articles to show in the frontend.

If I try VM categories, all of the option tabs expand in the back end and I get the following error in firebug:

Error: $("params" + $("paramsdata_source").value) is null
Source File: http://www.xxxxx/modules/mod_news_pro_g ... /script.js
Line: 74,81, 89

I stilll get Error: Any articles to show in the frontend.

I'm using version 2.3.2 of the module and I'm using the demo / quickstart package that I dwonloaded last week.

I've uninstalled K2 from the site and have disabled the K2 options in the module.

Is this supposed to work with VM ?

Thanks
User avatar
Fresh Boarder

GK User
Wed Mar 09, 2011 12:02 am
i have the same problem, someone could take a look to this thread anytime soon?
User avatar
Senior Boarder

GK User
Wed Mar 09, 2011 9:39 am
Considering this is touted as a Ecommerce / VM template I'm surprised that more people aren't having issues. Unless its fundamentally a configuration issue which needs some explanation / clarification.

It would be nice to have some input from the developers on this.
User avatar
Fresh Boarder

GK User
Wed Mar 09, 2011 3:05 pm
klever1 wrote:Considering this is touted as a Ecommerce / VM template I'm surprised that more people aren't having issues. Unless its fundamentally a configuration issue which needs some explanation / clarification.

It would be nice to have some input from the developers on this.


Hi

I can't reproduce your problem. From my side, it's working pretty well.
Can you send me admin access to your website?

paulo[at]gavick[dot]com

Please make reference of this topic on your email.

Cheers
User avatar
Platinum Boarder

GK User
Wed Mar 09, 2011 10:39 pm
Hi again

It seams that there's some problems with style.css file dedicated for NSP GK4 module administration panel.
Please send me FTP access.

Cheers
User avatar
Platinum Boarder

GK User
Thu Mar 10, 2011 9:57 am
Hi,

Looks like you solved the issue. Could you advise what the problem was and what files you changed ?

Thanks
User avatar
Fresh Boarder

GK User
Thu Mar 10, 2011 4:53 pm
Ok so there appears to be an issue with how this module calls VM products.

If I select a product from the module it loads path:

You are here: Home » category » sub category » product

As a result it does not load the correct theme I created for the category, just the basic gk store theme. Subsequently it does not load any modules assigned to the page.

However if I use the latest VM product module (as per the quick install package on the home page) it loads path:

Home » extensions » VirtueMart » Product Category Page » Category » sub category » product

It then loads the correct theme file with all modules assigned.

Can you advise what the problem is with the module with VM ?

Thanks

EDIT: Just to add that the news slideshow on the home page does load the correct path and does assign the modules. If that helps.
User avatar
Fresh Boarder

GK User
Thu Mar 10, 2011 5:30 pm
ive just solve my issue. Probably wont be the same of this topic thread but GK4 was not updated... thats odd because on mudule details says GK4 v.2.3.2 before and after update. So i dont know what exactly was updated in between. Version information on module details actually works?


Captura_2011-03-10.JPG
User avatar
Senior Boarder

GK User
Fri Mar 11, 2011 12:13 am
klever1 wrote:Hi,

Looks like you solved the issue. Could you advise what the problem was and what files you changed ?

Thanks


I just uninstall and install again the module. ;)
User avatar
Platinum Boarder

GK User
Fri Mar 11, 2011 12:16 am
xulen wrote:ive just solve my issue. Probably wont be the same of this topic thread but GK4 was not updated... thats odd because on mudule details says GK4 v.2.3.2 before and after update. So i dont know what exactly was updated in between. Version information on module details actually works?


Hi

Well, normally the update process is only replacing files.
In your case, even if you see 2.3.2 version indication, that's because mod_news_pro_gk4.xml was well replace, but other files might not. It's important to insure that all files are updates ;)
User avatar
Platinum Boarder

GK User
Fri Mar 11, 2011 12:20 am
klever1 wrote:Ok so there appears to be an issue with how this module calls VM products.

If I select a product from the module it loads path:

You are here: Home » category » sub category » product

As a result it does not load the correct theme I created for the category, just the basic gk store theme. Subsequently it does not load any modules assigned to the page.

However if I use the latest VM product module (as per the quick install package on the home page) it loads path:

Home » extensions » VirtueMart » Product Category Page » Category » sub category » product

It then loads the correct theme file with all modules assigned. ...


That's pretty normal, because you need to set "Virtuemart itemid" on News Show Pro GK4 > Virtuemart Settings. In this case, you need to set it to "203".

screen_2011-03-11.png


As you can see, it's already working well in your website.

Cheers ;)
User avatar
Platinum Boarder

GK User
Sat Mar 12, 2011 1:01 pm
Hi,

I see what the itemid means now. Thanks thats great it does now show the modules.

However it does not pick up the correct flypage for that category.

I am assigning different flypage templates to categories, each flypage has a different subset of information for customers.

How does this module decide which flypage to use ?

Thanks
User avatar
Fresh Boarder

GK User
Sat Mar 12, 2011 3:51 pm
Hi

Please try replacing the following file with the attach one:

../modules/mod_news_pro_gk4/tmpl/layout.parts.php

If all goes well (like i expect :P ), i will recommend this change to our Programmer.

Cheers

layout.parts.zip
User avatar
Platinum Boarder

GK User
Sat Mar 12, 2011 5:14 pm
Hi,

Thanks for looking at this. I updated the file and cleared my cache. Still same issue.

I then looked at the layouts.parts.php and ther eare some references in the file:

$link = 'index.php?page=shop.product_details&category_id='.$news_cid.'&flypage=flypage.tpl&product_id='.$news_id.'&option=com_virtuemart&Itemid='.$config['vm_itemid'];

Seems like it is hard coded to call standard flypage.tpl

Not sure how to change this
User avatar
Fresh Boarder

GK User
Mon Mar 14, 2011 10:28 am
Hi,

Just thought I'd add I looked for all isntances of flypage=flypage.tpl and removed them. Whether this is right or not it now loads the correct flypage.

Example:

$link = 'index.php?page=shop.product_details&category_id='.$news_cid.'&flypage=flypage.tpl&product_id='.$news_id.'&option=com_virtuemart&Itemid='.$config['vm_itemid'];


Now looks like:

$link = 'index.php?page=shop.product_details&category_id='.$news_cid.'&product_id='.$news_id.'&option=com_virtuemart&Itemid='.$config['vm_itemid'];
User avatar
Fresh Boarder

GK User
Thu Mar 31, 2011 1:28 pm
I found the solution you only need to rename all the flypage=flypage.tpl to your theme name

You also need to have the right ID in the virtuemart settings

It works like a charm !!!
User avatar
Fresh Boarder

GK User
Thu Mar 31, 2011 1:35 pm
I am running different templates for different categories so couldn't just set a single template.
User avatar
Fresh Boarder

GK User
Fri Apr 01, 2011 12:17 am
Please try updating NSP GK4 with latest version.
This issue was improved in the last release.
User avatar
Platinum Boarder

GK User
Fri Apr 01, 2011 7:30 am
@Seichinha

I am running the latest version of this module. However the problem of the hard coded virtuemart theme still exists. If you are running different VM templates this module does not call the correct one.

Would be good if the script was intelligent enough to recognise what the template was for the item you select.
User avatar
Fresh Boarder

GK User
Thu Sep 22, 2011 3:16 am
Where i can find "virtuemart itemid"?
I try to put vm catalog module id but dosen't work :(
Can you help me pleaseeee :)
Tnks bye
User avatar
Fresh Boarder

GK User
Tue Oct 18, 2011 6:43 pm
If anybody has a same problem -as I had before including breadcrumbs, and pagination/missing modules-, what is the correct VM_ITEMID number, just check the virtuemart's url itself. I Suggest you try out with one of your virtuemart category, and look the url field.


1. Go to the frontend -or your page where your GK News Pro4 modul placed -and select one from Vm's listing product
2. Click one of them and check, the url field

For e.g. from frontpage looks like this:
Code: Select all
http://www.yoursite.com/index.php?page=shop.product_details&category_id=null&flypage=flypage.tpl&product_id=39&option=com_virtuemart&Itemid=206


In this case this Itemid=206 (this number corresponding that you should give in VM_ITEMID field)

The breadcumb result: Home-->Your category

By the way, you can find the ID in joomla backend as well in Menus/Menu Manager/Yourmenu/Menu Item/Menu Item:
Image

Long leg girls, wines accepted :P
User avatar
Fresh Boarder


cron