Search
Other Articles Anywhere questions
Forum

J4 Insert-Button

Peter Hellinger's Avatar Peter Hellinger
J4, Articles Anywhere v13.0.0PRO, Regular Labs Library v22.11.13310.

If I insert an articles command with the insert button, I get some quirky </p><p> in the inserted code.

The Code as seen from the insert dialogue:


The code inserted by the insert button:


I used no Editor to avoid some unwanted "corrections" from the editor engine.

bg, Peter
Peter van Westen's Avatar Peter van Westen ADMIN
Please try the latest development version from:
regularlabs.com/development-releases
Please post a rating at the Joomla! Extensions Directory
Peter Hellinger's Avatar Peter Hellinger
So, I tried the 13.0.1-dev2486140 Version.

Now we have a <br> at the end of the tags.



bg, Peter
Peter van Westen's Avatar Peter van Westen ADMIN
Which is correct and as it should be.
When using the {articles} tag, you will most likely have multiple articles being output.
And you do not want to have:
Article OneArticle TwoArticle Three
So the <br> is added by default, so you get:
Article One
Article Two
Article Three

You can of course remove that and alter the code any way you want. The editor button is just to get you started with the syntax.

Also see: docs4.regularlabs.com/articlesanywhere/p...eparating-the-output
Please post a rating at the Joomla! Extensions Directory
Peter van Westen's Avatar Peter van Westen ADMIN
But yes, I could see if the <br> can be removed when using heading tags for the first data tag.
Please post a rating at the Joomla! Extensions Directory
Peter Hellinger's Avatar Peter Hellinger
Hm, I dont think, that the <br> "as it should be" there. We have a field "Separator" in the dialoge to add a spearoter if we want to have some separator.

bg, Peter
Peter van Westen's Avatar Peter van Westen ADMIN
Yes, you are right.
I have removed it from the latest dev version:
regularlabs.com/development-releases
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription