Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Widgets /

Discuss SilverStripe Widgets.

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

New Google Maps widget without API Key need


Reply


3 Posts   1485 Views

Avatar
ayyurek

Community Member, 41 Posts

15 February 2012 at 4:29pm

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
Avatar
greenpea

Community Member, 19 Posts

23 June 2012 at 5:06pm

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

Avatar
Naren

Community Member, 21 Posts

23 November 2013 at 7:33am

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.