Questions tagged [joomla-extensions]

Extensions for Joomla! an open source content management system for web sites, which can be heavily extended. Joomla questions about programming and administration are best asked on https://joomla.stackexchange.com

Joomla! is an open source content management system for web sites which can be heavily extended.

Currently about 6238 extensions are registered in the Joomla! Extension Directory.

Related tags:

1080 questions
2
votes
1 answer

Update a database field with Joomla UpdateObject method with a calculated field from same table

Right to the point. I need to update a field in the database using the field to calculate the new value first. E.g of fields: https://i.stack.imgur.com/FADH6.jpg Now I am using the Joomla updateObject function. my goal is to take the "spent" value…
2
votes
1 answer

Joomla Component Automated Update

I develop a Joomla component. At the moment whenever I release a new version I ask the user to download a zip file and to manually upload the changed files via FTP. While this is ok for small releases, when a lot of files have been modified it is a…
row1
  • 5,568
  • 3
  • 46
  • 72
2
votes
3 answers

Automatically create new folder under images on module installation

Is it possible for a Joomla extension to automatically create a folder (event) under images -> /images/events/ when the user installs the extension inside Joomla Administrator ?
Kyle
  • 915
  • 8
  • 18
  • 34
2
votes
2 answers

$document->addStyleSheet deprecated

In my Joomla component i add a style sheet according to phpstorm is $document->addStyleSheet deprecated. This is the code i use: $uri = JUri::base(); $document = JFactory::getDocument(); $document->addStyleSheet(JUri::base() . …
2
votes
1 answer

Joomla url redirect to another domain

I have created 5 menu items with a menu from Joomla admin panel. Out of 5, 4 menu item should be redirected to the same domain and the 5th one should redirect to another domain url. How to do that in Joomla admin panel? I am totally new to Joomla.…
Sam
  • 5,040
  • 12
  • 43
  • 95
2
votes
0 answers

How to setup a proper extension development environment for Joomla 3.x?

My goal is to setup a proper development environment using Ubuntu 16.04 to build Joomla extensions. Until now I've just been zipping my extension and reinstalling it. That should drive anyone crazy. As I sometimes also want to debug using Xdebug and…
Wieger
  • 663
  • 1
  • 9
  • 24
2
votes
2 answers

Joomla/DjCatalog2 URL duplication

Right now, I'm picking up some projects made by a different person and one of those projects is a website on Joomla running DjCatalog 2. Let's say I have an item, and a category it belongs to. The item is accessible via both site.com/category/item…
2
votes
2 answers

How to check if given component has been loaded to a current page in Joomla?

I need to check if JoomGallery has been loaded to a page ( "option=com_joomgallery" in URL), to load module in this condition. Parsing URL is not a good idea. (in PHP )
Damian
  • 2,930
  • 6
  • 39
  • 61
2
votes
1 answer

call function getLabel() in joomla 1.6

After upgrading from Joomla 1.5.22 to 1.6 beta 14 I am getting this error when trying to call parameter in the xml file : Fatal error: Call to a member function getLabel() on a non-object the code is in view.php form->getLabel('max_chars'); ?> …
diani
  • 29
  • 2
2
votes
2 answers

Create simple Shortcode Plugin Joomla

I use onContentPrepare event to change this [test] to other text o prinf html like wordpress shortcodes but nothing change. What is wrong? This is the shortcodejd.xml
metalbox
  • 302
  • 4
  • 17
2
votes
2 answers

Joomla: get article SEF URL in Content Plugin from ID

I'm currently developing a Joomla plugin in which I want to catch the event onContentAfterSave, in order to post the newly saved article to a URL shortener, for use on social networks. Can someone help me on how to calculate the appropriate SEF URL…
Windwalker
  • 1,915
  • 5
  • 23
  • 44
2
votes
1 answer

joomla component not calling any model function and controller function

I am sending a ajax request in function and calling model function but model function not calling and i also try a local controller function but not call any local function controller
Aslam Patel
  • 874
  • 6
  • 19
2
votes
1 answer

How to do the share extension to show the http shares and not the https?

I have this situations on Facebook Object Debugger: This one is if I input the http link and this one for https link The code of my joomla extension is:
focusoft
  • 82
  • 1
  • 10
2
votes
0 answers

Joomla Development - Adding custom html to XML form used with 'joomla.searchtools.default'

I am making a backend extension for Joomla! 3.X. I have a view, where you can add, edit and delete entries. Entries are searchable. Searching is done with Joomla searchtools: echo JLayoutHelper::render('joomla.searchtools.default',array('view'>…
Daew
  • 419
  • 1
  • 4
  • 14
2
votes
0 answers

Joomla Component Creator table within a table

I have created a joomla component with Joomla Component Creator. It has two tables. The first table have a jText field called emne (subject). The second table have foregin key field called emneid (subjectid) so i can choose a subject from the first…