Search
Other Articles Anywhere questions
Forum

First item of multiple articles has a different layout in the list from the rest

Dick Mulder's Avatar Dick Mulder
Hi, the subject describes it all. I have a selection of articles created by Articles Anywhere (Pro) and the first item in the list shows a white line between the header and the paragraph. The rest of the entries are normal, that means, a header (h3) followed by a new line with the introtext. It seems that the code creates an extra paragraph for the linked header of the first article.
Peter van Westen's Avatar Peter van Westen ADMIN
This is probably down to the html you have surrounding your {articles} tags.
Do you have this online so I can take a look?
Please post a rating at the Joomla! Extensions Directory
Dick Mulder's Avatar Dick Mulder
Here's the url Peter: green-island.holiday/index.php/nl/waarom...fu/wandelen-op-corfu
The module is at the bottom of the article.
Thanks for your quick response!
Peter van Westen's Avatar Peter van Westen ADMIN
It looks like you have copy/pasted the code from my website, copying along styling elements.
When pasting code, always paste as plain text.

When you switch to the html view of your editor, you will see something like this:
<p><span class="rl_code">{articles ...}</span>[link]<strong>[title]</strong>[/link]<span class="rl_code">[introtext]{/articles}</span></p>
Remove the unwanted spans so it becomes:
<p>{articles ...}[link]<strong>[title]</strong>[/link][introtext]{/articles}</p>
Please post a rating at the Joomla! Extensions Directory
Dick Mulder's Avatar Dick Mulder
Ah, i thought Articles Anywhere put the code there? i didn't do it, that's for sure. At some of the module source code i see 'class=aa'. I guess that's from Articles Anywhere?
Peter van Westen's Avatar Peter van Westen ADMIN
No, Articles Anywhere does not place classes into your editor.
Please post a rating at the Joomla! Extensions Directory
Dick Mulder's Avatar Dick Mulder
Tried with this code
<p>{article type="k2" tag="wandelen"}[link]<strong>[title]</strong>[/link][introtext]{/article}</p>
, but still the same problem.
Peter van Westen's Avatar Peter van Westen ADMIN
Seeing the introtext has <p> tags in it, it is best to place this on it's own line. So:
<p>{articles type="k2" tag="wandelen"}[link]<strong>[title]</strong>[/link]</p>
<p>[introtext]</p>
<p>{/articles}</p>
Please post a rating at the Joomla! Extensions Directory
Dick Mulder's Avatar Dick Mulder
Did you receive the hidden information Peter?
Peter van Westen's Avatar Peter van Westen ADMIN
Nope.
Did you try to place the [title] tag on a new paragraph line?
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