News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

[solved] Module Top Ten

Started by lexilium, October 10, 2011, 12:16:49 PM

Previous topic - Next topic

lexilium

Topten module dosnt work
Fatal error: Using $this when not in object context in /home/Xxxxx/public_html/administrator/components/com_virtuemart/helpers/currencydisplay.php on line 95

Milbo

Module Top Ten? This is afaik not in the aio, is it?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

PRO

have you chosen a currency?


Milbo

module top ten is an old one. atm it is not supported.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

alatak

Hi,

module TopTen is replaced by  mod_virtuemart_product.

All modules from VM1 should be removed.

PRO

mod_virtuemart_product installs as Top Ten

See pictures of a clean install.



[attachment cleanup by admin]

alatak

Hi,

OK. Problem with Joomla 1.7.
Thanks for the picture.
i am looking at it.

alatak

Hi,

OK. But it is the title of the module. Not the module name.

PRO

when you click "new" module. You pick "Top Ten" instead of Virtuemart Product. Like in the 2nd picture

alatak

Hi,

Yes thank you. I though the problem was in the XML file.
But you are rigth, when the modules are installed , one of them is called VM- Top Ten, and its type is mod_virtuemart_product.

PRO

Something is wrong.

Look in the first picture. To the right its "type" says VM- Top Ten   NOT mod_virtuemart_product

The same when you click "new" and go to publish the module.

I looked around, and could not find where the reference is. Its not in the xml

PRO

script.allinone.php


$this->installModule('VM - Top Ten','mod_virtuemart_product',1,$defaultParams);

alatak

#12
Hi,

Yes :)
You are completely rigth .
Thanks you.

kim-berry

Hi,

I hope I'm posting this in the right spot.

I've just been having trouble publishing the VM - Best Sales module. I'm using Joomla 1.7.3 and VM 2.0.0-RC-2M and I get the following error...

Fatal error: Using $this when not in object context in /administrator/components/com_virtuemart/helpers/currencydisplay.php on line 95

I'm trying to run the site as catalogue only at this point and have selected this in the configuration.

When I turn on "Show Prices" under the Configuration > Pricing tab everything works again and the error is gone. Any ideas on how I can get around this?

Thanks in advance!

PRO

kim-berry, it sounds like you have an older version of the modules, and plugins probably