We’re rewarding the question askers & reputations are being recalculated! Read more.

New answers tagged


The code required to extract the first name of the currently logged in user is fairly simple. Here's an example: <?php $user = JFactory::getUser(); if (!$user->guest) { echo strtok($user->name, ' '); } ?> Using the free or paid version of Sourcerer you could insert the code directly into an article as follows: {source}<?php $user =...


In my case, I think it was because I don't close vim so swap files .swp exists in my dev folders! With J!3.9.12 and 4.0.0-alpha10-dev

Top 50 recent answers are included