[TYPO3-english] Re: cooluri: how can I get it work for some parameters?

Alex C. alex.complojer at brandnamic.com
Mon Feb 24 12:41:58 CET 2014


Hello Jan,

same Apostrophes here:

		<part>
			<parameter>tx_xxx_pi1[pfid]</parameter>
			<lookindb>
				<to>SELECT CONCAT(tx_xxx_name,"_dev") FROM tt_content WHERE (uid=$1 OR l18n_parent=$1) AND sys_language_uid={L=0}</to>
				<translatetoif>
					<match>^[0-9]+$</match>
				</translatetoif>
				<t3conv>1</t3conv>
			</lookindb>
		</part>

If the Query cant find a result (example: because the searched Contentelement isnt translated at this point and Typo3 is configured to language fallback), the generated url will look like: /'uid'.html. The Apostrophes can't be resolved and the Page will throw a "page not found".

Is there a way to remove/escape the Apostrophes?







More information about the TYPO3-english mailing list