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

Delete folder on extension update

I've created a script.php which contains the following function: protected function update400() { jimport('joomla.filesystem.folder'); jimport('joomla.filesystem.file'); JFolder::delete(...
1
vote
2answers
489 views

Modify layout of component options

I'd like to style the component options page of my custom-developed component. I can see in the Articles com_config options there are coloured buttons for radio buttons and a nicer page layout (e.g. ...
2
votes
1answer
187 views

Default menu assignment for a new module

While creating a new module, is it possible to change the default menu assignment from 'All pages' to 'no pages'? I haven't be able to find anything that would allow that switch in the global ...
2
votes
1answer
628 views

Fatal Error : Could not Access the Global Configuration part in Administration

I have Installed Joomla 3.3 on My site through FTP and have created database for the Site with the User.I successfully installed the site but I'm not able to access the Global Configuration part on ...
5
votes
4answers
4k views

How to disable frontend editing on a specific module?

The frontend icon on the language switch module is really annoying. How could I disable the frontend editing for a specific module? EDIT: I do need this icon for all the other modules, it just that ...
2
votes
1answer
102 views

What language string determines the 'group name' of menu items for a component?

I'm trying to change the text content of the 'menu item group' name in the Admin backend for my component: You an see in this image it's set to milocvs (the component I'm building is called ...
3
votes
1answer
786 views

Add association tab/field to front end editing page

I am trying to customize the front end features. I could easily add the alias field by adding this around line 106 of my override \templates\protostar\html\com_content\form\edit.php: <?php echo $...
2
votes
2answers
704 views

Are you sure you want to navigate away from this page? Browser popup to avoid accidental tab closure while editing

Is there a way to force my browser (Chrome) when I edit (JCE) an article on frontend to display a message preventing accidental tab closure or redirection? I often make that mistake on to close a ...
6
votes
1answer
209 views

Bootstrap Tour on Joomla

How would you go about putting one of these: http://bootstraptour.com/ on you Joomla 3 site? Should I make a module? Modify my template? How would you do it?
2
votes
2answers
574 views

Remove all <img> tag except the first one change image size - Tag component

Context: On the Tag page (the Tag page I am talking about is the page I get to when I click on a tag just below the title of an article), I want to display only one image per article so: if there is ...
5
votes
1answer
3k views

How to use data from another table in my view?

I'm struggling to learn Joomla 3.x and am baffled as to how to join my record to another table and use the joined data in my view/form. I'm familiar with components that use something similar to this: ...
2
votes
2answers
942 views

Where to include JLoader::register calls?

I'm developing a Joomla 3.X component and need to register a few classes using: JLoader::register('MyClass', '/path/to/MyClass.php'); What is the 'best practice' location for including these calls? ...
0
votes
2answers
260 views

Best strategy for updating component manifest using Ant or alternative

I'm developing a custom Joomla component for J3.X, and it's getting a bit tedious to keep on updating the com_mycomponent.xml file with a list of files and folders included in the component. I've ...
2
votes
1answer
9k views

Change Date Format in Article Editing page on Publishing tab

I would like to change the date format of the following fields Article Editing page on Publishing tab): Start Publishing Finish Publishing Created Date Modified Date The format is by default Y-m-d H:...
1
vote
1answer
272 views

Display the category notes on the page “article manager”

I use the category note field as a reminder for the "article template" I use for the articles in that category. An example of a category note: always add module 20 (using module anywhere) at the ...
1
vote
1answer
2k views

Set display All by default in backend for category/menu/module

Do you have any idea how I could set by default "display All" instead of "display 20"? I would need it for category manager, menu manager, and module manager?
4
votes
1answer
932 views

File password extra protection

We have a site which is used for files being uploaded and downloaded. For added security we want to have it on set files when you click the link to download it you'll be requested a password, this ...
7
votes
2answers
511 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
4k views

Displaying a Form Field Depending on Previous Question

I develop my own template for Joomla and i need to display more options if you set a value before. For example: after clicking on YES: It would be nice if in the joomla core a solution like this: &...
2
votes
1answer
3k views

Language condition with Php if… elseif

I would like to modify a core component of joomla by setting up a condition based on the language the website is displaying. My edit don't seems to work and I can't get what I am doing wrong. <?...
4
votes
1answer
102 views

Customizing the tags displayed under the article title

On my joomla 3.3.1 website I would like to add the word "Tags:" before the tags that are automatically display under the article title. In which file I am supposed to add this and where?
3
votes
2answers
153 views

View Users Front End - php code

I am using http://www.nonumber.nl/extensions/sourcerer in order to place some custom php code in an article to display all my registered users in the front end of my Joomla 3.3 site. I am new to this ...
4
votes
1answer
2k views

Nginx 502 in Administrator

I just transferred my Joomla installation to DigitalOcean and i'm running on nginx. Site seems to be running fine but when I login to the administrator portion and try to update something in the ...
-1
votes
2answers
149 views

What are the top reason to reconsider Joomla?

Joomla has changed significantly in recent years. What are those recent changes which can help in making one reconsider Joomla for his projects?
14
votes
9answers
6k views

How can a module be disabled based on device or viewport size in Joomla 3 to optimize performance for mobile devices?

I'm a proponent of Responsive Web Design in conjunction with Adaptive Web Design (i.e. - one design that adjusts display for all devices and provides content based on view port size) as opposed to ...
6
votes
3answers
365 views

One time form for Joomla Users?

