Questions tagged [external-script]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
0answers
29 views

Custom JS Module and Image Src Broken

I'm using HD-AnyCode to insert come custom JS in a module, i'm then displaying this module in a Joomshaper template. The custom JS is basically calling an external API and returning data, i'm then ...
0
votes
0answers
27 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/...
2
votes
2answers
147 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 ...
1
vote
1answer
782 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__ ....
0
votes
1answer
426 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 ...
1
vote
1answer
653 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 ...
0
votes
1answer
108 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 ...
0
votes
0answers
116 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 ...
1
vote
2answers
802 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; ...
4
votes
4answers
3k 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, ...
5
votes
2answers
1k 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('...
1
vote
1answer
700 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'); ...