If you need support for a commercial extension, you must use the account you used to make the purchase and items must be listed on your profile. First, search the forum, make sure your issue has not been resloved yet. Post describing precisely what the issue is, mentioning the Joomla, PHP, versions and a URL to the concerned page or a descriptive screenshot.
Welcome, Guest
Username Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Moving VM Share This position on page

Re:Moving VM Share This position on page 1 year, 6 months ago #3331

  • nordmograph
  • ( Admin )
  • NOW ONLINE
  • Moderator
  • Posts: 3373
  • Karma: 60
Hello
Please Have alook at this page:
docs.joomla.org/Reference:Content_Events_for_Plugin_System

Re:Moving VM Share This position on page 1 year, 6 months ago #3342

  • InfoUpgrade
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
No location set!
Yes, I see. But I still don't know how to display "Share This" both on the top and the bottom.... do I copy the whole block


function onBeforeDisplayContent( &$article, &$params, $limitstart ) {
...
}

...followed by ...

function onAfterDisplayContent( &$article, &$params, $limitstart ) {
...
}


...to get it to show in both places?

Re:Moving VM Share This position on page 1 year, 5 months ago #3548

  • editartgroup
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
No location set!
Hi to everyone,

I've the same problem, I can't change the plugin position.

I read the posts but I really don't understand.

I tried to replace onPrepareContent by onAfterDisplayContent.
plugins/content/htmlTools.class.php
administrator/components/com_virtuemart/classes/vm_sharethis.php

And anything happens.

Thanks

Re:Moving VM Share This position on page 1 year, 5 months ago #3549

  • nordmograph
  • ( Admin )
  • NOW ONLINE
  • Moderator
  • Posts: 3373
  • Karma: 60
Well it seems that all these position works on a content article but only Onpreparecontent seems to work on VM products.

Re:Moving VM Share This position on page 1 year, 5 months ago #3550

  • editartgroup
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
No location set!
So you can not change his position by this procedure?

thanks in advance

Re:Moving VM Share This position on page 1 year, 5 months ago #3551

  • nordmograph
  • ( Admin )
  • NOW ONLINE
  • Moderator
  • Posts: 3373
  • Karma: 60
only in Content articles, not in VM products
  • Page:
  • 1
  • 2
Time to create page: 0.82 seconds