Jump to content
DevFuse Forums
  • Sign in to follow this  

    Event location quick tag


    Michael
    • Pending IP.Board Version: IP.Board 4.2.x

    I should add a quick tag for event location.

    Manual Patch:

    Open plugins/calendartopics/hooks/5156ed33b045e97134e660e254f21a47.php

    Find:

    $tags['%event_link%']	 = "<a href=".$event->url().">{$event->title}</a>";

    Add BELOW:

    $tags['%event_location%'] = ( $event->location ) ? \IPS\GeoLocation::buildFromjson( $event->location )->toString() : '';

    Save.

    Sign in to follow this  


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now


  • Status Definitions

    Pending = We are still working on this report.

    Fixed = The issue has been fixed and the resolution will be available in the next version.

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

×