Search
Other Articles Anywhere questions
Forum

remove paragraph tags between custom fields in list

Anne Garger's Avatar Anne Garger
I don't want a paragraph tag between the field label and value. I am using this code in my override and it is showing the field value on one line and the field value on another. I thought layout=false next to the field value would strip the paragraph tag. I'm using Joomla! 4.4.5 Stable, Yootheme YOOtheme
Version 4.4.15 and 16.1.0 pro Articles Anywhere

Here's my code

{article id="<?php echo $item->id; ?>" }[correspondent-address-combined:label][correspondent-address-combined layout="false"]

Confidential information:
(hidden)


Address

4-K, Fuchika Street St. Petersburg, RUSSIA 192102
Peter van Westen's Avatar Peter van Westen ADMIN
Those p tags are probably inside the value of the correspondent-address-combined filed. That is probably an editor field, which adds those.
Try stripping the html tags:
docs4.regularlabs.com/articlesanywhere/d...ping-strip-html-tags
Please post a rating at the Joomla! Extensions Directory
Anne Garger's Avatar Anne Garger
Thanks again for the quick response, I used DB replacer to remove the <p> tags.

But the editor seemed to put the tags back in so I fixed with CSS.
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription