Jump to:

794 Posts in 409 Topics by 304 members

Widgets

SilverStripe Forums » Widgets » New Google Maps widget without API Key need

Discuss SilverStripe Widgets.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1331 Views
  • ayyurek
    Avatar
    Community Member
    41 Posts

    New Google Maps widget without API Key need Link to this post

    Hello,

    I have already submitted a Google Maps widget, which is totally configurable from CMS and it doesn't need an API Key. If you want to get it before its reviewed and published, here you can find.

    The widget works without any setting but anyway dont hesitate to ask questions, if u will have trouble.

    Attached Files
  • greenpea
    Avatar
    Community Member
    19 Posts

    Re: New Google Maps widget without API Key need Link to this post

    Hi Ayyurek, thanks for this great widget. Exactly what I was looking for

  • Naren
    Avatar
    Community Member
    21 Posts

    Re: New Google Maps widget without API Key need Link to this post

    Hi Ayyurek,

    I want to use this widget on silverstripe 3.0 with my custom theme, when i install the widget and write the code on my ContactPage.php, I got a fatal error

    Fatal error: Class 'WidgetAreaEditor' not found in /home/luthra/public_html/en/mysite/code/ContactPage.php on line 9

    My ContactPage.php is :

    <?php
    class ContactPage extends Page {
    public static $has_one = array(
    "Sidebar" => "WidgetArea"
    );
       
       public function getCMSFields() {
    $fields = parent::getCMSFields();
    $fields->addFieldToTab("Root.WidgetArea", new WidgetAreaEditor("Sidebar"));
    return $fields;
    }
    }
    class ContactPage_Controller extends Page_Controller {
    }

    Please let me know how can i get this one in a perfect way.

    Thanks is Advance.

    1331 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.