Search
Other Articles Anywhere questions
Forum

showlabel="false" not working

Roy Chappell's Avatar Roy Chappell
Hi

I have installed and got working Articles Anywhere. However it doesn't obey the showlabel="false" setting, whether entered manually or via the AA button

Everything is upto date and I can provide admin credentials

It look like a very powerful extension

UPDATE
I have 2 lines
<div>{articles category:id="16"}[5-day]{/articles}</div>
<div>{article id="4"}[course-price]{/article}</div>

this produces the 2 lines
Start date: 2021-11-22, Separating word: until, End date: 2021-11-26
350

Ideally I would like the 1st line to display, without the label and comma separators
2021-11-22 until 2021-11-26

The 1st line is a subform custom field, perhaps that is the reason that labels are displayed in the 1st line?

thanks
Roy
Peter van Westen's Avatar Peter van Westen ADMIN
Is this on a Joomla 3 or Joomla 4 setup?
Please post a rating at the Joomla! Extensions Directory
Roy Chappell's Avatar Roy Chappell
Hi

J4

Roy
Peter van Westen's Avatar Peter van Westen ADMIN
Please refer to the documentation of the Joomla 4 version:
docs4.regularlabs.com/articlesanywhere/g...started/introduction

Especially this on how you can output Subform data:
docs4.regularlabs.com/articlesanywhere/g...r/foreach-structures

Read this to see the many differences between the Joomla 3 and Joomla 4 version:
docs4.regularlabs.com/articlesanywhere/g...m-joomla3-to-joomla4
Please post a rating at the Joomla! Extensions Directory
Roy Chappell's Avatar Roy Chappell
Hi Peter

thanks for your replay and the heads up on the doc pages.

I'm trying to write a statement that only displays the date row if it is > today's date. I have tried the following but it just displays the code:
<div>{article}{foreach data="5-day"}{if row:start-date > now()}[row:start-date format="F jS Y"] [row:separating-word] [row:end-date format="F jS Y"]{/if}{/foreach}{/article}</div>

Is what i'm trying to achieve possible?

thanks
Roy
Peter van Westen's Avatar Peter van Westen ADMIN
It is not possible to use IF statements inside the FOREACH tags at the moment.
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