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
6
votes
1answer
1k views

What does “Prepare Content” do and when should it be used?

For some (all?) custom modules, under the options tab, there is a Prepare Content option. What does it do? When should it be used? (Conversely, when should it not be used?) What's its impact on ...
5
votes
1answer
6k views

How to know which usergroup/specific access level user belongs to

For determining whether user is a super user, we do something like this : $user = JFactory::getUser(); $isAdmin = $user->get('isRoot'); if ($isAdmin) { echo 'You are an Administrator'; What would ...
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 ...
5
votes
2answers
4k views

How to do SQL exception / error handling compatible with 2.5 and 3.x?

I was trying to develop Joomla 2.5 and 3 component. As many things deprecated between these two versions and the way to throw and catch database and other errors, I could not find ways yet to make ...
4
votes
12answers
2k views

Easy to use CCK?

Is there an easy to use CCK out there that a newbie can try and not get discouraged? I tested a market leader and my brain fried. Two hours and nothing to show for it. I need something with a form ...
3
votes
2answers
2k views

Joomla is storing wrong date

I know it's a server/joomla feature and not a bug but I am storing a date via the user profiles and when I look in phpmyadmin the date stored is always one day behind BUT when I view the value in ...
3
votes
2answers
580 views

Adding Custom Fields to Article Component [Not in attribs field]

I am trying to save some additional fields into the Article Content and there has been a few questions like this relating to this issue but all of the solutions seem to point to saving the extra field ...
2
votes
1answer
4k views

Token check not working in custom component admin

I've built a custom component and have three forms that executes different tasks in the default.php view on subcontrollers within the administrator. Within my tmpl view default.php, each form has a &...
11
votes
2answers
4k views

Add a custom button to a core backend component

Is it possible to add a custom button (with a custom action, of course) to the JToolbar of a standard Joomla 3 component (com_contents) without modifying the original source code? Background: I need ...
9
votes
6answers
47k views

Error 0 Cannot open file for writing log while updating

I have tried to update a Joomla website,to the newest update they have released from the admin area. But after attempting to update, I have received this error message: "An error has occurred. 0 ...
8
votes
1answer
289 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 ...
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: ...
7
votes
2answers
4k views

Get full link from menu item field type

I am developing my own slideshow component and module for Joomla. The component is used to select the slides along with captions and links etc. The module shows the slides. In the component, for each ...
7
votes
2answers
784 views

Update server for a package or individual extention

I am bit confused and need some recommendation for a best approach to setup an update server for a collection of extensions. I got a component, library and a plugin which I put inside a single ...
6
votes
2answers
5k views

Module to show all articles with Tag and in a Category

I am trying to make a module to bring back all articles in a category "holidays" that have a tag of "cuba" All the examples I can find are tag clouds or getting tags for the current article. Does ...
6
votes
2answers
3k views

Editor stripping iframe

Yes, another question about the stripping of HTML tags (this time TinyMCE). Joomla 3.4.1 / TinyMCE 4.1.7 This should be very simple, however due to the number of comments and questions/answers I see ...
6
votes
2answers
2k views

Why doesn't Joomla use foreign keys in the core table structures?

I am developing a custom component and want to use a foreign key user_id referenced to #__users(id). I noticed that Joomla doesn't use any foreign key in its core tables for example in #__user_notes ...
6
votes
1answer
920 views

Can templates be set per user?

Is it possible to set templates at the user level? If not then is there a plugin? If not what can I do? The reason is that I want to build a new template for an existing website and see the build ...
5
votes
2answers
3k views

What is best approach to show the component page in popup-modal window without header and footer?

I have developed a custom component that displays some information. I want to show the same information in modal popup window without header and footer information. what should be best approach to ...
5
votes
2answers
304 views

TimeToFirstByte problem in joomla

my site was working fine till a few months ago thanks to "jch plugin" and "cache plugin" and page load time improved to 3 seconds and response time under 1 second. but suddenly response time went up ...
5
votes
2answers
6k views

How to change Joomla date format in a component

I would like to change the backend Joomla 3.0 date format for a custom component. Right now the component is taking the Joomla date backend format which is Y-m-d and that I need to change to d-m-Y for ...
5
votes
2answers
13k views

Smtp connect failed and unable to send email

I am not able to send email using gmail as SMTP. I have already tried using the following settings in the Joomla backend: SMTP Authentication = Yes SMTP Security = SSL SMTP Port = 465 SMTP Username = ...
5
votes
2answers
881 views

Get access to php variable in Joomlas addscriptdeclaration for Javascript

How do I get access to php variables in Joomlas approach to integrate Javascripts with addScriptDeclaration? $document = JFactory::getDocument(); $variable = "test"; $document->...
4
votes
1answer
651 views

Article Table of Content as a sticky navigation

I'm looking for a way (plugin, module?) to achieve the following: auto-generate a Table of Content for certain long Joomla articles based on HTML tags (H1,H2 etc.) or CSS classes of headings show ...
4
votes
2answers
10k views

All directories listed as unwritable

Previous title: Can't install extensions: Error: Archive does not exist I removed and reinstalled Joomla 3.3.6 on my CentOS 6.5 server. Wanted to install some backup utilities and a CCK. However i'm ...
4
votes
5answers
5k views

MySQL error: Unknown storage engine 'InnoDB'

I have a couple of Joomla 3.3.6 websites, and suddenly this morning I started to get random error messages, like this: Error displaying the error page: Application Instantiation Error: Unknown ...
4
votes
3answers
987 views

SMTP connect() failed, Cannot send mails

I have a vanilla Joomla installation. I installed RSForm plugin to send emails from Contact Us form. However, when the user fills out the form get the message: SMTP connect() failed I tried to ...
4
votes
2answers
2k views

Jform POST issues

I have a form that needs to post to another form (which is an outside form). I have the 1st form set up with the action to the url and method post. However, it is using JForm. It is working fine on ...
4
votes
2answers
3k views

Custom component no-cache setting

I have a custom component I've built, and it has a search filter toolbar to filter results. The problem is that when Joomla caching is turned on, the filters get cached along with the page data-- so ...
4
votes
2answers
3k views

How to override an extension CSS file

I'm using an extension and would like to make some CSS changes, however I don't want these changes lost when I update the extension. How would I go about performing a CSS override?
4
votes
2answers
539 views

Assign different single article template per category

Is it possible to change the template of a single article based on the category. The reason I ask is because I want to have a single article html override using fields and I don't want the client to ...
3
votes
1answer
166 views

Joomla removes img tags from HTML of modules loaded in article content

Somehow, Joomla removes img tags from the HTML code of modules loaded in article content by {loadmodule} or Modules Anywhere and I can't find a way to stop it. I have a Joomla 3.8.2 site where there ...
3
votes
1answer
708 views

Adding custom field in article creation page

I have added a custom field in article creation page but it gets displayed in-between the option tab but I need the field to be displayed between Title and alias field. Here is my code which I did ...
3
votes
1answer
13k views

Joomla remove index.php - redirect to homepage .htaccess

Following is my .htaccess, SEF and Use rewriting enable in global config. But i can still access my home page with two urls; for instance: www.example.com and www.example.com/index.php. Am I doing ...
3
votes
2answers
539 views

Passing Arguments for custom field

I need a custom field which has to select the database with some conditions. When customer A logged in this field has to select records belong to customer A only. The custom field is as below ...
3
votes
1answer
88 views

Joomla - PHP+$this wrapped in Javascript.

Here is script I have. I'm trying to load it after page display. I'm trying to execute PHP code from javascript. What I need is to get email address of user who submitted the form at the textbox ...
3
votes
3answers
3k views

Filtering list of Users in User form field type

I've been unable to determine if/how the list of users can be filtered. The example below from User form field type, shows the filter in use, but I've been unable to come up with how to specify the ...
3
votes
1answer
4k views

Copying Joomla site from server to local

Recently it was asked me to collaborate to the development of a web site created using Joomla. The site is already online in a public server. I need to copy the entire site to my pc in which Joomla ...
3
votes
1answer
853 views

How should I register my users without email address?

I'd like to bulk register users without email address in my component. Afaik there isn't a database constraint, so in theory it is possible to inject the rows necessary to do this. I'd rather use the ...
2
votes
2answers
605 views

How to add and show user specific content and files?

How can I add user-specific files and content for each user as side-administrator? And how can I be sure that only the user I've added the content for can see it? Example: User A --> A_invoice_07/15....
2
votes
6answers
5k views

Changes on a joomla site do not reflect on the front end

I got a a joomla-powered site. Recently I added an article to the back end, published it but it does not show up on the front end of the website. I went further to 'unpublish' some of the articles ...
2
votes
1answer
470 views

Use of $_SERVER variables in custom plugin

In my Joomla application, I have functionality where I use server variables, like request_uri and query parameters for parsing url string. This function is used in many modules. So, I wanted to ...
2
votes
1answer
383 views

Search component pointing to wrong SEF URLs in Joomla 3

My search component is pointing to the wrong URLs. When the user clicks on them, they're redirected to the home page. For example, the search returns: http://cursos.portal-gestao.com/9-excel/...
1
vote
1answer
741 views

Passing form value using Ajax

Referring to my previous Question jQuery Ajax for three drop down On page1) I will select dropdown Building (populating from db) and dropdown Floor (by Ajax call) then url will pass like: index....
1
vote
1answer
2k views

