Questions tagged [joomla-3.x]

For question regarding Joomla 3.x of the Content Management System. This includes versions 3.0 up to 3.8.

Filter by
Sorted by
Tagged with
5
votes
2answers
3k views

How to access / modify custom form fields values

I was able to create dynamically the form fields by retrieving them from the database by using this as a guide: How can I dynamically generate a form's XML from PHP? I just want to know on how ...
1
vote
1answer
192 views

Accessing Form fields in the Model

I was able to get and set values of my custom form fields by using $form->getValue and $form->setValue in my previous issue here: How to access / modify custom form fields values However, I am only ...
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 ...
8
votes
1answer
872 views

Confirmation message when deleting items in the media manager

I would like to have a confirmation message when I delete the items the media manager. For now, to delete an image, I just have to click on the top-right cross and the image is gone: if I make a ...
3
votes
1answer
965 views

Passing other variables in my view's edit form

I have this code right here : <td class="nowrap has-context"> <a href="<?php echo JRoute::_('index.php option=com_subscription&task=subscriptionsform.edit&reportId='.$...
-1
votes
4answers
5k views

How to create contact form from scratch

I'm Trying to create a custom contact form in Joomla 3, the reason is I didn't found such big contact form. Can somebody tell me how to do it? html: <div class="col-lg-12"> <form role="...
5
votes
1answer
109 views

How to exclude files or views from joomla debug?

JLog is serializing everything in its way $signature = md5(serialize($options)); https://github.com/joomla/joomla-cms/blob/ac589fd45aaa88a5e9d972cacceec083cb4c754b/libraries/joomla/log/log.php#L191 ...
2
votes
1answer
768 views

Refreshing a part of the page after Dropdown list selection

How can I refresh a part of the page when I select from a dropdown list using the onchange in HTML? I have a Reports dropdown list. Once I select a Report, a list refreshes only displaying those that ...
4
votes
1answer
280 views

Trigger plugin event in fof

I am working in Akeeba subscription it's based on FoF.I wanted to check some condition before user can delete subscription. I have a plugin MyPlugin and class is - class plgAkeebasubsMyPlugin ...
7
votes
1answer
1k views

What exactly gets loaded “inside” template's jinclude type=head call?

When building a template, you must put one (and only one) of these calls inside your <head></head>: <jdoc:include type="head" /> Checking here does not provide much extra info: ...
3
votes
2answers
656 views

Is it possible to change the joomla user authentication algorithm

Hi I'm doing initial research on changing the way joomla authenticates a user. I want to do this only for the frontend user and not the admin user. WHY I want to do this? I'm importing a list of ...
5
votes
4answers
5k views

Blog layout - responsive image grid positioning

I use the category blog layout and override it to wrap a link around the article intro-image, which points to the article. Now i want to achieve a responsive image grid positioning like you can see ...
3
votes
3answers
324 views

How to make registered users data sticky, and save it to Google Spreadsheet?

There are so many components out there, I'm not sure which one to use for this. I need registered members to be able to come back and edit some of the custom profile information that I have -- its a ...
5
votes
1answer
277 views

Where is the right place to check for ACL / Session expired / permissions?

I would like to know what the correct, or recommended, or most common place is to check for expired session, authorization, ACL rights? In short: do I check !$session->isActive() In the ...
2
votes
1answer
171 views

Joomla Event Handling for controls(dropdown list etc.) and Joomla 3 reference

Is there a functionality for event handling in custom component development in joomla? I have searched all throughout and I only found about JEvents which was not exactly what I needed. My simple ...
2
votes
4answers
3k views

Unable to log in after upgrading joomla 2.5 to 3.0

I have followed the instructions given in following forum post and also googled for how to upgrade joomla 2.5 to 3.0 http://forum.joomla.org/viewtopic.php?f=710&t=793171 After that my process ...
5
votes
1answer
584 views

Creating search for a category page

I want to create a search module in joomla for a category page. Default module such as "Search" or "Smart Search" gives result on their own page rather in the same page from where it is requested. ...
7
votes
2answers
366 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 ...
3
votes
2answers
464 views

Show module field data in frontend

I am building a Joomla 3.x module, I have used a media type field within the module params <field name="image-1" type="media" label="Select your first image" directory="backgrounds" /> This is ...
2
votes
1answer
2k views

Restoring site on localhost: keep redirecting back to old URL

I've backup mu Joomla 3.3.1 website with Akeeba backup. I've installed this backup on a localhost (Xampp) with Akeeba kickstart. I can access the backend with this address: http://localhost/joomla/...
7
votes
1answer
5k views

Override MVC classes in Joomla 3

Is there anyway to override MVC classes in Joomla 3? I have found this thread but it is for Joomla 2.5. How to override core classes? I have done MVC overrides in Joomla 2.5 successfully but now I ...
2
votes
1answer
427 views

Adding user to different group with different required field

Scenario: Jomla 3.3 + CB 2.3 + CB Profile PRO + JFBConnect Target: Free user registration to Group A or/and group B also in two different timeframe. Group A (simple Joomla registration): Login with ...
1
vote
1answer
148 views

Not update database value automatically

I am facing a problem. I have made payment through paypal. After payment when it redirect to my website, i have a code which update the value in database. But when i refresh the same page, it ...
2
votes
1answer
630 views

Run a snippet of code in PHP using Joomla

I am looking into getting this script from the question Create categories, subcategories and articles using php to run, but I can't seem to understand the basics. What do I need to do?
3
votes
1answer
604 views

Session variable in joomla 2.5 external file

I am trying to set a value in external file but the session values are not set correctly. The session is set some times and other times it is not set. I am setting a session using ajax call following ...
10
votes
2answers
4k views

