02.09.2008: realUrl von cwt_press_center

Auch die Links der Extension cwt_press_center lassen sich wunderbar mit realUrl umschreiben. Bis auf den Drucklink klappt das ganz hervorragend.

Hier ist meine RealUrl Config für cwt_press_center:

// Press center
'press-release' => array(
    array(
        'GETvar' => 'tx_cwtpresscenter_pi1[showUid]',
        'lookUpTable' => array(
            'table' => 'tx_cwtpresscenter_newsitems',
            'id_field' => 'uid',
            'alias_field' => 'title',
            'addWhereClause' => ' AND NOT deleted',
            'useUniqueCache' => 1,
            'useUniqueCache_conf' => array(
            'strtolower' => 1,
            'spaceCharacter' => '_',
            ),
        ),
    ),
),
'd' => array(
    array(
        'GETvar' => 'tx_cwtpresscenter_pi2[newsid]',
        'lookUpTable' => array(
            'table' => 'tx_cwtpresscenter_newsitems',
            'id_field' => 'uid',
            'alias_field' => 'title',
            'addWhereClause' => ' AND NOT deleted',
            'useUniqueCache' => 1,
            'useUniqueCache_conf' => array(
            'strtolower' => 1,
            'spaceCharacter' => '_',
            ),
        ),
    ),
),
'f' => array(
    array(
        'GETvar' => 'tx_cwtpresscenter_pi2[showUid]',
        'lookUpTable' => array(
            'table' => 'tx_cwtpresscenter_mediaarchiv',
            'id_field' => 'uid',
            'alias_field' => 'title',
            'addWhereClause' => ' AND NOT deleted',
            'useUniqueCache' => 1,
            'useUniqueCache_conf' => array(
            'strtolower' => 1,
            'spaceCharacter' => '_',
            ),
        ),
    ),
),
'pid' => array(
    array(
        'GETvar' => 'tx_cwtpresscenter_pi2[newspid]',
        'lookUpTable' => array(
            'table' => 'tx_cwtpresscenter_newsitems',
            'id_field' => 'uid',
            'alias_field' => 'uid',
            'addWhereClause' => ' AND NOT deleted',
            'useUniqueCache' => 1,
            'useUniqueCache_conf' => array(
            'strtolower' => 1,
            'spaceCharacter' => '_',
            ),
        ),
    ),
),
'file' => array(
    array (
        'GETvar' => 'tx_cwtpresscenter_pi1[action]',
      ),
    array(
        'GETvar' => 'tx_cwtpresscenter_pi1[filename]',
        'lookUpTable' => array(
            'table' => 'tx_cwtpresscenter_mediaarchiv',
            'id_field' => 'uid',
            'alias_field' => 'title',
            'addWhereClause' => ' AND NOT deleted',
            'useUniqueCache' => 1,
            'useUniqueCache_conf' => array(
            'strtolower' => 1,
            'spaceCharacter' => '_',
            ),
        ),
    ),
),

Leider fehlt mir noch die zündende Idee, wie ich den Printlink in RealUrl umsetze, wer das weis kann sich gerne bei mir melden.


Kommentare

No comments

Kommentar schreiben

Anmerkung hinzufügen

* - obligatorisches Feld

*





*
*