[TYPO3-ttnews] EXT:news realURL with List and Single on same page does not display Single

Tony Lush tlush at advancewm.com
Sun Oct 14 17:15:29 CEST 2012


Greetings,

On a site with multiple pages using EXT:news as a product catalog I am 
having trouble displaying the Single view when selected from its List. 
The realURL displays correctly, but the List view is still displayed.

If the List page uri = MyDomain.com/ParentPage/List/ clicking the link 
produces
MyDomain.com/ParentPage/List/SingleTitle/

However, the List view still displays

My realurlconf.php file includes:

   'mydomain.com' => array (
     'init' => array (
       'enableCHashCache' => true,
       'appendMissingSlash' => 'ifNotFile,redirect',
       'adminJumpToBackend' => true,
       'enableUrlDecodeCache' => true,
       'enableUrlEncodeCache' => true,
       'emptyUrlReturnValue' => '/',
       ),
     'pagePath' => array (
       'type' => 'user',
       'userFunc' => 
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
       'spaceCharacter' => '-',
       'languageGetVar' => 'L',
       'rootpage_id' => '1',
       'firstHitPathCache'=>1
       ),
     'fileName' => array (
       'defaultToHTMLsuffixOnPrev' => 0,
       'acceptHTMLsuffix' => 1,
     ),
// EXT:news start
'news' => array (
     array (
         'GETvar' => 'tx_news_pi1[action]' ,
         ),
      array (
         'GETvar' => 'tx_news_pi1[controller]' ,
         ),
      array (
          ' GETvar ' => ' tx_news_pi1[news] ' ,
          ' lookUpTable ' => array (
              ' table ' => ' tx_news_domain_model_news ' ,
              ' id_field ' => ' uid ' ,
              ' alias_field ' => ' title ' ,
              ' addWhereClause ' => '  AND NOT deleted ' ,
              ' useUniqueCache ' => 1 ,
                  ' useUniqueCache_conf ' => array (
                  ' strtolower ' => 1 ,
                  ' spaceCharacter ' => ' - ' ,
                 ),
          ),
      ),
  ),

     'fixedPostVars'=> array(
         '43'=> array(
              array(
                 'GETvar'=>'tx_news_pi1[news]',
                 'optional' => TRUE,
                 'lookUpTable'=> array(
                     'table'=>'tx_news_domain_model_news',
                     'id_field'=>'uid',
                     'alias_field'=>'title',
                     'addWhereClause'=>'AND NOT deleted',
                     'useUniqueCache'=> 1,
                     'useUniqueCache_conf'=> array(
                         'strtolower'=> 1,
                         'spaceCharacter'=>'-'
                      )
                  )
              )
          ),
     ),
     'postVarSets' => array(
         '_DEFAULT' => array(
             'controller' => array(
                 array(
                     'GETvar' => 'tx_news_pi1[action]',
                     'noMatch' => 'bypass'
                 ),
                 array(
                     'GETvar' => 'tx_news_pi1[controller]',
                     'noMatch' => 'bypass'
                 ),
             ),
         ),
     ),
),  // End mydomain

I would appreciate some advice.

Kind regards -- Tony


More information about the TYPO3-project-tt-news mailing list