Forums / Setup & design / inline elements in template
akiL Mussa
Monday 20 December 2004 7:28:15 am
Hello,
Can anybody explain me how to remove line break between 2 elements in template?I would like to have the intro text of an article followed by the published date of this article, without line break.
Something like:...intro text.[20.12.2004]
and not: ...intro text.[20.12.2004]
I'm trying something like this, but isn't working:
{set-block scope=root variable=is_block}false{/set-block} {attribute_view_gui attribute=$node.object.data_map.intro} [{$node.object.published|datetime(custom,"%d-%m-%Y")}] {set-block scope=root variable=is_block}true{/set-block}
Can anybody help me with this?akiL
Roy Bøhmer
Monday 20 December 2004 11:59:59 am
Hi akiL!
I think what you experience is that xmltext-attributes by default is surrounded by <p>-tags. There is a way to override the template. Take a look at this:http://ez.no/community/forum/suggestions/default_paragraph_in_an_ezxmltext_datatype
Roy