You are not logged in.
The code that works almost perfect:
<txp:zem_contact_select label="Aktiviteit" list="<txp:article_custom wraptag="" break="," category="formulier" limit="20" ><txp:title /></txp:article_custom>" break="<em>*</em></li><li>" />
But now there are UTF characters in the titles. See the form … how do I solve this?
I think its becase you have but the comma into the break tag, and TXP is converting it to html. You need to escape the caracter i think, or dont put it in the break. i put mine after the title tag, and left the break empty, did this not work?
Last edited by txpdevcoder (2012-06-15 10:07:27)
usually it is a back slash, but maybe not for textpattern…. try:
<txp:zem_contact_select label=“Aktiviteit” list=”<txp:article_custom wraptag=”“ break=”\,” category=“formulier” limit=“20” ><txp:title /></txp:article_custom>” break=”<em>*</em></li><li>” />
It works! Thanks uli and txpdevcoder … :)
But what does
no_widow="0" do? The docs say > ‘- allow the last word in the title to appear on its own line, i.e. the title content is rendered unchanged’ … magic I suppose!
Last edited by RedFox (2012-06-15 13:38:19)
no problem, did the escape work or <txp:title no_widow=“0” />?
But what does
no_widow="0"do? The docs say > ‘- allow the last word in the title to appear on its own line, i.e. the title content is rendered unchanged’ … magic I suppose!
The widow pref decides whether an
& #160 ; (aka non-breaking space, which I saw in your select) is inserted between the last two words of an article title. The attribute in the
title tag can overrule the pref setting.
Last edited by uli (2012-06-15 14:50:19)
@Els: Mm … I can’t get a .htaccess file (with ‘SecFilterScanPOST Off’) into /textpattern … !? … what has to be the precise content of that file, Els?
Just that line, as far as I know. I don’t understand why you can’t get the file in /textpattern… Just create the file locally and FTP it?