[TYPO3] cooluri and two db fields

Jan Bednarik info at bednarik.org
Mon Feb 25 21:07:53 CET 2008


Hi,

> generates the same url for several products... is there a way to append
> the uid to the title of the event?

yes, there is. I think, it's in the manual too.

somevariable=X => (value from DB)-X

uriparts:
     <part>
       <parameter>somevariable</parameter>
       <lookindb>
         <to>SELECT CONCAT(title,'-',uid) FROM table WHERE uid=$1</to>
         <t3conv>1</t3conv>
       </lookindb>
     </part>

-- 
Jan Bednarik
www.bednarik.org - web about Typo3 in czech


More information about the TYPO3-english mailing list