All Questions

Filter by
Sorted by
Tagged with
8
votes
1answer
3k views

How to create a repeatable xml form field feature?

I am building a custom component and all is good. I thought I would have a go at the new 3.2 repeatable xml form field feature. Although I have it working I don't quite know how to save the data. It ...
8
votes
1answer
182 views

Can anyone explain the tp=1 process?

Can someone please explain the process behind tp=1 for the mod positions preview , I found the module output which is called from templates/system/html/module.php function modChrome_outline(...) ...
8
votes
1answer
119 views

What is the correct method of developing a front-end list and edit view

I created 2 front-end views. One view is to list the records and an another view to edit a particular record. The first view name is 'products' which shows the list of products from the table. In ...
8
votes
2answers
374 views

How is content “locking” handled in custom components?

Default core's com_content has a built in system that, when a specific article is being edited by a user, it gets "locked", so no other user can edit it at the same time. If the user closes the window ...
8
votes
2answers
2k views

Problems auto loading classes with JLoader::registerPrefix

This is probably a really stupid question but I cannot find the answer and trial and error has failed. I am developing a component for Joomla 3.x and I have a number of classes that I want to use. I ...
8
votes
1answer
509 views

Update server for commercial extensions

Joomla provide the ability to add an update server allowing users to install an extension update when release at the click of a button. This is of course great for free extensions, however for ...
8
votes
1answer
540 views

How to access an array in $_GET using JInput?

I've been researching different ways to get an array using JInput. According to http://docs.joomla.org/Retrieving_request_data_using_JInput there are 2 methods that I can use. Method1 $jinput = ...
8
votes
1answer
1k views

How can I use com_ajax to load and unload another module (for Adaptive Design)

This is a followup of the question How can a module be disabled based on device or viewport size in Joomla 3 to optimize performance for mobile devices? How can I use com_ajax to load and unload a ...
8
votes
1answer
3k views

Managing sites with Git

I'm starting to use Git to manage Joomla site builds, and I'm looking for some best practice guidance. As it stands: Use WHM to provision a new account. I've written a post-install hook to ...
8
votes
1answer
511 views

Why using Joomla! Framework?

What are the reasons for choosing Joomla! Framework for a web application instead of using Zend Framework 2, CodeIgniter, Laravel etc? Will its popularity increase sufficiently and will Joomla! site ...
8
votes
1answer
1k views

JUri::base() issue, losing subdomain

There is a chance this is a bug, but I am pretty sure I must be overlooking something. Basically JUri::base() is removing the subdomain path, this is in siteground with its Joomla staging enviroments,...
8
votes
1answer
297 views

Plugin event only when Email activation

I am just referring the Joomla User plugin events in the URL https://docs.joomla.org/Plugin/Events/User/en onUserLogin onUserAuthenticate onUserBeforeSave Just wondering which one will help me to do ...
8
votes
3answers
1k views

Display module in multiple positions

Is it possible to display a module in multiple positions, preferably natively, or through a third party extension? I know there are workarounds... clone the module and change the position, however ...
8
votes
1answer
934 views

Replace deprecated getError and getErrors

I have been looking through some logs and noticed that getError() and getErrors() are throwing deprecated messages in Joomla 3.3 (we just updated). Apparently these were deprecated back in Joomla 2.5, ...
8
votes
1answer
2k views

Performance of Joomla on IIS

We have a website that is hosted on a IIS 7.5 server. We have a copy of the same website on an Apache2.2/Centos 6.x server. On IIS the site is slower (about twice longer or even more) and so far we ...
8
votes
1answer
881 views

How to setup $form->loadFile method properly?