How do i get a responsive Header Image above the nav bar in Purity III - Corporate?

I am building a website for a project i have to do and i am stuck on that problem. Good guy Joomlart hides every answer behind a paywall, so i am pretty alone. ( i didn't realize the non existent ...
1
vote
2answers
986 views

How to create a syntax highlighter for Joomla

What is Best syntax highlighter for Joomla? Geshi is not working fine in my site. How to integrate this style of syntax in Joomla 3 site? http://alexgorbatchev.com/SyntaxHighlighter/
1
vote
0answers
35 views

Which template, frameworks do you use when developing a website for front-end edit? [closed]

We have created multiple Joomla website, from smaller projects, to big ones. There was always the idea of implementig neu things and trying them out so we can come to an basic project, where we could ...
1
vote
1answer
136 views

What Joomla events are triggered when a usergroup is changed?

I've been looking at Joomla 3.x plugin events to determine if a particular event gets triggered when a user's usergroup is changed. Update-specifically I've been trying to detect an event that is ...
1
vote
1answer
81 views

How to query for users from a specific user group?

I want to list only the users with a group_id value of 10. Why doesn't the following query work? $db = JFactory::getDbo(); $query = $db->getQuery(true); $query->select('a.id, a.name, a....
1
vote
1answer
1k views

How Templates work and load css/js files? Website building process with Purity III

Unfortunately I can't find any info on how the purity iii template really works. I have to present my website tomorrow and I may get asked "where does the content come from?" and I can not answer ...