Revision 169

Revision: 169
Author: jschneiderameos
Date: 10:02:28, mardi 4 mars 2008

Message:
api/class.tx_ameosformidable.php:
remote/formidableajax.php:
  -> corrected bug in formidable ajax management
----
Modified : /api/class.tx_ameosformidable.php
Modified : /ext_emconf.php
Modified : /ext_typoscript_setup.txt
Modified : /remote/formidableajax.php


Revision: 168
Author: jschneiderameos
Date: 11:34:54, lundi 3 mars 2008

Message:
rdt_box/api/class.tx_rdtbox.php:
  -> new method majixRepaint(); usefull when you want to re-render the content of a box in ajax

rdt_chooser/api/class.tx_rdtchooser.php:
  -> new property /renderAsLinks=<userobj>, adding the possibility to generate a custom link on each chooser entry; userobj has to return an URL
  -> new entry selectedid in returned htmlbag

rdt_date/api/class.tx_rdtdate.php:
  -> corrected bug in htmlbag returned, was not using new dotted notation

rdt_img/api/class.tx_rdtimg.php:
  -> added /folder property, to be able to give the base folder in which images are stored;
  -> needed files are now included when image is generated in ajax context

rdt_link/api/class.tx_rdtlink.php:
  -> new property /typolink=boolean; if true, value will be passed to a typolink cObj to render url
  -> new htmlbag entries tag.begin, tag.innerhtml and tag.end

rdt_modalbox/api/class.tx_rdtmodalbox.php:
  -> majixShowBox() now renders the modalbox without re-initializing the renderlets
  -> new method majixShowFreshBox(); use it instead of majixShowBox() to open a newly rendered modalbox

api/class.tx_ameosformidable.php:
  -> new template method formData([$sFieldName]); if field-param given, returns the value of this field, otherwise returns the complete array
  -> new template method storedData([$sFieldName]); if field-param given, returns the value of this field, otherwise returns the complete array
  -> new template method rteToHtml()

remote/formidableajax.php:
  -> cObj is now created when formidable awakes in ajax context

----
Modified : /api/base/rdt_box/api/class.tx_rdtbox.php
Modified : /api/base/rdt_chooser/api/class.tx_rdtchooser.php
Modified : /api/base/rdt_date/api/class.tx_rdtdate.php
Modified : /api/base/rdt_img/api/class.tx_rdtimg.php
Modified : /api/base/rdt_link/api/class.tx_rdtlink.php
Modified : /api/base/rdt_lister/api/class.tx_rdtlister.php
Modified : /api/base/rdt_modalbox/api/class.tx_rdtmodalbox.php
Modified : /api/class.tx_ameosformidable.php
Modified : /ext_emconf.php
Modified : /ext_typoscript_setup.txt
Modified : /remote/formidableajax.php
Modified : /res/jsfwk/framework.js


Revision: 167
Author: jschneiderameos
Date: 21:49:24, mardi 26 février 2008

Message:
rdt_link/res/js/link.js:
  -> specialization of js methods getLabel() and replaceLabel(sLabel)

rdt_tabpanel/api/class.tx_rdttabpanel.php:
  -> added defaultTabl="none"

api/class.tx_ameosformidable.php:
  -> init() can now take "EXT:myextkey/myform.xml" 'like pathes

res/jsfwk/framework.js:
  -> added experimental param for ajax:   majix:renderletname:methodName
----
Modified : /api/base/rdt_box/res/js/box.js
Modified : /api/base/rdt_link/api/class.tx_rdtlink.php
Added : /api/base/rdt_link/res
Added : /api/base/rdt_link/res/js
Added : /api/base/rdt_link/res/js/link.js
Modified : /api/base/rdt_tabpanel/api/class.tx_rdttabpanel.php
Modified : /api/base/rdt_tabpanel/res/js/libs/control.tabs.2.1.1.js
Modified : /api/class.tx_ameosformidable.php
Modified : /ext_emconf.php
Modified : /ext_typoscript_setup.txt
Modified : /res/jsfwk/framework.js


Revision: 166
Author: jschneiderameos
Date: 11:06:57, jeudi 21 février 2008

Message:
rdt_lister/api/class.tx_rdtlister.php:
  -> new markers ###MORE_BEFORE### and ###MORE_AFTER### in pager template, if link-window option is on

Sample of Template:

