[TYPO3-english] Re: Google Custom Search Integration

Florian Rival florian.typo3 at oktopuce.fr
Tue Feb 28 09:59:17 CET 2017


Hi François,

May be it works but it's just an ugly workaround and your code isn't W3C compliant.
The problem is because the namespace 'gsce' is unknown by Fluid, you should include it somewhere, you can try this :

<div xmlns="http://www.w3.org/1999/xhtml" lang="en"
	 xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers"
	 xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
	 xmlns:gcse="uri:google-did-not-provide-a-real-ns">

Your code ...

</div>

or other solution is to include the code with JS, have a look here : http://stackoverflow.com/questions/12736598/element-name-gcsesearchbox-only-cannot-be-represented-as-xml-1-0



-- 
-- Florian Rival --
www.oktopuce.fr


More information about the TYPO3-english mailing list