I want to place a custom html/php form for my registered Joomla users but I want it to be submitted by the user only once, i mean if a user has submitted the form , the next time he'll open that form ...
2
votes
2answers
639 views

Joomla 1.7 to 3, users and k2 items

I need to update a site from Joomla 1.7.3 to J3.3. Am looking for best way to do this? Joomla manager>update does not find any updates. Online guides are quite vague on how exactly to manually update ...
0
votes
2answers
340 views

Joomla, Easyblog and format irregularities

I have a joomla 3 site using the Easyblog add-in. I often have code snippets in my blog and have found that "hilite.me" is my favourite html generator for code. However, when I insert this code into ...
1
vote
1answer
535 views

Dynamic Page Replacing Content joomla

This is the first question, sorry if it is inadequate. Before working with joomla I used to use the "Dynamic Page Replacing Content" script by CSSTRICKS, with a few modifications. A few months ago I ...
3
votes
1answer
980 views

Deadlock on the sessions table

Infrequently, instead of my site loading I get a white screen of death with this error message: Deadlock found when trying to get lock; try restarting transaction SQL=INSERT INTO jom_session (...
-2
votes
1answer
572 views

Allowing Registered Users To Edit Only Specific JDatabase records?

I have prepared a script which allows registered users to edit some records (which belong to them) in a table of JDatabase. Here's how? This is the first script which detects the logged in user and ...
3
votes
1answer
2k views

Load K2 article with ajax

I am using the category layout to feature articles on my front page with joomla 3.3. I am customizing this view so that the article links pull the articles into this page via ajax on click. This is ...
10
votes
2answers
2k views

How to render System Message from AJAX call

I would like to display a system message when I got back my ajax request. The ajax request returns the right message. I can test it with an alert. alert(result.message); Joomla.renderMessages(result....
2
votes
2answers
162 views

API for UnionAll in JDatabaseQuery

Can anyone point me to the documentation on how to use UnionAll in JDatabaseQuery? Thanks, Mike
1
vote
2answers
932 views

Is there a way to restore an Akeeba database backup through the admin?

I'm using Akeeba to backup my database (database only, I'm not backing up files). I haven't been able to find a way to restore only the database using the admin. Is there a way to do it?
2
votes
1answer
58 views

The URL loaded two times on every page

Joomla: 3.3.0 The problem occurs on every page. creact.com is loaded on every page and the real link too. The htaccess file is modified with these lines: ### START WILDCARD ################## ...
2
votes
1answer
144 views

How to support a new language to the front site of my component?

I'm developing a component and want to set up multiple language support at least for the front end at this stage. I may have missed something or not interpreted it correctly but in the Joomla ...
4
votes
3answers
5k views

How to get parent category title for Tag view

I want to get my current article's category and parent category link into my page. I get the category via the following code: $db = JFactory::getDbo(); $id = $item->core_catid; $db->setQuery("...
1
vote
2answers
75 views

Regex in Akeeba Backup exclude all hidden files

I am struggling to find a regex for Akeeba Backup (3.11.0), that will exclude specific hidden files that start with ._ (dot underscore) in all directories of the website. Have anyone ever done this? ...
10
votes
3answers
1k views

Prevent error message from showing SQL

In my table I have created an index on 'col1' to prevent duplicate entries which works well but the resulting error message displayed to a user when they attempt to add a duplicate entry seems to to ...
8
votes
3answers
4k views

What's the proper way of setting a persistent cookie in Joomla 3.x

I would like to set a "destination" cookie for all users on my site, to serve tailored content. The cookie needs to persist across login/logout so it appears I cannot use jSession, which is cleared on ...
3
votes
2answers
326 views

User registration error : Two different values for password in database?

I tried to register a new user from Joomla frontend, registration was successful plus activation via email was also successful, now when i try to login using the new credentials, i get a error " ...
2
votes
2answers
4k views

Calling model from view error: Fatal error: Call to undefined function

I am just starting with Joomla component development and MVC in general. Im also not incredibly strong in PHP but I am trying to build a component that gets json and displays it as a jQuery accordion ...
9
votes
2answers
2k views

Pagination of lists at backend – how to add custom list size?

How can I add custom value to Site Settings > Default List Limit in Joomla 3.X? I can see dropdown menu with values 5, 10, 15, 20, 25, 30, 50, 100 there. I would like to add item 500. Can be the ...
10
votes
1answer
363 views

Adding Tags Functionality To Existing Component

I'm looking to get tags working inside of an extension. I saw this and have gotten the field to appear in the edit view, but of course it doesn't save anywhere. Looking at com_content article tag ...
10
votes
2answers
4k views

Adding joomla's default toolbar in a component view page

I am developing a mvc component for both joomla 2.5 and 3.In many components i saw they added joomla's default command buttons like new, edit, publish, trash, options at top of their settings page in ...
2
votes
1answer
304 views

Display of contact information when searching by tags using smart search

I want smart search to go directly to page when the query have ONE result. I have a list of contacts, all assigned a number of area codes. What I've done so far is: - Enabled smart search - ...
2
votes
2answers
400 views

Is there a guide to updating a 2.5 extension to 3.x?

I've searched around a bit but didn't find a guide yet. Something with a checklist would be great.
7
votes
2answers
105 views

Options for backups, restoring, and staging?

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

Adding all form parameters in a custom item of the component

I prepared a component and i have to add different categories and custom items with lots of fields in my component.But What i want is to display all the joomla's fields for adding a new item in my new ...