Create categories, subcategories and articles using php

Is it possible to dynamically create Joomla categories, subcategories and articles using PHP scripts? Is there any example link?
2
votes
2answers
2k views

How to add a custom dropdown field for a product in VirtueMart?

I am using joomla 3.x with VirtueMart. I am trying to add a custom field "Country of Origin" to a product. It would be the best that I can make use of the country list provided by VirtueMart. How ...
3
votes
1answer
250 views

Update Search Plugin from Joomla 2.5 to Joomla 3.x

I have got a search plugin, which was developed for Joomla 2.5, the code in the search.php is as follows: <?php //To prevent accessing the document directly, enter this code: // no ...
3
votes
1answer
101 views

Move site to different location on same server

I've been developing a site within a "dev" folder directly under my root and kept it offline so no one could stumble upon it accidentally. Now I am preparing to go public and am having some issues. I ...
5
votes
3answers
506 views

Do I need for multiple pages == multiple components?

If I were to create a Joomla social media component from scratch, say something similar to communitybuilder (used for interpals for example), would every page (profile, register, list of profiles) be ...
1
vote
1answer
131 views

Recycling IDs: re-using articles, category's ID that have been trashed for new articles

I like to work with small IDs. Is there a way to automatically re-use the IDs of trashed* items? (* when using "empty trash") Is it safe to run this query: ALTER TABLE jos_content AUTO_INCREMENT=0 ...
2
votes
3answers
2k views

No acces to front page but acces to backend is working

My Joomla 3.3.1 website was working fine until today. I haven't install nor updated anything since two-three weeks. Yesterday it was working great, but today I get this error message: This webpage ...
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 ...
2
votes
1answer
2k views

Upload image using AJAX in Joomla 3.0 MVC [duplicate]

I am trying to upload a image using AJAX jquery in a Joomla MVC framework. Below is the default.php which adds the below javascript script code $('#icon-submit').on('click',(function(e) { e....
7
votes
1answer
1k views

Joomla 3 - Pagination limit [closed]

I am trying to override the standard Joomla pagination. Instead of showing 10 links then the next / end links, I would like to show 20 links up front. Is this possible? Thanks
1
vote
1answer
984 views

Empty result when selecting [closed]

Wordpress guy attempting to help out a client with a Joomla project he's stuck on (favor time basically), and I'm hitting a wall. I believe I'm doing my select correctly, and get no "blank page" ...
-2
votes
1answer
857 views

Joomla files via relative URL - unable to access

I am trying to access files via relative or absolute URL from within Joomla article For example, inside the article, the following path works: d3.json("../../example.php", ... but the following ...
1
vote
2answers
2k views

Can't create new Article & Modules - page just reloads

I've inherited a site, however whenever I try to create a new Article or Module by pressing new. The page just reloads. Joomla 3: .1.1 | PHP Version :5.4.26 - front end works fine, not seeing any ...
2
votes
2answers
191 views

How to best include jQuery Themeroller in an extension?

With J3x having jQuery included, half the battle of easily including Themeroller is taken care of, but I still have problems getting the Themeroller aspect to work properly. I've found that adding ...
3
votes
1answer
137 views

New templates named JLIB_INSTALLER_DEFAULT_STYLE

Sometimes, when I install a new template in Joomla, the default template style name is set to JLIB_INSTALLER_DEFAULT_STYLE. So far I haven't found any particular pattern as to when it happens, but it ...
2
votes
1answer
1k views

Error after upgrading to joomla 3.3

Whilst trying to upgrade to Joomla 3.3, I get the following error: 1146 - An error has occurred. Table smilyo_skc.xv36g_postinstall_messages doesn't exist SQL=SHOW FULL COLUMNS FROM ...
2
votes
3answers
2k views

Detect current template style

I'm building a website with with one template but several styles. I need each style to have it's own logo, and a customized link for the logo. The template is based on the Gantry Framework. Is it ...
2
votes
1answer
379 views

Different backend and frontend language files in a Joomla Module

this is my first post on stackoverflow. I apologize for my poor english. I developed a very complex joomla 3+ module with plenty of backend options. Labels and long description for every option is ...
3
votes
1answer
280 views

Meta data hierarchy in Joomla

Can anyone explain the meta hierarchy in Joomla, please? I see the global meta, but also at the article detail, category and menu level. I assume that the global is intended to serve as the crawled ...
5
votes
3answers
314 views

Equivalent tool to Drupal Web Forms

Getting into Joomla and love the system. Wondering if there's an equivalent to Drupal web forms for Joomla or Gravity Forms for Wordpress.
2
votes
1answer
590 views

RokSprocket automate Load More

for people that have used Joomla for a while you are probably familiar with RokSprocket - a content module from RocketTheme, very useful. It has a 'Load More' button, that can load the next bit of ...
1
vote
1answer
528 views

How to use a MVC paradigma in helpers?

What is the correct way to implement a MVC structure in Joomla 3 helpers? In example I generate a html part through helper function like following: class TestHelpersView { function demo($params =...
2
votes
1answer
140 views

Joomla 3.x and SSE

Is it possible to implement SSE on Joomla, like how it is implemented in pure PHP here? Here is what I have so far: administrator/components/com_component/controllers/sync.php class ...
1
vote
1answer
159 views

Making Virtuemart product detail page accessible to public user

Does anybody know that how can I enable a product detail page available to all public and registered users where the virtue mart component is accesable to only registered users. Is it possible?
2
votes
3answers
281 views

Correct manner of using View- and Model-Abstracts in Joomla 3+

There are a lot of API changes in Joomla between 2.x and 3.x versions. In development of Joomla 3-components I still use the legacy class abstracts: jimport('joomla.application.component.view'); ...