In my system plugin , I am using following to load default options xml file for templates function onContentPrepareForm($form, $data) { if (!($form instanceof JForm)){ $this->_subject-&...
8
votes
2answers
425 views

Unblock template and media in Robots TXT for Google Webmaster Tools?

I've been working a lot with SEO for clients lately and I've noted that they are requiring access to the template in Webmaster Tools now to establish that a site is mobile-friendly. Google is ...
7
votes
6answers
1k views

What is the best place to store downloadable PDF invoices?

My component will produce invoices in PDF format that will be available for customers to download. Where is the best place to store these files? /adminitrator/componentes/com_mycomponent/invoices /...
7
votes
5answers
204 views

Getting reviews from JED

I saw on NoNumber's website, he has a tab which shows reviews from the Joomla Extensions Directory, for example, here I was wondering, if it's possible to somehow pull reviews from the JED website. I'...
7
votes
3answers
7k views

Virtual host for Joomla

How can I set up a VirtualHost on my local developer environment? Ideally I would also like to be able to access my site from a simply URL, such as www.joomla.loc rather than having to constantly use ...
7
votes
4answers
1k views

Is it possible to get generator tag removed from Joomla sites without interfering core framework?

Is it possible to get the generator tag removed from Joomla sites without interfering with the core framework. I personally feel this is an irritating aspect of the source code and makes websites ...
7
votes
3answers
7k views

How do I generate a SEF URL in a custom module instead of the real URL?

In my module, this code is being used to generate the URL of the page: JURI::base() . ContentHelperRoute::getArticleRoute( $article->id, $article->catid ) This works exaclty as it should and ...
7
votes
3answers
239 views

How to develop safe Joomla extension?

Before I'm going to write my first extension, I would like to understand how to design it as invulnerable as possible. Is there a set of rules to write safe Joomla extension? I can imagine only SQL ...
7
votes
3answers
11k views

How can you hide the title from a featured article?

How can you hide the title from a featured article? I already tried setting "Show Title" to "Hide" in Article Manager but it doesn't work. This article is "Uncategorized" and only used in "Featured ...
7
votes
2answers
14k views

How (re)set password for admin after migration from 1.5?

I migrated an old Joomla 1.5 site to a shiny new Joomla 3.3 version using the tool SP UPGRADE. Now I can't seem to login and I fear its because all the user passwords in the DB look like 'MD5':'Salt'...
7
votes
3answers
1k views

How to permanently remove/disable default Joomla templates

When I first installed my Joomla 3.x website, I uninstalled the default Joomla templates: Beez3, Protostar, Hathor, Isis. Every time I upgrade to a new Joomla version, Joomla appears to reinstall ...
7
votes
3answers
13k views

How to get the intro image of a joomla article

I am trying to customize the the category list of my website. So I have a menu option that shows the list of all article is a certain category. In this list I would like to show the into image of the ...
7
votes
4answers
6k views

How to migrate articles from Joomla 1.5 to 3.x?

I am trying to migrate some articles. On my host I get 403 errors for J2XML export so I thought I would set it up on a localhost. The front end looks fine unless you try to login. Fortunately I get ...
7
votes
3answers
274 views

How to resolve `Strict standards` warning for different method signatures across Joomla versions

In updating an extension to support Joomla 3.x we've run into a few cases where the signature for a function has changed since 2.5 and results in a Strict standards warning. For example in the JTable ...
7
votes
2answers
285 views

Joomla 3.4.5 to 3.4.6 Simple?

I've never worked with this version of Joomla but am led to beleive that it is pretty simple to upgrade to 3.4.6 from 3.4.5 - having done a few upgrades on the older versions I am skeptical! Anyone ...
7
votes
4answers
2k views

Script not running on plugin installation

I am creating a plugin and am attempting to run a script after it is installed. For whatever reason, it appears the script file is loading, but my code is never run. My script.php file contains the ...
7
votes
3answers
894 views

Standard CSS classes / id naming conventions

When building a custom component, and while designing the layout file to render the view, I'm having difficulty determining what CSS classes / id's to use in my HTML elements to ensure it takes ...
7
votes
4answers
2k views

Removing category/article numbers in SEF

The instructions and links in this answer clearly demonstrated how to make search engine friendly URLs. However the URLs I currently see on my website have the format: mydomain.com/1-category/2-...
7
votes
2answers
257 views

Is there a way to detect the database changes that were made by third party extensions?

I work in a development / staging / production environment and I've run into some challenges promoting code from one environment to another, especially when upgrades to Joomla and other third party ...
7
votes
2answers
167 views

Remove a folder for downloadable files to reduce the Akeeba backup file

i have a folder named "download" in public-Html folder. all downloadable files on my site, is in it. when i backup my site with Akeebabackup, this folder makes my backup file Biiiig. what should i do ...
7
votes
3answers
3k views

Custom menu get title of the active menu's parent item

I can get the title of the active menu using $menu = &Jsite::getMenu(); $menuname = $menu->getActive()->title; But how can I access it's parent title?
7
votes
3answers
3k views

Is it possible to redirect a admin user to a specific component after login?

Not too much else to add to the question really, I'm trying to redirect a specific user group to a specific area after they log in to the administrator back-end, but I'm not sure if this is possible. ...
7
votes
2answers
713 views

Developing Outside the CMS

I have a question, I have an already constructed site, we use Joomla for the CMS, and a theme from RocketTheme called "Diametric". We are looking to construct a page and it's styling is going to fall ...
7
votes
1answer
15k views

How to get the alias or title of the active menu item?

In my template I want to give an extra class to the body of the document that will take the names of the alias of the menu item, so I can create individual styling among the pages. But how can I get ...
7
votes
2answers
5k views

Model getListQuery() fetch all rows with using JPagination

I have method getListQuery() in my model, which return query. As we know, Joomla automically set limit and offset to query when we use JPagination. I have problem, that I want to use JPagination and ...
7
votes
2answers
5k views

Best way to override the index.php file from a joomla template

I am using protostar as a template for my 3.3.1 website. I have change the index.php in order to redesign the module positions and to add more of them. I have just updated my website to Joomla 3.3.3 ...
7
votes
2answers
516 views

Recommended practices regarding transfering database from Joomla 1.5 to Joomla 3

I want to transfer about 300 articles from a Joomla 1.5 website to a Joomla 3.3.1 website. I have access only to the Joomla 1.5 database but not to the backend (I have access to both for the joomla ...
7
votes
2answers
1k views

Adding a numerical value to each submenu in Joomla

<?php /** * @package Joomla.Site * @subpackage mod_menu * * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License ...
7
votes
2answers
112 views

Options for backups, restoring, and staging?

What are some options for Backing Up & Restoring Joomla! instances? Preferably ones suitable for staging.
7
votes
1answer
7k views

Best way to include helper class in sub-controller : require_once or JLoader

I have created a helper file test.php as following: administrator/components/com_compname/helpers/test.php class TestHelper{ //class methods } In controllers/subcontrollername.php We can use ...
7
votes
2answers
895 views

What's the common practice for debugging?

1) local or remote? I understand that the best practice for debugging is to have a local version of your website, but sometimes to make a local version of your current website can be very time ...
7
votes
2answers
5k views

How to make a menu item scroll to heading on same page?

I'm looking for a way to create a menu item (in this case "Contact") that scrolls down to the bottom of my home page where the contact information is located. I tried creating an external URL menu ...
7
votes
2answers
69 views

How does the pre-release cycle for Joomla versions work and can I test my extensions at the Beta stage?

I'm looking for a Software Release Cycle Map (similar to the one at Wikipedia), but for Joomla! I am specifically not looking for projected release dates or length of support as part of this answer ...
7
votes
2answers
3k views

How to call a model method from a system plugin?

I have a component ('com_foo') which has a model called 'foobar'. The class declaration is like this: class FooModelbar extends JModelItem This class has a public method called getFooBar(). I also ...
7
votes
2answers
2k views

How to insert “php code” inside the .xml manifest file of a Joomla module?

I want at the fieldset of a joomla module to echo an option with some fetched results from my db: <config> <fields name="params"> <fieldset name="basic"> <field> <?php $db ...

15 30 50 per page
1
3 4
5
6 7
134