Ok hit a roadblock as I'm not happy with releasing the demo when
a) the login form doesn't look good
b) the flickr gallery $Content text is wrong
- Ofir you need to fix the css / only include the CSS on proper map pages, as per http://www.silverstripe.com/google-summer-of-code-forum/flat/2401
Commit this to maps/trunk SVN.
- Lakshan you need to fix your typography issue with Matt. I suggest just using Page.ss and appending your flickrgallery to $Content by doing. THis means you don't need to worry if Page.ss changes...
class ForumMemberMapPage_Controller extends Page_Controller {
function Content() {
if(ClassInfo::exists('Forum')) {
$map = new GMap('ForumMembers', DataObject::get('MemberLocation'), new GMapPoint(33.750298 ,7.412841), 1);
return $this->Content.$map->displayForumMembers();
}
else {
return $this->Content.'You need the forum module installed to use this page type';
}
}
}