Fork me on GitHub

ShareThis 2.0 RC1 available for testing  Bottom

Go to page 1 - 2 [+1]:

  • Hi all,

    the newest Version of ShareThis is ready for testing. The version is ready for Zikula 1.3 and includes a new sharing type (sexybookmark):

    http://zikula.wuertz.org/sexybookmarks.png

    http://zikula.wuertz.org/ShareThis.zip

    Installation
    ------------
    Copy the module directory into your modules folder and then initialise and active the module - as with any standard module.

    Usage
    -------
    Using the News module as an example the tag could be something like
    {sharethis id=$info.sid permalink=$links.permalink title=$info.title}
    or
    {sharethis id=$info.sid permalink=$links.permalink title=$info.title type="sexybookmarks"}

    ToDo
    ------
    * Activate more services for sexybookmarks
    * Update the comments rss service (at the moment it does nothing)
    * Add an mailto service



    Edited by phaidon on Aug 14, 2010 - 10:04 PM.

    --
    https://github.com/phaidon/
  • Hi phaidon,
    this is very nice, thank you.

    Does it work with Zikula 1.2.3, too? The reason I ask is that I am currently working on the final steps for the relaunch of the ModuleStudio website, would be great to update ShareThis there as well icon_smile

    Greetings
    Axel

    --
    Guite | ModuleStudio
  • Quote

    Does it work with Zikula 1.2.3, too?

    Same question I had. So I tried it and it does not work ("invalid structure").

    --
    Harness Technology
  • Quote

    To allow the sharethis plugin to be available in all modules move the
    file modules/ShareThis/templates/plugins/function.sharethis.php to config/plugins.


    this is a kludgy way to accomplish this. It would be much better if you kept your plugins within your own directory and make them available to any module by adding them to the core view stack. do so like this:

    In your Install() method add:

    Code

    // register plugins with View so plugins can be used systemwide
            EventUtil::registerPersistentModuleHandler('ShareThis', 'view.init', array('ShareThis_Util', 'registerPluginDir'));


    then create a /lib/ShareThis/Util.php

    Code

    class ShareThis_Util
    {
        public static function registerPluginDir(Zikula_Event $event) {
            $modinfo = ModUtil::getInfoFromName('ShareThis');
            if (!$modinfo) {
                return;
            }
            $view = $event->getSubject();
            $view->addPluginDir("modules/$modinfo[directory]/templates/plugins");
        }
    }


    this will make ALL the plugins in that directory available anywhere (themes, other mod templates, etc).

    SLICK!

    (thanks drak icon_smile )
  • Quote

    Does it work with Zikula 1.2.3, too?


    At the moment no. But if there is an interest I will think about to make it available for Zikula 1.2.*
    @craigh/drak: Thanks for the advice. Works perfect. I have already updated the zip files.

    --
    https://github.com/phaidon/
  • Quote

    the newest Version of ShareThis is ready for testing.


    Thank you very much!
  • ShareThis 2.0 RC2 available for testing:

    Updates:
    * More then 70 service providers for the sexybookmarks mode added
    * E-Mail to friend function in the sexybookmarks mode added

    http://zikula.wuertz.org/ShareThis.zip

    In addition there is a new Cozi homepage for sharethis: http://code.zikula.org/sharethis



    Edited by phaidon on Aug 15, 2010 - 11:56 PM.

    --
    https://github.com/phaidon/
  • Tried it on a local test page. Great stuff biggthumpup

    Feature request: it would be great if one could add more items at the administration page for sexybookmarks. At the moment it is hardcoded from a to h.

    --
    Guite | ModuleStudio
  • I really like it. Why not put it up to the Cozy?
    Greetings,
    Chris

    --
    an operating system must operate
    development is life
    my repo
  • Since "ShareThis" is a registered trademark of this company - http://www.sharethis.com/about/contact, perhaps it would be best to rename the module to just the name "Share"?
  • Or ShareZis (as in Zikula)... icon_biggrin

    --
    Cheers, Sascha

    Philivision, Inc. - User of Zikula since 2002...
  • Quote

    I really like it. Why not put it up to the Cozy?



    Quote

    In addition there is a new Cozi homepage for sharethis: http://code.zikula.org/sharethis
  • "AllKnightAccess "

    Since "ShareThis" is a registered trademark of this company - http://www.sharethis.com/about/contact, perhaps it would be best to rename the module to just the name "Share"?


    I will talk with Drak about this subject.

    Slam

    I really like it. Why not put it up to the Cozy?


    A Cozi page is already created: http://code.zikula.org/sharethis
    A git repository will added later.

    Guite

    Feature request: it would be great if one could add more items at the administration page for sexybookmarks. At the moment it is hardcoded from a to h.


    I have updated the adminpanel. Now the amount of services is variable (drag&drop).

    http://zikula.wuertz.org/sexybookmarks2.png

    --
    https://github.com/phaidon/
  • Awesome icon_cool

    --
    Guite | ModuleStudio
  • Now, how cool is this!!
    Greetings,
    Chris

    --
    an operating system must operate
    development is life
    my repo

Go to page 1 - 2 [+1]:

This list is based on users active over the last 60 minutes.