Search
Other Articles Anywhere questions
Forum

Users Anywhere

INFINI Marketing's Avatar INFINI Marketing
thank you so much! looking forward to testing and seeing a full version come out at some point! thank you for all your hard work for the joomla cms plugins! they are invaluable.
INFINI Marketing's Avatar INFINI Marketing
pretty cool functionality, was able to combine (articles and users) anywhere nested, to get the user id, to show the user custom fields when logged in to see their profile..
{article}
{user id="[user:id]"}[first-name]
{/user}
{/article}

trying to use user custom fields repeatable subform.. but not working.. not sure if that is implemented yet.. will keep trying other things.. awesome so far!
Historical Role(s)
{foreach data="historical-service-role"}
    <p>Club Position: [row:historical-service-role-title]</p>
    <p>Period: [row:historical-service-role-start-date] - [row:historical-service-role-end-date]</p>
{/foreach}

Awards:
{foreach data="award"}
    <p>Award: [row:award-name]</p>
    <p>Date Received: [row:award-date]</p>
{/foreach}
Peter van Westen's Avatar Peter van Westen ADMIN
Hmmm, foreach tags on subform fields is working ok for me.
Maybe it is down to the sub-field type. Can you test with text fields in the subform?
Please post a rating at the Joomla! Extensions Directory
INFINI Marketing's Avatar INFINI Marketing
ok! thank you for verifying that subforms work for you. I've done some more testing and this is what I learned. i was basically over-complicating it all..

i didn't need to nest (articles and users) anywhere plugins.
i also noticed that [user:id] already worked in
{users}[user:id]{/users}
and on top of that.. i didn't need to use [user:id] at all!

this is more the complete works perfectly.
{user}[first-name]
{foreach data="historical-service-role"}
    Club Position: [row:historical-service-role-title]
    Period: [row:historical-service-role-start-date] - [row:historical-service-role-end-date]
{/foreach}
{/user}
INFINI Marketing's Avatar INFINI Marketing
continuing to play.. i find it curious as to why the time would not show on the "end time"
{foreach data="open-source-project"}
Project: [row:open-source-name] 
Start Time: [row:open-source-name-start-time]
End Time: [row:open-source-name-end-time]
{/foreach}



the end date and time is there, like it is for start time.. but it renders without the end time:

Project: Joomla!
Start Time: 2025-01-17 10:00
End Time: 2025-01-17

Project: Joomla!
Start Time: 2025-01-17 12:30
End Time: 2025-01-17
Peter van Westen's Avatar Peter van Westen ADMIN
I can't say with just that information.

Can you give me (super) admin access so I can take a look?
You can use the 'Confidential information' button in the forum editor to hide sensitive information.
Please post a rating at the Joomla! Extensions Directory
Marc's Avatar Marc
Hi Peter,

I wish you a very happy New Year for you and your extensions 🙂

I have 2 questions if I may

1.
I wanted to use Users Anywhere in Joomla's Mail Template (for example to customize the email sent to the Administrators in order to Validated freshly created Accounts). I tested with
{user name="{NAME}"}[name] - [email]{/user}
but obviously Users Anywhere shortcode is *not* triggered. Could you tell me which file can be edited to enable Users Anywhere in Mail Templates ? (it is indeed a very nice usecase in order to include the Custom Fields for example)

2.
You posted a few days ago the latest links to the dev version. Is there any ETA for the Release?

Txs for everything,

Marc
Peter van Westen's Avatar Peter van Westen ADMIN
1) As far as I know, Joomla doesn't pass the email templates through the Joomla plugins. So you won't be able to use any plugins inside the emails.

2) I have no ETA yet. Still need to finish up the documentation and my 'new' website. Was planning to release it at the moment my new site goes live. That can take months.
Please post a rating at the Joomla! Extensions Directory
INFINI Marketing's Avatar INFINI Marketing
Confidential information:
(hidden)
INFINI Marketing's Avatar INFINI Marketing
thanks! i am seeing a new error though..



Confidential information:
(hidden)
Peter van Westen's Avatar Peter van Westen ADMIN
Error should be fixed with new dev.

Syntax is just:
{foreach data="open-source-project"}

The user is already defined in the main {user} tag.
So either use:
{user id="357"}
Or this for the current user:
{user}
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