Categories
CMS Development Joomla

What is the correct way to programmatically delete a joomla user and their data?

I want to remove a set of users by id from a Joomla 3.x database. I am trying to figure out from the documentation if this is possible without having to write my own SQL for each database table. Something like the following pseudo code: delete from #_users where ( `lastvisitDate` < NOW() – INTERVAL […]

Categories
CMS Development Joomla

Joomla old code to latest 3x series with best practice of safe and secure code

Am Trying to rewrite this code with latest joomla and php for best practice Confused on where to use this function in new code onchange=”showModelVariant(this.value)”> Is the new code correct way of rewriting old code for secure safe way or any better way. Thanks Am on Joomla 3x series Old Code <?php define( ‘_JEXEC’, 1 […]

Categories
CMS Development Joomla

Need help to remove white space on a main page of a site

Please tell me how to get rid of a white space bar just underneath the bg image (a tutor with a boy) on a main page in English section of the site. Here: My Site’s link

Categories
CMS Development Joomla

cURL error 22: The requested URL returned error: 403 Forbidden

I’m trying to load this RSS feed https://community.joomla.org/events/view,rss.xml in a Joomla! Feeds module. I get the following error. cURL error 22: The requested URL returned error: 403 Forbidden I don’t understand because I can visit the feed so I don’t expect to see a 403 error. I also don’t expect an RSS feed to be […]

Categories
CMS Development Joomla

Removing single JForm option via setFieldAttribute

I’m working on a small component and depending on $someoption I need to remove a certain option from the JForm. So for example if $someoption == 1 then I need to remove this option <option value=”1″>COM_MY_FIELD2</option>. I only know how to set the whole field to hidden via setFieldAttribute, but how to remove only one […]

Categories
CMS Development Joomla

Spam Emails and Web Host Security

Joomla 3.9.13 The past while i’ve been receiving a lot of emails with the subject line similar to; Subject: Warning: message 1iTQ2k-00083X-8c delayed 24 hours The email body contains the following, I have removed some of the details. This message was created automatically by mail delivery software. A message that you sent has not yet […]

Categories
CMS Development Joomla

Site Online Schedule

Joomla 3.9.13 I’m currently working on a website which is currently offline. I need make make it available and online at a certain date / time. I may not be available to do this manually. Is it possible to schedule this action somehow?

Categories
CMS Development Joomla

Unable to Find a Page

I have two pages on my Joomla site that are publicly accessible but I’m unable to find them in the Joomla admin. They were discovered by searching the website using the built-in search feature. An example URL is: example.com/14-get-involved/page I’ve attempted to search for the pages by the URL but nothing appears. The pages also […]

Categories
CMS Development Joomla

Custom URL for Component Search Results

I am writing to seek help to display custom results in a SEF URL on Joomla CMS. Example: This is a page with a customized search, https://jobwalkins.in/search.html?search=IT&exf_5=1&exf_4=-1&option=com_jomclassifieds&view=search&Itemid=147 I would like to display this link as https://jobwalkins.in/today-walkins-in-hyderabad.html I am using https://extensions.joomla.org/extension/jom-classifieds/as the extensions. Any helpful inputs will be greatly appreciated. I am looking forward to hearing […]

Categories
CMS Development Joomla

Is there a way in which I can check that whether the cookie and csrf token are of a same user?

I want to check that whether a request hit by an user is actually hit by the same user. For that can I check whether the session cookie and the csrf token are for that user. If there is any mismatch in it I want the abort the request