<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Latest Comments for zyko</title><link>http://disqus.com/by/zyko/</link><description></description><atom:link href="http://disqus.com/zyko/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 03 Jul 2008 11:55:58 -0000</lastBuildDate><item><title>Re: member_groupset | Documentation Wiki</title><link>http://doc.silverstripe.org/doku.php?id=member_groupset#comment-807488</link><description>&lt;p&gt;sorry i'm new to newsletter system.&lt;br&gt;i don't understand this.&lt;br&gt;aren't  $member-&amp;gt;Groups() the security groups of a user?&lt;/p&gt;&lt;p&gt;Is this code above the 'real thing', howto extend the code for editing a member to give him&lt;br&gt;the ability to edit his newsletter-subscriptions.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">zyko</dc:creator><pubDate>Thu, 03 Jul 2008 11:55:58 -0000</pubDate></item><item><title>Re: tutorial:site-map | Documentation Wiki</title><link>http://doc.silverstripe.org/doku.php?id=tutorial:site-map#comment-736596</link><description>&lt;p&gt;Very interesting sample code. THX for this :-)&lt;br&gt;Maybe it's a little bit of overhead, to have to implement a page which is only needed once?&lt;br&gt;Would be cool to have this 'little helpers' available as a kind of widget, which could be placed on a page and configured to meet all needs.&lt;br&gt;Blog-wigets for all pages ;-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">zyko</dc:creator><pubDate>Tue, 24 Jun 2008 06:44:58 -0000</pubDate></item><item><title>Re: tutorial:5-dataobject-relationship-management | Documentation Wiki</title><link>http://doc.silverstripe.org/doku.php?id=tutorial:5-dataobject-relationship-management#comment-689954</link><description>&lt;p&gt;this is an client-side (browser) error, you get, i bet you use firefox ;-)&lt;br&gt;if you want to see the page, &lt;br&gt;open &lt;a href="http://demo.silverstripe.com/gsoc-projects" rel="nofollow noopener" target="_blank" title="http://demo.silverstripe.com/gsoc-projects"&gt;http://demo.silverstripe.co...&lt;/a&gt; in internet explorer that should work.&lt;/p&gt;&lt;p&gt;yeah, some code in silverstripe isn't really xml konform. firefox reclaims this...&lt;br&gt;that's why it's good for a silverstripe-developer to use 'firefox' to find these things and knock them out.&lt;br&gt;in future all browsers will be more strict, i think, &lt;br&gt;maybe *ggggg*&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">zyko</dc:creator><pubDate>Tue, 17 Jun 2008 07:52:10 -0000</pubDate></item><item><title>Re: tools | Documentation Wiki</title><link>http://doc.silverstripe.org/doku.php?id=tools#comment-689513</link><description>&lt;p&gt;On Windows i prefer pspad. - &lt;a href="http://www.pspad.com/" rel="nofollow noopener" target="_blank" title="http://www.pspad.com/"&gt;http://www.pspad.com/&lt;/a&gt; &lt;br&gt;it's free, and allows direct editing files on the host (via a built in ftp client)&lt;/p&gt;&lt;p&gt;g&lt;br&gt;  Helmut&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">zyko</dc:creator><pubDate>Tue, 17 Jun 2008 04:19:07 -0000</pubDate></item><item><title>Re: genericdataadmin | Documentation Wiki</title><link>http://doc.silverstripe.org/doku.php?id=genericdataadmin#comment-460948</link><description>&lt;p&gt;THX again sam, for sure i'll will be one the first to use this thing :-))&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">zyko</dc:creator><pubDate>Wed, 14 May 2008 03:53:52 -0000</pubDate></item><item><title>Re: genericdataadmin | Documentation Wiki</title><link>http://doc.silverstripe.org/doku.php?id=genericdataadmin#comment-456360</link><description>&lt;p&gt;Hi chillu,&lt;br&gt;COOOOOLO, sam talked about that there's something in the pipeline about scaffolding.&lt;br&gt;i'm looking forward to use this :-)))&lt;/p&gt;&lt;p&gt;BTW: i've seen this &lt;br&gt;---&lt;br&gt;@todo has_many/many_many relation autocomplete field (HasManyComplexTableField doesn't work well with larger datasets)&lt;br&gt;----&lt;br&gt;comment in the code there.&lt;br&gt;and yessss, this is one of my last biggest problems remaining now. &lt;br&gt;if i've got a lot of DataObject rows and want to choose one of them in an relation there's no 'good solution' now.&lt;br&gt;i can't fill a comboBox with thousands of rows, neither can i use one of this ComplexTabelField relation Controls...&lt;/p&gt;&lt;p&gt;For now i solve this, by giving all dataobjects a has_one to member in the sense of 'createdBy'. &lt;br&gt;(in detail i did something like an 'acl' extension, which writes create_by, created_at, group, created_by_ip, and a has_one to an acl-object which can give security for read, write, search and delete for 'creator, group-member and world...)&lt;br&gt;as a acl-starter now, any member in cms now has only the possibility to get 'his created dataobjects' to choose from in the dropdown. can be eextended for exchange between groups if groups are 'ok' in ss finally.&lt;/p&gt;&lt;p&gt;but this ' relation autocomplete field' would save ma a lot of nights without sleep ;-))&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">zyko</dc:creator><pubDate>Tue, 13 May 2008 11:35:17 -0000</pubDate></item><item><title>Re: genericdataadmin | Documentation Wiki</title><link>http://doc.silverstripe.org/doku.php?id=genericdataadmin#comment-454955</link><description>&lt;p&gt;This one is absolutely cool for having an admin Interface for DataObjects.&lt;br&gt;There are only a few things to pay attention,if someone trys to use it:&lt;br&gt;i'll complete things todo for ss 2.2.1:&lt;br&gt;fe if you want to have an admin Interface for 'class myDataObjectThing extends DataObject'&lt;/p&gt;&lt;p&gt;class myDataObjectThingAdmin extends GenericDataAdmin {&lt;br&gt;  public function init() {&lt;br&gt;    parent::init();&lt;br&gt;  }&lt;/p&gt;&lt;p&gt;  static $result_columns = array('ID' =&amp;gt; 'ID', 'Field1GUIName' =&amp;gt; 'Field1DbName','Field2GUIName' =&amp;gt; 'Field2DbName');&lt;/p&gt;&lt;p&gt;// ATTENTION: you have to implement getLink() not Link(), and you should deliver your action and id&lt;br&gt;  function getLink($action = null, $ID = null) {&lt;br&gt;    return "admin/myDataObjectThingAdmin/$action/$ID";&lt;br&gt;  }&lt;/p&gt;&lt;p&gt;  function getSearchFields() {&lt;br&gt;    return new FieldSet(&lt;br&gt;			new TextField("Field1GUIName", "Field1DbName")&lt;br&gt;    );&lt;br&gt;  }&lt;/p&gt;&lt;p&gt;  function performSearch() {&lt;br&gt;    $search = Convert::raw2sql($this-&amp;gt;requestParams);&lt;br&gt;    $f_1db = $search['Field1DbName'];&lt;br&gt;    if ($f_1db) {&lt;br&gt;      $filter = "Field1DbName LIKE '{$f_1db}%'";&lt;br&gt;    }&lt;br&gt;    return DataObject::get("myDataObjectThing",$filter);&lt;br&gt;  }&lt;/p&gt;&lt;p&gt;  static $data_type = 'myDataObjectThing'; &lt;br&gt;  static $data_type_extra =  array(); &lt;br&gt;}&lt;/p&gt;&lt;p&gt;//Then: for 2.2.1 use this in your _config.php to have things be visible an linked ok in ss backend&lt;/p&gt;&lt;p&gt;Object::addStaticVars('LeftAndMain', array(&lt;br&gt;   'extra_menu_items' =&amp;gt; array(&lt;br&gt;		'myDataObjectThing' =&amp;gt; array('myDataObjectThingAdmin','admin/myDataObjectThingAdmin/','myDataObjectThing')&lt;br&gt;	) ));&lt;/p&gt;&lt;p&gt;Director::addRules(100, array(&lt;br&gt;	'admin/myDataObjectThingAdmin/$Action/$ID/$OtherID' =&amp;gt; 'myDataObjectThingAdmin',&lt;br&gt;));&lt;/p&gt;&lt;p&gt;//Now only one thing is missing:&lt;br&gt;// hack cms/css/GenericDataAdmin.css and write the following things (like seen in StatisticsAdmin.css) there&lt;br&gt;#right {&lt;br&gt;	overflow-y: scroll !important;&lt;br&gt;}&lt;br&gt;// if you don't do this, there's no scrolling at genericadmin.&lt;/p&gt;&lt;p&gt;//then implement additionally getCMSFields() on your myDataObjectThing&lt;br&gt;// don't use tabs (didn't work for me), deliver only a fieldset as in xxx_forPopup!! (-&amp;gt; use the same function *ggg* )&lt;br&gt;//fe:&lt;br&gt;  function getCMSFields() {&lt;br&gt;     return $this-&amp;gt;getCMSFields_forPopup(true);&lt;br&gt;    return($fields);&lt;br&gt;  }&lt;/p&gt;&lt;p&gt;// this thing is ok for me now, leaves only 2 problems, i can live with&lt;br&gt;// (1) the save-button stands above all other controls, and is not 'at the end of the form'&lt;br&gt;// (2) klicking save does the save action, but the button never stops working. not that big problem&lt;br&gt;//       action was done, if you select the next entry things stop...&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">zyko</dc:creator><pubDate>Tue, 13 May 2008 04:59:30 -0000</pubDate></item></channel></rss>