[TYPO3] Cool URI & ve_guestbook

Matthias Gottschalk matthias at gottschalks.eu
Mon Feb 18 21:08:21 CET 2008


Hello @ all,

sorry about my very bad English.
I have Cool URI and ve_guestbook in my Typo Installation.
It is working, but switching to the single Page of Entries 1,2,3,4 is 
not possible!
This is a Problem with Cool URI, but i dont had an answer for this problem.
Please help me.!

Thanxxxxxxx
Matthias


This is my Cool URI XML File:

<?xml version="1.0" encoding="utf-8"?>

<cooluri>

 <cooluris>1</cooluris>



 <cache>

   <usecache>1</usecache>

   <params2cool>

     <checkforchangeevery>0</checkforchangeevery>

   </params2cool>

   <cool2params>

     <translateifnotfound>0</translateifnotfound>

     <oldlinksvalidfor>365</oldlinksvalidfor>

   </cool2params>

   <cacheparams>0</cacheparams>

 
   <pagenotfound>

     <status>HTTP/1.0 404 Not Found</status>

     <behavior type="message"><![CDATA[ <h1>Page not found!</h1> 
]]></behavior>

   </pagenotfound>

 </cache>



 <pagepath>

   <table>pages</table>

   <id>uid</id>

   <title>alias,subtitle,title</title>

   <connection>pid</connection>

   <additionalWhere><![CDATA[ AND is_siteroot<>1 ]]></additionalWhere>

   <start>

     <param>pid</param>

     <value>0</value>

   </start>

   <idconstraint>

     <match>^[0-9]+$</match>

   </idconstraint>

 
   <saveto>id</saveto>

   <default>0</default>

     
   <allparamconstraints> <!-- constraint -->

     <type>int</type>

     <compare>gt</compare>

     <value>0</value>

   </allparamconstraints>

 
   <userfunc>tx_cooluri->getPageTitle</userfunc>

 </pagepath>



 <uriparts>

   <part>

     <parameter>tx_ttnews[tt_news]</parameter>

     <lookindb>

       <to>SELECT title FROM tt_news WHERE uid=$1</to>

       <translatetoif>

         <match>^[0-9]+$</match>

       </translatetoif>

       <urlize>1</urlize>

     </lookindb>

   </part>

   <part>

     <parameter>tx_eeblog[showUid]</parameter>

     <lookindb>

       <to>SELECT subject FROM tx_eeblog_maintable WHERE uid=$1</to>

       <translatetoif>

         <match>^[0-9]+$</match>

       </translatetoif>

       <urlize>1</urlize>

     </lookindb>

   </part>
   <part>
     <parameter>tx_cal_controller[category]</parameter>
     <lookindb>
       <to>SELECT title FROM tx_cal_category WHERE uid=$1</to>
       <translatetoif>
         <match>^[0-9]+$</match>
       </translatetoif>
       <urlize>1</urlize>
     </lookindb>
   </part>
   <part>
     <parameter>tx_cal_controller[uid]</parameter>
     <lookindb>
       <to>SELECT title FROM tx_cal_event WHERE uid=$1</to>
       <translatetoif>
         <match>^[0-9]+$</match>
       </translatetoif>
       <urlize>1</urlize>
     </lookindb>
   </part>

   <part>
     <parameter>tx_cal_controller[view]</parameter>
   </part>
   <part>
     <parameter>tx_cal_controller[getdate]</parameter>
   </part>
   <part>
     <parameter>tx_cal_controller[lastview]</parameter>
   </part>
   <part>
     <parameter>tx_cal_controller[type]</parameter>
   </part>
   <part>
     <parameter>tx_cal_controller[gettime]</parameter>
   </part>
   <part>
     <parameter>tx_cal_controller[preview]</parameter>
   </part>
   <part>
     <parameter>tx_cal_controller[page_id]</parameter>
   </part>





</uriparts>

 
 <predefinedparts>

   <part>

     <parameter>tx_ttnews[backPid]</parameter>

   </part>

   <part>

     <parameter>cHash</parameter>

   </part>

   <part>

     <parameter>tx_eeblog[pointer]</parameter>

   </part>

   <part>

     <parameter>tx_eeblog[backPID]</parameter>

   </part>

   <part>

     <parameter>no_cache</parameter>

   </part>

 </predefinedparts>



 <valuemaps>

   <valuemap>

     <parameter>L</parameter>

     <value key="">0</value>

     <value key="en">1</value>

   </valuemap>

 </valuemaps>



 <paramorder>

   <param>L</param>

 </paramorder>



</cooluri>


More information about the TYPO3-english mailing list