Skip to main content

Questions tagged [external-script]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
499 views

How to create an instance of the Joomla CMS from the browser or the command line

Recently there have been a number of questions posted on JSE relating to how to load the Framework that in most cases is really asking how to load up the Joomla CMS either from a command line or via a ...
Irata's user avatar
  • 4,126
1 vote
0 answers
155 views

HTTP 500 Whoops, looks like something went wrong. Failed to start application for Admin sendmail

I am working with Joomla 4.2.2 I have a custom script which i previously used in Joomla 3.*, from this i am sending mail using send-mail. For front it's working fine but on admin side it can not ...
Vishal Patel's user avatar
0 votes
1 answer
95 views

Retrieve post request in joomla sent from external app

I have created a script in Joomla app root folder for creating users which load joomla framework .. The script works fine with static data (username, password ..) but the task that i have consist on ...
Yafaa ats's user avatar
0 votes
1 answer
71 views

Install extension from external script

Hi I'm automating the Joomla Installations, I'm looking for a way to install an extension from an external script. I've found this solution, but there is an issue, and that is, the "external ...
Mohd Abdul Mujib's user avatar
2 votes
2 answers
181 views

Language Constant Not Displaying in External Script

Joomla 3.9.14 I have an external application that uses the script below, allowing users to register as a user on my Joomla site. It all appears to be working apart from error displaying. My code is ...
jonboy's user avatar
  • 3,613
3 votes
1 answer
626 views

External Login Script and getDbo()

I have a Joomla 3.9.14 site with a subdomain app.example.com. I have a login form, and I want to allow users to login using their Joomla credentials. Everything is working as expected, users are ...
jonboy's user avatar
  • 3,613
0 votes
0 answers
136 views

Change default backend language programmatically

I have a component installed which doesn't provide multilingual support. If I import data via the API, I can't import in a different language, only in the default backend language. Unfortunately, ...
Aurelius's user avatar
0 votes
0 answers
197 views

Adding field path and script into form relative to template path

Case 1 I am trying to add field path into templateDetails.xml without specifying a templateName. The following code works <fieldset name="name" label="label" addfieldpath="/templates/templateName/...
thednp's user avatar
  • 415
2 votes
2 answers
1k views

Using external PHP library and defined('_JEXEC') or die;

I want to use hatemile-for-php library (https://github.com/hatemile/hatemile-for-php) in my plugin. As I am only ever using this library within this one plugin, I included it in the plugin folder ...
astridx's user avatar
  • 449
2 votes
1 answer
932 views

External Script for adding Joomla User is not adding custom field

I have a external script for a web app connected to Joomla database This is for user registration Source : https://gist.github.com/AdamMadrzejewski/2581730241748da89798 <?php require_once __DIR__ ....
Srinath Naidu's user avatar
0 votes
1 answer
872 views

Get external javascript file to work in joomla

I have a menu using IFrame Wrapper so that I can link to my own coded php page. Inside the php file is just listing down the data on table and I have search box so that user can filter the data ...
Annie's user avatar
  • 43
1 vote
1 answer
789 views

Joomla JFactory::getDBO() - Prefix is wrong?

I am pretty new to Joomla, and I'm stuck! I'm trying to access the Joomla DB from a PHP script, using the JFactory::getDBO(); method. I noticed all my queries were returning '0' results, even though ...
Ryan86's user avatar
  • 13
0 votes
1 answer
133 views

Will Migrating from Joomla (1.5) to CakePHP be very difficult? Are there any helpful migration tools out there?

There's an old site that is running Joomla 1.5 which needs to be brought into the new age and since we mostly just need a Framework and not an entire CMS, CakePHP seemed like a good target to migrate ...
jstats's user avatar
  • 103
0 votes
0 answers
144 views

Is there a way to automate component installation in a build script?

I have a build script that watches the files in the component for activity, and automatically zips up the component, and overwrites the existing zip. I still have to manually go to the admin interface ...
blanket_cat's user avatar
1 vote
2 answers
1k views

How to extract Joomla image PHP for Opengraph

I have been trying to develop my own opengraph. I found some codes online and try to merge them but to no avail. I wonder if I have done it wrong. // Try to find image in article $img = 0; ...
Ompit's user avatar
  • 13
4 votes
4 answers
4k views

Getting current language in Joomla 3 in external script seems difficult.. but works fine in J2.5

I´m aware that a similar qustion is asked here: Get current language in external script (Joomla 3.3) but it seems that noone has understood the problem correctly. I´m having the exact same problem, ...
GeniusDesign's user avatar
6 votes
2 answers
2k views

Is there anything wrong with setting Joomla session variables consecutively in an external php script?

I'm setting multiple session variables in a PHP script that is external to Joomla. The variables are set consecutively using the following code. //Access Joomla define( '_JEXEC', 1 ); define('...
TryHarder's user avatar
  • 2,340
1 vote
1 answer
836 views

When accessing Joomla from an external script when should you include ('libraries/joomla/factory.php');?

I've been reading up on how to access Joomla from external php scripts and I've noticed that there tends to be 2 flavours of code- external scripts that use require('libraries/joomla/factory.php'); ...
TryHarder's user avatar
  • 2,340