Categories
CMS Joomla Mastering Development

Error JLIB_APPLICATION_ERROR_INVALID_CONTROLLER on Joomla 3.7

I have an issue with a cli php script I’m trying to execute. I want to add article with custom fields. The part where I add articles is working well. But when I add the code to load the article I just stored and set its custom fields values, there is the following error: Call […]

Categories
CMS Joomla Mastering Development

How to install custom component Sample Data?

I have a custom component for Joomla. I understand how to install some data using sql file of component. Now I want to add some data to the database tables in a seperate package. I can’t find any documentation on this and I’m not sure what’s the best way to do it. Would I need […]

Categories
CMS Joomla Mastering Development

Front End Management of Joomla Users

Joomla 3.9.20 I know there’s no default way of managing Joomla users on the front end (a huge drawback of Joomla imo). There appears to be some commercial extensions and components that do this, but they are all quite bulky and offer more than what I require. I’d like to offer the ability to view […]

Categories
CMS Joomla Mastering Development

Front End Management of Joomla Users

Joomla 3.9.20 I know there’s no default way of managing Joomla users on the front end (a huge drawback of Joomla imo). There appears to be some commercial extensions and components that do this, but they are all quite bulky and offer more than what I require. I’d like to offer the ability to view […]

Categories
CMS Joomla Mastering Development

Front End Management of Joomla Users

Joomla 3.9.20 I know there’s no default way of managing Joomla users on the front end (a huge drawback of Joomla imo). There appears to be some commercial extensions and components that do this, but they are all quite bulky and offer more than what I require. I’d like to offer the ability to view […]

Categories
CMS Joomla Mastering Development

Can’t display Extra field (Date of birth) when logged in as Registered user

I’m pretty new to joomla, sorry if this sounds silly. So, I am using Extra Field "Date of Birth" from UserProfile in this code : jimport( ‘joomla.user.helper’ ); $user = JFactory::getUser(); $userId = $user->id; $userProfile = JUserHelper::getProfile( $userId ); $dob = $userProfile->profile[‘dob’]; echo "dob = " . $dob ; echo "authorise =" . $user->authorise(‘core.admin’, ‘com_component’); […]

Categories
CMS Joomla Mastering Development

Bootstrap 4 header stacks logo over menu (want side by side)

I inherited work on a site that uses Joomla, SP Page Builder, Helix Ultimate framework (based on Bootstrap 4), and a 3rd party template. Needless to say, it’s been messy trying to make modifications, wading through the copious amounts of (sometimes conflicting) CSS. I’ve created a header for the site that has logo text on […]

Categories
CMS Joomla Mastering Development

Toolbar not displayed in my Joomla MVC component

view.html.php class gezcViewVliegtuigen extends JViewLegacy { protected $editID = 0; // if task is not specifiek in the url als parameter, display will be used function display($tpl = null) { $app = JFactory::getApplication(); $context = "com_gezc.list.site.vliegtuigen"; // aanroep URL $uri = JFactory::getURI(); $this->requestURL = $uri->toString(); // Assign data to the view $this->vliegtuigen = $this->get(‘Vliegtuigen’); $this->paginas […]

Categories
CMS Joomla Mastering Development

Joomla 4 template namespace

I’m working with latest Joomla 4 beta, and wondering how can I use namespaces with templates so I can start using and developing custom fields for my templates. I need to know what should I set in the template-details.xml file so I can use proper addFieldPreffix address for my custom fields. Thanks

Categories
CMS Joomla Mastering Development

Alternative Article Layout Options

It is possible to create an alternative article layout in the folder com_content / article (of course not written with an underscore, but with hyphens it works). But when i try the same procedure within the folder com_content / featured, i get no options to choose this layout in my controll-center. What are the reasons […]