<!-- ###mycoolpager### begin-->
    <div>
        <!-- ###LINKFIRST### begin-->
            <a href="{link}">{LLL:EXT:ameos_formidable/api/base/rdt_lister/res/locallang/locallang.xml:pager.first}</a>
        <!-- ###LINKFIRST### end-->

        <!-- ###LINKPREV### begin-->
        <a title="{LLL:EXT:ameos_formidable/api/base/rdt_lister/res/locallang/locallang.xml:pager.previous.title}" href="{link}">
            {LLL:EXT:ameos_formidable/api/base/rdt_lister/res/locallang/locallang.xml:pager.previous}
        </a>
        <!-- ###LINKPREV### end-->

        <!-- ###WINDOW### begin-->

            <!-- ###WINDOWLINKS### begin-->
                
                <!-- ###MORE_BEFORE### begin--><label class="morebefore">...</label><!-- ###MORE_BEFORE### end-->
                
                <!-- ###NORMAL### begin--><a href="{link}">{page}</a><!--###NORMAL### end-->
                <!-- ###ACTIVE### begin--><label class="selected">{page}</label><!-- ###ACTIVE### end-->

                <!-- ###MORE_AFTER### begin--><label class="moreafter">...</label><!-- ###MORE_AFTER### end-->

            <!-- ###WINDOWLINKS### end-->

        <!-- ###WINDOW### end-->

        <!-- ###LINKNEXT### begin-->
        <a title="{LLL:EXT:ameos_formidable/api/base/rdt_lister/res/locallang/locallang.xml:pager.next.title}" href="{link}">
            {LLL:EXT:ameos_formidable/api/base/rdt_lister/res/locallang/locallang.xml:pager.next}
        </a>
        <!-- ###LINKNEXT### end-->

        <!-- ###LINKLAST### begin-->
            <a href="{link}">
                <!-- ###PAGER### begin-->
                    {LLL:EXT:ameos_formidable/api/base/rdt_lister/res/locallang/locallang.xml:pager.last}
                <!-- ###PAGER### end-->
            </a>
        <!-- ###LINKLAST### end-->
    </div>
<!-- ###mycoolpager### end-->


rdt_searchform/api/class.tx_rdtsearchform.php:
  -> corrected bug in clearFilters(); searchform descendants were not properly cleared

api/class.tx_ameosformidable.php:
  -> new template methods ucfirst() and ucwords() (see php doc for same methods)

----
Modified : /api/base/rdt_lister/api/class.tx_rdtlister.php
Modified : /api/base/rdt_searchform/api/class.tx_rdtsearchform.php
Modified : /api/class.tx_ameosformidable.php
Modified : /ext_emconf.php
Modified : /ext_typoscript_setup.txt


Revision: 165
Author: jschneiderameos
Date: 12:04:45, mardi 29 janvier 2008

Message:
ds_db/api/class.tx_dsdb.php:
  -> all properties or external-db feature are now userobj'ables

rdt_modalbox/api/class.tx_rdtmodalbox.php:
  -> function majixShowBox(): there's now a second optional parameter $aTags=array(); if given, this array will be passed to template engine when rendering the content of the modalbox

rdt_modalbox/res/js/modalbox.js:
  -> corrected method showBox(); it's now possible to override default modalbox styles
    majixShowBox(
        array(
            "style" => array(
                "background" => "#F2F2F1",
                "borderColor" => "#74AC52",
            )
        ),
        array(
            "mymarkers" => $aMyMarkers
        )
    );

class.mainrenderlet.php:
res/jsfwk/framework.js:
  -> added methods majixClearValue() and majixSetValue()

api/class.tx_ameosformidable.php:
  -> resolveForTemplate(): now able to throw "exceptions" to notify template engine if parsing has failed or breaked
  -> new parameter: /meta/debugSendmail=myemail@mydomain.com; if set, all mail sent thru tx_ameosformidable::sendMail() will be redirected to this adress
  -> sendToPage($sUrl): parameter can now be numeric, like a page id
  -> new method div_autoLogin(): automatically logs in user of given id

api/class.tx_ameosformidable_pi.php:
  -> given flexform parameter can now also be an xml path
----
Modified : /api/base/ds_db/api/class.tx_dsdb.php
Modified : /api/base/rdt_lister/api/class.tx_rdtlister.php
Modified : /api/base/rdt_modalbox/api/class.tx_rdtmodalbox.php
Modified : /api/base/rdt_modalbox/res/js/modalbox.js
Modified : /api/class.mainrenderlet.php
Modified : /api/class.tx_ameosformidable.php
Modified : /api/class.tx_ameosformidable_pi.php
Modified : /ext_emconf.php
Modified : /ext_typoscript_setup.txt
Modified : /pi1/flexform.xml
Modified : /pi2/flexform.xml
Modified : /res/jsfwk/framework.js