Categories
CMS Joomla Mastering Development

How to customize Joomla registration form?

How to create proper override folder for com_user? Apparently, simply copying it to template/html folder doesn’t work What is displayed on registration page is largely controlled by the .xml file, can it also be overridden? My goal is to remove the required "Name" field. Someone has taught me an alternative to remove this field in […]

Categories
CMS Joomla Mastering Development

custom form list field add disabled options

i have a working list based on an sql query – now i would like to add some spacers (not selectable items) – when doing this manually in xml you can add the disabled attr to that item but how can i do that when filling the list like so: $cities = array( array(‘value’ => […]

Categories
CMS Joomla Mastering Development

Email confirmation after joomla password R e s e t

In order to comply with certain US regulations – we need the ability to send a confirmation to the user once their password has been changed. Right now, Joomla will send an email link asking the user to click the link in order to change their password – but there does not seem to be […]

Categories
CMS Joomla Mastering Development

Display an editor in the front end using a module

I’m trying to display an editor using a module in the front end. I want visitors to be able to edit and create articles but from a module not a component. I’ve tried: jimport( ‘joomla.html.editor’ ); $editor =& JEditor::getInstance(); echo $editor->display("desc", "my text", "600", "400", "80", "15",1); which I think should work but doesn’t (I’ve […]

Categories
CMS Joomla Mastering Development

0 Call to a member function purgePrivate() on null

I just tried to login and I got this error message that I’ve never seen before. 0 Call to a member function purgePrivate() on null I’m not sure what would have caused it. It’s PHP 7.3. Interestingly I was on PHP7.4 but the redirect system didn’t work so only my homepage showed.

Categories
CMS Joomla Mastering Development

Joomla 4 website’s backend not working after renaming htaccess.txt to .htaccess

I got a issue after renaming htaccess.txt to .htaccess in the public_html folder of my Joomla 4 website (https://www.freepetsitters.com). I renamed it in order to get rid of "index.php" in the URLs. Steps to reproduce the issue Download Helix Ultimate 2 Beta 1 Quickstart Package (https://github.com/JoomShaper/helix-ultimate/releases/tag/v2.0.0-beta.1), upload it to the public_html folder of your website, […]

Categories
CMS Joomla Mastering Development

T3 Framework Megamenu not save configuration

I have a problem with saving the T3 Framework megamenu In practice, after setting the megamenu and clicking on save, it does not save. Inspecting I found some JS errors that I can’t solve, the errors are: megamenu.js: 463 Uncaught TypeError: Cannot set property ‘undefined’ of undefined at Object.actions.saveConfig (megamenu.js: 463) at HTMLButtonElement. <anonymous> (megamenu.js: […]

Categories
CMS Joomla Mastering Development

1146 Error when creating custom table

I have created a secondary user table to store other information in the Joomla database. However, when I try to insert information into that table, I get this error. 1146 Table ‘database.#__vvuser’ doesn’t exist The table exists and has the correct prefix. The database version and Joomla versions are compatible since all non-custom tables work. […]

Categories
CMS Joomla Mastering Development

Rendering custom field manually when edit article in front end

When editing an article in Joomla frontend all the custom fields are rendered with the following code: <?php echo JLayoutHelper::render(‘joomla.edit.params’, $this); ?> Isn’t it possible to render the custom fields individually and not all at once. Then it would be possible the control the layout a bit more. I know, that I can group the […]

Categories
CMS Joomla Mastering Development

How to use Openlayers compiled Javascript code in my own extension

I am developing a Joomla 3.x content plugin to display Openlayer maps in articles based on @Robbie Jacksons excellent tutorial at https://docs.joomla.org/J3.x:Developing_an_MVC_Component/Adding_a_Map and I managed to make it work. However, in Robbie’s tutorial he includes the full Openlayers library which is discouraged for production sites: // everything’s dependent upon JQuery JHtml::_(‘jquery.framework’); // we need the […]